Re: avoid server folder reading
| From: | Richard Lynch | Date: | Sat, 19 Jan 2008 18:41:37 +0000 |
| Subject: | Re: avoid server folder reading | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-267660@lists.php.net to get a copy of this message | ||
On Sat, January 19, 2008 11:57 am, Alain Roger wrote:
> I would like to know how to avoid (using PHP code) any user to read
> the
> content of my website folder ?
> as my website is hosted by and external company, i do not have access
> to
> apache conf file.
You're not making a lot of sense, really...
I you don't want ANY users to see ANYTHING that's in your folder,
don't have a website. :-)
The whole point of a website IS to show the world a bunch of stuff in
that folder.
So what you really must mean is (probably) one of these:
hide the contents of some sub-folder
hide some of things in that folder, but not others
hide the included files
hide specific content
hide content from non-registered users
Pick one and we can answer that, or you can Google for it.
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/from/lynch
Yeah, I get a buck. So?