easy. set the dir to be owned by group "httpd", make sure that the group can read the files.
chgrp httpd files chmod 750 files So long as apache/httpd is run as userid "httpd" it can read the files, other users cant! Anton On Tuesday 15 Jul 2003 4:55 pm, Scott Antonivich wrote: > Hello All, > > I am using RH 9.0 and I want to keep users other than myself from seeing > php files in a directory...BUT I want these php files to be able to be > executed from the web. > > Basically, I want to know....how I can keep my php code safe from users who > may be in the server. I want the scripts to work on the web, but I dont > want users in the server to be able to see (possible steal) the code. > > Thanks > > Scott -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list