
May 5th, 2001, 06:18 PM
|
|
Member
|
|
Join Date: May 2001
Location: St. Louis, Missouri
Posts: 10
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Here's how i've resolved this issue.
I've put all the scripts that I want to be private in a non-web-accessable directory that has me set as the owner, and the web server user (usually "nobody") set as the group. Now, my web server has access to these files, but you can't get to them via the web. Your script can require("/path/to/script.php"); the files, and the users can never see the contents.
|