Page 1 of 1

Encrypt folder in htdocs

PostPosted: 14. November 2007 07:00
by Smedts
Hi,

is it possible to encrypt a folder in htdocs to provide people, with fisical access to the server, to access the PHP-code? Off course should Xammp to be able to show the website and run the code itself.

Many thanks in advance.

PostPosted: 27. November 2007 21:16
by Philc
I dont know about file system/directory encryption (depends on your file system), but have you tried adding the users and the xampp user into teh same group, and only allowing that group to access the directory?

PostPosted: 28. November 2007 13:05
by Scory
Simply store the code outside of DocumentRoot, so nobody can access it from outside, but from inside you can access all files via include('/path/scriptname.php').

Regards
Scory