help.axcms.netAxinom Logo
Save Save Chapter Send Feedback

Activating Live-Authentication

This article describes how to activate Live-Authentication and how to use it.

Configuration

The first step is to add the Live-Authentication-Module to your Live-Web.config:

<httpModules>
    <add
        type="AxCMS.AxCMSweb.AuthenticationModule, AxCMSwebLive"
        name="AuthenticationModule"
    />
</httpModules>



The next step is to add the following lines to your Live-Web.config:

<authentication mode="Forms">
       <forms
        name=".YourSpecialLiveID"
        protection="All"
        timeout="60"
    />
</authentication>

   
<authorization>
       <allow users="*" />
</authorization>   


The following appSettings can be modified to change the location of the Live-Login-Page and the Access-Denied-Page:

<add key="SitePermission_LoginPage" value="LiveLogin.aspx"/>
<add key="SitePermission_NoAccessPage" value="NoAccess.aspx"/>


Usage

There is a Category in under Categories called Geschützt/Protected. Every page assigned to this Category is proteced when it is accessed in the live system.


Every Member which is assigned to this Category is allowed to view this page in the live system after logging in.