Re: How to protect my scripts ???

From: Date: Sat, 10 Mar 2001 23:35:26 +0000
Subject: Re: How to protect my scripts ???
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-43344@lists.php.net to get a copy of this message
Can't the files be put into a directory that Apache has access to and the users don't, and just ask the users to include them? Or put them into a global prepend in a directory same as above?
This isn't PERFECT, but I do this: #1 - make a user/group called "www" #2 - Set Apache to run as that user. #3 - chmod all web-directories to 700 permission (chown www:www -R *; chmod 700 -R *) - so that ONLY "www" can read/write them. #4 - log in as "www" user when you're uploading files to your webserver.

« previous php.general (#43344) next »