Windows 2008 with IIS 7 - Setting IIS read to off

In IIS6, if you right click on a sub-directory, go to properties and uncheck "read" under the directory tab, that folder would only be localy accessable.  Where is that setting in IIS 7?
LVL 6
Shaun RiemanPresident / CEOAsked:
Who is Participating?
 
Brad HoweDevOps ManagerCommented:
Hi,

Accessflags are not labelled as accessflags in IIS7. It’s name is now accessPolicy and it lives in the handlers configuration section. You can see the handlers section in %windir%\system32\inetsrv\config\applicationhost.config or via the IIS Manager SERVERNAME\Sites\WebSiteName\HandlerMappings.

In this location you will have the READ,WRITE, EXECUTE Feature permission.

I don't this is what you are talking about so I will also provide instructions to deny all access except for localhost. Now if you want to restrict ALL ACCESS and only have local, i would suggest you go about it this way.

1. Open IIS Manager
2. Click on the Virtual Directory in question
3. From the Service pane, select "IPv4 address & Domain restriction"
4. Click on EDIT Feature Settings.
5. Select "Access for unspecified Clients" to DENY.
6. Add an Allow entry for 127.0.0.1

Cheers,
Hades666
0
 
Shaun RiemanPresident / CEOAuthor Commented:
Fantastic.  Can I just edit the feature setting without adding an allow to local?

In other words, I don't need to access it local from IIS since i already have permissions set, right?
0
 
Brad HoweDevOps ManagerCommented:
It will not be browsable IF you set the default to DENY. It will even be denied locally.

You will need to add 127.0.0.1 to see it via http://localhost/directory or http://serverip/direcetory.

Hades666
0
 
Shaun RiemanPresident / CEOAuthor Commented:
I set the default to deny and did not add a local allow.  This folder contains an access database that needs to be accessed by the IUSR local account...  not though iis.

I really appreciate your help with this.  Peer1 teer 2 tech support couldn't even tell me.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.