Skip to content

Basic authentication

brad-wechter edited this page Sep 24, 2014 · 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 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