Skip to content

Basic authentication (v1.x)

Simonas Mikulenas edited this page Dec 3, 2015 · 1 revision

To setup Basic Authentication for Better CMS, follow these steps:

Update Web.config:

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

Update the Config\cms.config file to grant access to the CMS for specific Windows user roles. The example below grants full access to users within the Administrators group and allows Power Users to edit content:

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

To enable a basic authentication, the same changes need be done in the IIS side:

  • Disable Anonymous Authentication for web site
  • Enable ASP.NET Impersonation for web site
  • Enable Basic Authentication for web site

More information here

Clone this wiki locally
You can’t perform that action at this time.