Follow the steps below to change the security mechanism:
- Open Internet Information Services (IIS).
- Open the site where SmartForms has been installed.
- Click on Explore in the Actions panel on the right.
- Scroll down to the bottom until you find the web.config file.

- Right-click the file and select Open With > Notepad.
- Search for the following "<authentication mode".
- Change the type to the required mode either windows or forms.

- Save the file.
- If Forms Authentication is selected, the following step is required:
In the web.config file search for “windowsAuthentication enabled”. Change the windowsAuthentication
enabled from “true” to “false”.

The login screen will be activated every time the user logs into the site.
User Name
|
The identity can be specified in one of the following formats:
“user name” Authenticates with and without the current domain against all security labels.
“K2 label:user name” Authenticates with and without the current domain against the specified security label.
“domain\user name” Authenticates with the specified domain against all specified security labels.
“K2 label:domain\user name” Authenticates with the specified domain against the specified security label.
|
Password
|
Can include upper and lower case letters, numbers and symbols.
|
Troubleshooting Tip
When using Forms Authentication, the following error will appear if the webconfig windowsAuthentication setting is not changed to False.
Design Time/Runtime Permissions
No extra permissions are required for SmartForms to work. SmartForms uses product permissions and rights with regards to SmartObjects and Workflows.
However, rights can be set in IIS on the design time or runtime site level. The design time and runtime sites have different web.config files and each site can be set up to use its own type of security mechanism. This enables administrators to allow certain people to design SmartForms and other people to use SmartForms in runtime.
Follow the method mentioned above to set the authentication on the SmartForms sites in IIS. Alternatively, set the rights in the web.config files that can be located in the following locations:
Designer: "%ProgramFiles%\K2\K2 smartforms Designer\Web.config"
Runtime: "%ProgramFiles%\K2\K2 smartforms Runtime\Web.config"
When Windows STS authentication or Forms STS authentication is enabled, it is important to frequently save work that has been done in the Designer as work might be lost when the same session is left open for 8 hours or longer.