Do you mean you can get a listing of the directory via the web browser
and this is what you want to stop? If so you have to tell apache not to
allow the directory to be listed. I can't remember how to do it, at the
moment, but I will have a look. It is someplace in
/etc/httpd/conf/http.conf

PB

On Tue, 2003-07-15 at 17:03, Anton Piatek wrote:
> 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
> 


________________________________________________________________________

E-mail is an informal method of communication and may be subject to data corruption, 
interception and unauthorised amendment for which Digital Bridges Ltd will accept no 
liability. Therefore, it will normally be inappropriate to rely on information 
contained on e-mail without obtaining written confirmation.

This e-mail may contain confidential and/or privileged information. If you are not the 
intended recipient (or have received this e-mail in error) please notify the sender 
immediately and destroy this e-mail. Any unauthorized copying, disclosure or 
distribution of the material in this e-mail is strictly forbidden.

________________________________________________________________________


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to