W dniu 08.04.2013 o 19:28 Don Veino <[email protected]> pisze:

Thanks for your reply. How would I do this without disabling the file reads I'll be depending upon for my use with PHP? As you point out this is probably overkill but I'd like to understand the idea.
First of all it should be possible to change PHP settings to access files outside www root, however it might be complicated.
Maybe the process which runs php can't access the /mnt/1wire because it does not have the permission. Try changing /mnt/1wire to be readable to all users. There is also an option 'allow_other'  

But if the server you are running is apache you could easly put a appropriate .htasscess file in the directory and make it invisible to the outside world thorough www sever.
It should be something like this.
http://www.kavoir.com/2009/01/htaccess-deny-from-all-restrict-directory-access.html


--
p4trykx
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to