Exchange Hosting and Web Hosting
Search:
Lookup Article by ID:
Web Hosting > Windows 2008/IIS7 > Web Server Settings
 
Q:

How do I restrict access to my Windows 2008/IIS7 site?

A:

1. If you need to restrict access for the certain directories on your Web site and allow some site users to view\edit them.

  • Create a new user (or several users) that will have access to the resticted area on the site from "Users" section of your HostPilot

Note: In case you have an Exchange account as long as Windows 2008\IIS7 Web hosting account, the login E-mail address that you specify for your new FTP user should be different from any mailbox address created on the Exchange account.

  • If user(s) need to upload files into the resticted area, you can enable FTP access on the "Web\FTP server" tab of the "Users" page clicking on the desired username. You should specify the folder you are restricting access to as the Home Directory.

  • Open "Access Permissions" page and Select the folder that you need to restrict access for (all the sub-folders of the selected folder will get the same access restrictions because of the permissions propagation)
  • Set Anonymous user access to Deny

  • Make sure the prevously created user(s) have Read (or both Read\Write) permissions in Allow state
  • Press "Save Changes" button to update the permissions for the folder.

2. If you need to restrict access for the certain directories on your Web site and allow all site users to view\edit them.

However it is possible to allow all users access the same restricted folder using the first option described, you can achieve the same results by modifying access permissions for the 'AllUsers' group.

  • Create a new user (or several users) that will have access to the resticted area on the site from "Users" section of your HostPilot

Note: In case you have an Exchange account as long as Windows 2008\IIS7 Web hosting account, the login E-mail address that you specify for your new FTP user should be different from any mailbox address created on the Exchange account.

  • If user(s) need to upload files into the resticted area, you can enable FTP access on the "Web\FTP server" tab of the "Users" page clicking on the desired username. You should specify the folder you are restricting access to as the Home Directory.

  • Open "Access Permissions" page and Select the folder that you need to restrict access for (all the sub-folders of the selected folder will get the same access restrictions because of the permissions propagation)
  • Set Anonymous user access to Deny
  • Press "Switch to Group permissions" button

  • Set Read (or both Read\Write) access to Allow for AllUsers group
  • Press "Save Changes" button to update the access permissions

Now all the users created on the account will automatically gain access for the restricted area specified.

 
If you did not find this article helpful let us know how we can improve the content
 
Article ID: 1793
Keywords: restrict access IIS7 2008 folder directory password protect
Product: Shared Web, PLR
Last Modified: 11/17/2009 6:02:29 AM
Direct Path: http://hosting.intermedia.net/support/kb/viewKBArticle.asp?id=1793
 

 

Microsoft Exchange 2007 Hosting | Hosted Exchange Server
Microsoft Exchange Server Outsourcing | Private Label Exchange Hosting
Windows 2008 Hosting | ASP.NET Hosting | Web Hosting | MS SQL Server 2008 Hosting

Copyright © Intermedia, Inc. 1995 - 2009. All Rights Reserved.

Users of this site agree to be bound by the Intermedia Service Agreement,
Service Level Agreement, and Acceptable Use Policies.
Legal | AUP | Privacy Statement