programming4us
           
 
 
Windows

Windows 7 : Controlling and Customizing Your Website (part 4) - Disabling Anonymous Access

- Windows 10 Product Activation Keys Free 2019
- How to active Windows 8 without product key
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
3/23/2011 9:33:35 AM

Disabling Anonymous Access

I showed you how to give yourself Full Control permission on the wwwroot folder to make it easier (and in some cases possible) to add and edit content in that folder. When you access your website on the IIS computer using the http://localhost/, http://127.0.0.1/, or http://Computer/ addresses (where Computer is the name of the IIS computer), you access the site using your own user account. Everyone else on your network, and anyone who surfs to your site from the Internet (including you if you navigate to the site using http://IPAddress/, where IPAddress is your router’s external IP address) accesses the site as an anonymous user. This means that IIS gives the person read-only access to the site without requiring a username and password, a technique called anonymous authentication.

However, you may have content that you want to restrict to people who have user accounts on Windows 7. In that case, you need to disable anonymous access for the website and switch to basic authentication, which means IIS prompts each user for a username and password before allowing access to the site.

Follow these steps to disable anonymous access:

1.
Open IIS Manager.

2.
Open the Computer, Sites branch (where Computer is the name of the computer running IIS).

3.
If you want to disable anonymous authentication on the entire site, select Default Web Site; if you want to disable anonymous authentication only on a specific folder within the site, open the Default Web Site branch and select the folder.

4.
Click Features View.

5.
Double-click the Authentication icon to display the Authentication page.

6.
Select Anonymous Authentication.

7.
In the Actions pane, click the Disable link.

8.
Select Basic Authentication.

9.
In the Actions pane, click the Enable link. The Authentication page should now appear as shown in Figure 6.

Figure 6. To secure your website or a folder within the website, disable anonymous authentication and enable basic authentication.

10.
Click the Back button to return to the website’s main page in IIS Manager.

When an anonymous user attempts to access your website or website folder, he sees a Connect dialog box similar to the one shown in Figure 7. The user must enter a username and password for an account that exists on the Windows 7 machine that’s running IIS.

Figure 7. With basic authentication enabled, users must enter a valid Windows 7 username and password to access the website or folder.


Tip

Switching to basic authentication means that any user with a valid account on Windows 7 can access the website. What if there are one or more users with Windows 7 accounts that you do not want to view the website? In that case, you must adjust the security of the website’s home folder directly. Use Windows Explorer to display the website’s home folder, right-click the folder, and then click Properties. In the Security tab, click Edit, click Add, type the name of the user, and then click OK. Select the user, and then activate the Full Control check box in the Deny column. This tells Windows 7 not to allow that user to view the folder, thus barring the user from viewing the website.

Other -----------------
- Windows 7 : Adding Folders and Files to the Default Website (part 3) - Adding a Folder to the Default Website
- Windows 7 : Adding Folders and Files to the Default Website (part 2) - Changing the Default Website Home Page
- Windows 7 : Adding Folders and Files to the Default Website (part 1) - Setting Permissions on the Default Website Folder
- Turning Windows 7 into a Web Server : Understanding the Default Website
- Turning Windows 7 into a Web Server : Accessing Your Website
- Windows 7 : Installing Internet Information Services
- Windows 7 : Using Virtual Private Network Connections
- Windows 7 : Using Dynamic DNS to Access Your Network & Configuring a Network Computer for Remote Administration
- Windows 7 : Connecting to a Remote Desktop via the Internet
- Windows 7 : Connecting to the Remote Desktop (part 2) - Making an Advanced Connection
- Windows 7 : Connecting to the Remote Desktop (part 1) - Making a Basic Connection
- Windows 7 : Setting Up the Remote Computer as a Host (part 2) - Configuring XP to Act as a Remote Desktop Host
- Windows 7 : Setting Up the Remote Computer as a Host (part 1) - Configuring Windows 7 or Vista to Act as a Remote Desktop Host
- Windows 7 : Working with Network Files Offline (part 6) - Dealing with Synchronization Conflicts
- Windows 7 : Working with Network Files Offline (part 5) - Synchronizing Your Offline Files
- Windows 7 : Working with Network Files Offline (part 4) - Working with Network Files While You’re Offline
- SOA with .NET and Windows Azure : WCF Discovery (part 3) - Discovery Proxies for Managed Discovery & Implicit Service Discovery
- SOA with .NET and Windows Azure : WCF Discovery (part 2) - Locating a Service Ad Hoc & Sending and Receiving Service Announcements
- SOA with .NET and Windows Azure : WCF Discovery (part 1) - Discovery Modes
- Windows 7 : Working with Network Files Offline (part 3) - Prohibiting a Network Folder from Being Made Available Offline & Encrypting Offline Files
 
 
 
Top 10
 
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
- First look: Apple Watch

- 3 Tips for Maintaining Your Cell Phone Battery (part 1)

- 3 Tips for Maintaining Your Cell Phone Battery (part 2)
programming4us programming4us
Video Tutorail Microsoft Access Microsoft Excel Microsoft OneNote Microsoft PowerPoint Microsoft Project Microsoft Visio Microsoft Word Active Directory Biztalk Exchange Server Microsoft LynC Server Microsoft Dynamic Sharepoint Sql Server Windows Server 2008 Windows Server 2012 Windows 7 Windows 8 Adobe Indesign Adobe Flash Professional Dreamweaver Adobe Illustrator Adobe After Effects Adobe Photoshop Adobe Fireworks Adobe Flash Catalyst Corel Painter X CorelDRAW X5 CorelDraw 10 QuarkXPress 8 windows Phone 7 windows Phone 8 BlackBerry Android Ipad Iphone iOS