Solved

Folder Permissions in Win 2008 for IIS 7.5 to Show Web Pages

Posted on 2013-05-13
2
594 Views
Last Modified: 2013-05-13
I have a web server running Windows 2008 and IIS 7.5

I have 3 developers, Tom, Dick & Harry, each with their own folder, and each with multiple websites underneath:

e:\tom\site1\
e:\tom\site2\

e:\dick\site3\
e:\dick\site4\

e:\harry\site5\
e:\harry\site6\

This is an Active Directory environment.

What I want to do is this...

Only Tom can access the e:\tom folder
Only Dick can access the e:\dick folder
Only Harry can access the e:\harry folder

I've done this by removing the general "Domain Users" from these 3 folders and that works fine.  Via Remote Desktop, they can all see the E: drive but can't get into each others folders.  That's good.

However, now when I try to access the sites via a web browser, I'm getting 500 internal errors.  I'm thinking it is security related, since that is the only thing I changed.

What "Object Type" / User do I need to add back in so these directories can be "surfed" ?

Keep in mind, I don't want the developers (outside contractors) to be able to access each other's folders & get source code.

I remember in older Windows / IIS there was IUSR_ and IWAM_ but I don't see those anymore...

Thanks
0
Comment
Question by:drgdrg
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 10

Accepted Solution

by:
CSIPComputing earned 500 total points
ID: 39162218
Is it practical to do this the other way round and put a DENY on the folders.

e.g. C:\Tom - DENY Dick and Harry etc.

This should allow the sites to be viewed by everyone else.

Alternatively, create a "user" account for your web sites (i.e. recreate the IUSR account)
Give that account read-only access to the folders
Create a custom application pool , and set the identity that the application pool runs as the IUSR account you just created.~
Make the relevant web sites run as the new application pool, and you should be back in business. (you may need to restart the websites or application pool).

Hope that helps!
0
 
LVL 1

Author Closing Comment

by:drgdrg
ID: 39162227
Thanks.  Adding the IUSR back in did it.  The problem was what, because I was in active directory, it kept offering user accounts from AD only.  When I told it to look in the local machine, IUSR was there... I chose that and voila.

Thanks
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question