Windows Authentication

Users are authenticated by Windows and IIS, Web Map Layers manages user and group access rights.

  1. In the web.config uncomment or add the following to the appSettings <add key="owin:appStartup" value="Windows" />
  2. Comment out all other entries that start with <add key="owin:
  3. Locate the following section:
    <authentication   mode="Windows">
    <forms loginUrl="Login.aspx" timeout="3000" />
    </authentication>

and replace it with:

<authentication mode="Windows">
<forms loginUrl="Login.aspx" protection="All" defaultUrl="Map.aspx" path="/" timeout="3000" />
</authentication>
<authorization>
<deny users="?" />
</authorization>

This will set Windows Authentication for the whole site (both map and admin page).

  1. Modify the <identityConfig/> section to include:
    <identityConfig
    ConnectionString="ConfigurationDatabase"
    AllowOnlyAlphanumericUserNames="false"
    RequireUniqueEmail="false" />
     
  2. In IIS authentication for the website, set Windows Authentication to Enabled. Disable all other authentication.


Send comments on this topic.