How to protect directory content from being viewed.

J

John

I have several subdirectories with .phps, pictures, etc that I'd like to
prevent users from getting a listing of.

I've been to sights that produce a "Directory Listing Denied" error when I
enter the URL and subdirectory. What permission levels must I set my
directory to for the same error message to be displayed?

John
 
K

Kevin Spencer

You can set that permission through IIS. You could also take the easy way
out and put in a web page with the same name as your home page, which is the
default home page file name for that web site.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Neither a follower
nor a lender be.
 
J

John

Sorry, what's IIS? :)

The reason I need to know what permission level to set my sub-directories is
because the shopping cart I purchased installed those directories and I'm
trying to keep that sensitive information private.

Thanks.
 
T

Tom Pepper Willett

Your host must disallow directory browsing on the server. You'll need to
contact them.
--
===
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 have several subdirectories with .phps, pictures, etc that I'd like to
| prevent users from getting a listing of.
|
| I've been to sights that produce a "Directory Listing Denied" error when I
| enter the URL and subdirectory. What permission levels must I set my
| directory to for the same error message to be displayed?
|
| John
|
|
 
J

John

Thanks Tom,

I figured out how my hosting site allowed me to trun off directory browsing.
It works & I'm much more comfortble now.

John
 
K

Kevin Spencer

IIS (Internet Information Services) is the Microsoft web server product. Of
course, you might be hosted on a non-Microsoft server. Sorry if that's the
case.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Neither a follower
nor a lender be.
 
Top