Skip to content

Basic authentication

Simonas Mikulenas edited this page May 10, 2013 · 3 revisions

To setup Basic authentication for Better CMS - follow these steps:

Update Web.config:

<system.web>
  <authentication mode="Windows"/>
  <identity impersonate="true"/>
</system.web>

Update Config\cms.config file to grant access to CMS for specific windows user roles. The example below grants full access to users of Administrators group and allows edit content to users that are in Power Users group:

<security fullAccessRoles="Administrators">
    <customRoles>
      <add permission="BcmsEditContent" roles="Power Users" />
    </customRoles>
</security>

Configure website on IIS:

  • Disable Anonymous Authentication
  • Enable ASP.NET Impersonation
  • Enable Basic Authentication

More information here

Clone this wiki locally