K2 Runtime web.config File Security Settings
The following Security items are available in the K2 smartforms web.config file typically found at: C:\Program Files\K2\K2 smartforms Runtime\Web.config.
Node | Change permitted? | Description | Example or Default Value |
---|---|---|---|
Yes | Advanced setting used for specialized security provider. Sends security authentication to security provider | Depending on the security provider's specification | |
Yes | Useful for example when Workspace is not on the K2 domain and authentication is made under the context of the Application Pool where the Application Pool does not have access to the K2 HostServer. This setting allows for the security label to be manually overwritten ensuring that this scenario will work. | The DefaultSecurityLabel is used when specified. Leave blank to use the URM default security label. | |
Yes | SecurityLabels that are available. This list can be filtered to only authenticate against those security labels. Used for Forms Authentication | Semi-colon separated list. Leave blank to use all the URM security labels | |
Yes | SecurityLabels that use integrated security. Used to identify when IsIntegrated should be added to the connection string. Used for Forms Authentication | Semi-colon separated list | |
Yes | SecurityLabels that do not use integrated security. Used to identify when IsIntegrated should be added to the connection string. Used for Forms Authentication | Semi-colon separated list | |
Yes | SecurityLabels that should be excluded when authenticating users. Used for Forms Authentication | Semi-colon separated list | |
Yes | Allow anonymous access and interact with K2 Server as the Application Pool Account. See the following topic: K2 smartforms > Considerations > Authentication> Anonymous Access |
One of the following:
|
|
Copy
Forms.Authentication.Persistence
|
Yes | Controls whether the "remember me" option is available for Forms Authentication. When set to true, the "remember me" option is enabled |
One of the following:
|
Copy
Forms.Authenticaxtion.SessionKeepAlive
|
Yes | This enables tracking of user session expiry. | One of the following:
|
Copy
Forms.Authentication.WarnTimeout
|
Yes | This config value specifies the time in seconds before the user’s session expires that the user should be warned | The number of seconds |
Copy
Authentication
|
No | Used for Forms Authentication for additional encryption of user credentials | N/A |
Copy
Forms.AuthenticationCookie.Name
|
No | Credential token sharing. Authenticate a user once and allows for an authenticated token to be re-used in multiple connections by storing a cookie in the browser section | N/A |
Copy
Forms.AuthenticationCookie.Duration
|
No | Duration of current browser session. Default is zero. Noted in seconds | N/A |