Home Messages Index
[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index

Re: how to prevent dir "indexing" viewable?

  • Subject: Re: how to prevent dir "indexing" viewable?
  • From: Roy Schestowitz <newsgroups@xxxxxxxxxxxxxxx>
  • Date: Mon, 29 Aug 2005 04:07:41 +0100
  • Newsgroups: alt.html
  • Organization: schestowitz.com / Manchester University
  • References: <eLuQe.158725$wr.25900@clgrps12>
  • Reply-to: newsgroups@xxxxxxxxxxxxxxx
  • User-agent: KNode/0.7.2
__/ On Monday 29 August 2005 03:51, [Noreen] wrote : \__

> Hello,
> I notice that on certain web servers (cpanel)

*NIX servers. cPanel is merely a front-end which simplifies management at

> if anyone calls to a
> directory on your website, the browser will create a directory listing of
> all files in the folder - a bit of a security loophole.

No. It's exactly what is intended to happen. If you wish for this behaviour
to be stopped (e.g. you run a respectable business and have hidden pages),

In cPanel 10 (maybe earlier too), find Index Manager down the bottom of the
table; click item to deny listing; click directory icon to go a level

> Is there any way to reconfig this aside from placing a dummy index file in
> every folder on your site?  (I believe these are mostly apache running
> cpanel).

I actually use dummy files too because it allows me to control how they
appear (or /behave/). I can self-tailor messages to suit different
directories. I also use visual (i.e. more informative) re-directions
sometimes, e.g.

<link rel="stylesheet" href="/roy.css" type="text/css">
<META HTTP-EQUIV="Refresh" CONTENT="1;URL=/proj.htm">
You should shortly be redirected to the <B>Projects section</B>
<P>If this does not happen, <a href="/proj.htm">click here</a></P>

> thanks for any tips or comments.
> noreen w

Hope it helps,


Roy S. Schestowitz        "Mod me up and I'll cherish you"

[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index