Frontpage file directories can be viewed by anyone

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I was concerned to find that a complete list of files is displayed when I type into my IE browser my website name and the folder name that contains all of my photos, e.g.

type "mywebsite.com/photos" returns a page that shows "index of" and then lists every image on the website.

I know there must be some way to prevent this information being available but can't figure out how to do it in Frontpage 2000 - can anyone help?
 
Your host has directory browsing turn on
If they won't turn if off for you,
- create an empty home page file (same file name as your home page) in all your folders w/ following html content (where
.../index.html is the path/filename to your home page)

<html><head><title>NO CONTENT</title></head>
<body>
<script language="JavaScript">window.location="../index.html";</script>
<noscript>
<h1 align="center">NO CONTENT HERE</h1>
<h2 align="center"><a href="../index.html">SELECT HERE TO LEAVE</a></h2>
</noscript></body></html>




| I was concerned to find that a complete list of files is displayed when I type into my IE browser my website name and the folder
name that contains all of my photos, e.g.
|
| type "mywebsite.com/photos" returns a page that shows "index of" and then lists every image on the website.
|
| I know there must be some way to prevent this information being available but can't figure out how to do it in Frontpage 2000 -
can anyone help?
|
 
Hi,

Thanks for this Stefan - the creation of a empty home page looks like the ideal answer as I have trouble getting my web host to do anything!

Cheers!
 
Two ways:
1 Disable directory browsing on the photos folder (you may have to ask
your host). Users will get a 403(forbidden) error page.
2 Place a default page (same name as your home page) in the folder. Users
get whatever message is on the page.
--
Ron
Reply only to group - emails will be deleted unread.

slipspeed said:
I was concerned to find that a complete list of files is displayed when I
type into my IE browser my website name and the folder name that contains
all of my photos, e.g.
type "mywebsite.com/photos" returns a page that shows "index of" and then
lists every image on the website.
I know there must be some way to prevent this information being available
but can't figure out how to do it in Frontpage 2000 - can anyone help?
 
you need a file called 'index.htm' in that folder so that it is displayed if
someone enters with 'www.mywebsite.com/photos/ - that is the default action (to
display the listing of files) if there is no index.htm page.

Not a Frontpage 2000 problem ; it is just the nature of the internet.

slipspeed said:
I was concerned to find that a complete list of files is displayed when I type
into my IE browser my website name and the folder name that contains all of my
photos, e.g.
type "mywebsite.com/photos" returns a page that shows "index of" and then lists every image on the website.

I know there must be some way to prevent this information being available but
can't figure out how to do it in Frontpage 2000 - can anyone help?
 
Take advantage of that space! Don't just put an empy page there. Make it a
gateway page with useful info and a link back to your main page.

Greg

slipspeed said:
Hi,

Thanks for this Stefan - the creation of a empty home page looks like the
ideal answer as I have trouble getting my web host to do anything!
 
Thanks everyone for the advice. It's worked just fine and I've got a nice link back to the home page as well!
 
Back
Top