Samples how to configure an authentication in an IIS web.config file.
Logout time
The logout time are based on the timeout attribute on the forms tab (to test this you have to logout and login after changing the value).
Example of setting logout after one minute
<forms name=".EPiServerLogin" loginUrl="Util/login.aspx" timeout="1" />
Use a separate database for users and roles
How to change database connections to a common database
Create database tables on the UGC database, for more information see
Creating the Application Services Database for SQL ServerSet a connection string pointing at this database in
ConnectionString.config
<connectionStrings>
<add name="AuthourDB" connectionString="..." providerName="System.Data.SqlClient" />
Change the providers to point to that database
Web.config
<system.web>
<roleManager...
<providers>
...
<add name="SqlServerRoleProvider" connectionStringName="AuthourDB" ...
...
<membership...
<providers>
...
<add name="SqlServerMembershipProvider" connectionStringName="AuthourDB" ...