How do I make a folder inaccessible?

B

bmuse21

FP 2003, WinXP

I'd like to make my 'images' folder and a 'music' folder inaccessible, so
that a user can't add "/images" or "/music" to my URL and get to the files.

(But the files in these folders will be linked to from pages in my site.)

How do I make specific folders inaccessible to websurfers?

Thanks very much for any assistance!
 
T

Tom Pepper Willett

Put a default page in each folder, such as index.htm or default.htm,
whichever is required by the host.

Also, your host can disable directory listing on the server.
--
===
Tom "Pepper" Willett
Microsoft MVP - FrontPage
---
About FrontPage 2003:
http://office.microsoft.com/home/office.aspx?assetid=FX01085802
FrontPage 2003 Product Information:
http://www.microsoft.com/office/frontpage/prodinfo/default.mspx
Understanding FrontPage:
http://msdn.microsoft.com/office/understanding/frontpage/
===
| FP 2003, WinXP
|
| I'd like to make my 'images' folder and a 'music' folder inaccessible, so
| that a user can't add "/images" or "/music" to my URL and get to the
files.
|
| (But the files in these folders will be linked to from pages in my site.)
|
| How do I make specific folders inaccessible to websurfers?
|
| Thanks very much for any assistance!
 
T

Thomas A. Rowe

You can't, unless you want everyone to enter a password in order see the images or play the music on
your pages.
--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
T

Tom Pepper Willett

Should be can disable "directory browsing"

Tom
| Put a default page in each folder, such as index.htm or default.htm,
| whichever is required by the host.
|
| Also, your host can disable directory listing on the server.
| --
| ===
| Tom "Pepper" Willett
| Microsoft MVP - FrontPage
| ---
| About FrontPage 2003:
| http://office.microsoft.com/home/office.aspx?assetid=FX01085802
| FrontPage 2003 Product Information:
| http://www.microsoft.com/office/frontpage/prodinfo/default.mspx
| Understanding FrontPage:
| http://msdn.microsoft.com/office/understanding/frontpage/
| ===
| || FP 2003, WinXP
||
|| I'd like to make my 'images' folder and a 'music' folder inaccessible, so
|| that a user can't add "/images" or "/music" to my URL and get to the
| files.
||
|| (But the files in these folders will be linked to from pages in my site.)
||
|| How do I make specific folders inaccessible to websurfers?
||
|| Thanks very much for any assistance!
|
|
 
B

bmuse21

I've experimented by going to websites of different photographers &
businesses. On some sites, if their images are stored in
"www.url.com/images", I can type that into the browser and get a directory
listing of the contents, and from there get to each image file.

But on some sites, I get a browser error page saying that I don't have
permission to access the directory on this server.

For my particular use, I'm embedding several MP3 files (original
compositions) which are played with an embedded Flash player. The actual MP3
files are not linked from the page. I would like to prevent users from going
to "www.myurl.com/music" and being able to download the files.
 
T

Tom Pepper Willett

See my replies in this thread.
--
===
Tom "Pepper" Willett
Microsoft MVP - FrontPage
---
About FrontPage 2003:
http://office.microsoft.com/home/office.aspx?assetid=FX01085802
FrontPage 2003 Product Information:
http://www.microsoft.com/office/frontpage/prodinfo/default.mspx
Understanding FrontPage:
http://msdn.microsoft.com/office/understanding/frontpage/
===
| I've experimented by going to websites of different photographers &
| businesses. On some sites, if their images are stored in
| "www.url.com/images", I can type that into the browser and get a directory
| listing of the contents, and from there get to each image file.
|
| But on some sites, I get a browser error page saying that I don't have
| permission to access the directory on this server.
|
| For my particular use, I'm embedding several MP3 files (original
| compositions) which are played with an embedded Flash player. The actual
MP3
| files are not linked from the page. I would like to prevent users from
going
| to "www.myurl.com/music" and being able to download the files.
 
T

Thomas A. Rowe

See inline

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================


bmuse21 said:
I've experimented by going to websites of different photographers &
businesses. On some sites, if their images are stored in
"www.url.com/images", I can type that into the browser and get a directory
listing of the contents, and from there get to each image file.

But on some sites, I get a browser error page saying that I don't have
permission to access the directory on this server.

However if you know the filename, you can get the file, as you already know the path or just do a
view source. Also a user can just look in their browser's cach folder for the images or music files,
since they have to be downloaded to play.
For my particular use, I'm embedding several MP3 files (original
compositions) which are played with an embedded Flash player. The actual MP3
files are not linked from the page. I would like to prevent users from going
to "www.myurl.com/music" and being able to download the files.

If the path in shown in View Source from the browser, then user has the path to the file.
 
Top