Forms authentication
If you are running a standalone ImageVault you will automatically have forms authentication enabled. If you need windows authentication you can activate this in the IIS Manager.
Configuration
We encourage you to omit the authentication element from web.config or use the mode="None" attribute value since we use the owin framework for handling the configuration settings. You can add a forms element if you need to specify cookie name or other values.
For more information, see the forms element documentation on msdn
Membership provider
To be able to lookup users you need to specify a membership provider that contains your users. The example below will use a DefaultMembershipProvider.
<membership defaultProvider="DefaultMembershipProvider">
<providers>
<clear />
<add name="DefaultMembershipProvider" connectionStringName="Database" applicationName="/"
type="System.Web.Providers.DefaultMembershipProvider, System.Web.Providers"
requiresQuestionAndAnswer="false" requiresUniqueEmail="true" passwordFormat="Hashed"
maxInvalidPasswordAttempts="5" minRequiredPasswordLength="7" minRequiredNonalphanumericCharacters="0"
passwordAttemptWindow="10" passwordStrengthRegularExpression="" />
</providers>
</membership>
For more information, see the membership element documentation on msdn
Role provider
The role provider is optional but recommended if you want to assign rights by roles in ImageVault. The example below will use a DefaultRoleProvider.
<roleManager defaultProvider="DefaultRoleProvider">
<providers>
<clear />
<add name="DefaultRoleProvider" connectionStringName="Database" applicationName="/"
type="System.Web.Providers.DefaultRoleProvider, System.Web.Providers" />
</providers>
</roleManager>