Configuring User Access / Authentication

Each user accessing powerKNOW has to be registered in the database (table 'Users'). To authenticate the user the administrator can choose between the following methods:
MethodDescription
Forms authentication The user is asked to enter username and password. Username and password must match with username and password stored in the database.
To configure this authentication method:
  • Configure web.config for forms authentication: eg:
    <authentication mode="Forms">
       <forms loginUrl="Logon.aspx" name=".PKNOWAUTH" />
    </authentication>
    See "Editing web.config" for details on how to do the changes.

  • configure site configuration file for "don't use cookie"
    ConfigKey "UseCookieInFormsAuth" = false

    These changes can be done from the Config Dialog
Forms authentication with persistent cookie Same as 'forms authentication' but a persistent cookie is used to store the login information. A user logging into the application for a second time will not be asked for username password.
To configure this authentication method:
  • Configure web.config for forms authentication: eg:
    <authentication mode="Forms">
       <forms loginUrl="Logon.aspx" name=".PKNOWAUTH" />
    </authentication>
    See "Editing web.config" for details on how to do the changes.

  • configure site configuration file for "use cookie"
    ConfigKey "UseCookieInFormsAuth" = true

    These changes can be done from the Config Dialog
Windows authentication with username + domain This authentication method is only available with Internet Information Server.

Windows authentication will be performed by IIS webserver. The name and domain of the authenticated user will then be used to find a matching user in the database. Database field "OS-ID" must contain uuu/ddd with uuu=windows userid and ddd=domain.
To configure this authentication method:
  • Configure web.config for windows authentication:
    eg:
    <authentication mode="Windows"/>
    See "Editing web.config" for details on how to do the changes.

  • configure site configuration file for "use user+domain"
    ConfigKey "identifyUser" = 'OsUser+Domain'

    These changes can be done from the Config Dialog
Windows authentication with username only This authentication method is only available with Internet Information Server.

Same as "Windows authentication with username + domain" but only username is used identifying the user in the database. Database field "OS-ID" must contain the windows user id
To configure this authentication method:
  • Configure web.config for windows authentication:
    eg:
    <authentication mode="Windows"/>
    See "Editing web.config" for details on how to do the changes.

  • configure site configuration file for "use user"
    ConfigKey "identifyUser" = 'OsUser'

    These changes can be done from the Config Dialog



© Copyright KLV GmbH