Encrypt folder in htdocs

Problems with the Linux version of XAMPP, questions, comments, and anything related.

Encrypt folder in htdocs

Postby Smedts » 14. November 2007 07:00

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.
Kind Regards,

Paul Smedts
--
S-Inside Design & Development
http://www.s-inside.com
Smedts
 
Posts: 1
Joined: 14. November 2007 06:49

Postby Philc » 27. November 2007 21:16

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?
Philc
 
Posts: 6
Joined: 27. November 2007 20:49

Postby Scory » 28. November 2007 13:05

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
Scory
 


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 41 guests