Login

How to set up automatic logon with windows authentication

Versions: 4.10, FAQ number: 154, Old FAQ number: 6425

The following steps describes how to set up automatic logon to EPiServer using windows authentication and windows integrated security.

  1. Set up Anonymous + Windows Integrated Authentication in IIS.
  2. Set that the pages are not considered public by the asp.net environment
    This can be done with the following syntax in the web.config file:
    <authentication mode="Windows" />
    <authorization>
      <deny users="?" />
    </authorization>

    This ensures that only authenticated users will have access to the site.
  3. Make sure the web site is considered to be in the local intranet zone in the clients browser settings. Some urls are automaticly considered local intranet, for instance http://intranet. Otherwise you have to add the web site url to the local intranet list in the browser settings.
EPiTrace logger