Did you know: Enable File Level Authentication in IIS 7 / 7.5

by Vivek 12/3/2009 9:22:00 PM

With Windows Server 2008 and Windows Server 2008 R2, we have a new Web Server with a completely different UI. It’s sometimes difficult to get your things done the way you used to do with the age old IIS 5 and IIS 6 UI. Here I am going to post some “Did you know” series, which will show you how you did a configuration settings in IIS 6 and how you can do the same in IIS 7 and IIS 7.5.

In IIS 6.0,

To enable, File Level Authentication in IIS 6.0.

  • Go to the Web Site (Default Web Site in our case)
  • Right click on the file e.g. iisstart.htm -> Properties
  • Click File Security
  • Click Edit… under Authentication and access control

    Image01

In IIS 7 / 7.5

To enable, File Level Authentication in IIS 7 / 7.5

  • Go the Web Site (Default Web Site in our case)
  • Click Content View
  • Right click on the file e.g. iisstart.htm -> Switch to Features View
  • Double click Authentication
  • Now, select the Authentication Type you want to configure

    Image02

NOTE: you can also make similar changes in the applicationHost.config, e.g.

<location path="Default Web Site/iisstart.htm">
    <system.webServer>
        <security>
            <authentication>
                <anonymousAuthentication enabled="true" />
                <basicAuthentication enabled="false" />
                <windowsAuthentication enabled="false" />
            </authentication>
        </security>
    </system.webServer>
</location>

Hope this helps,
Vivek Kumbhar

Quote of the day:
Everyone has a right to a university degree in America, even if it's in Hamburger Technology. - Clive James


blog comments powered by Disqus

Rahul Soni

Rahul Soni  Twitter

 LinkedIn

 Facebook

 Email me



Vivek Kumbhar

Vivek Kumbhar  Twitter

 LinkedIn

 Facebook

 Email me


Stack Exchange

profile for Vivek at Server Fault, Q&A for system administrators and IT professionals

profile for Rahul Soni at Stack Overflow, Q&A for professional and enthusiast programmers

Calendar

<<  May 2013  >>
MoTuWeThFrSaSu
293012345
6789101112
13141516171819
20212223242526
272829303112
3456789

View posts in large calendar

All Items
Sign in

Visit Microsoft's Site

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.
© Copyright 2013, Rahul Soni

Powered by BlogEngine.NET 1.4.5.0