Setting up user authentication for the Qlik Web Connectors
By default, the Qlik Web Connectors are configured for a single user without authentication. This means that when you download Qlik Web Connectors for the first time, user authentication and user management are disabled. To change these settings, you can copy the pre-configured sample files into the root directory or you can manually change the files that are already in the root directory.
Copy the sample files
The simplest way to enable user authentication is to copy the pre-configured sample files and move them into the Qlik Web Connectors root directory. The sample files are located at \%root%\Sample Configs\Forms Auth and Remote Access. In this folder, there are three files: deploy.config, logins.xml, and a readme file.
Authentication and user profiles are determined by the deploy.config and the logins.xml files in the root directory. You can copy the two files from \%root%\Sample Configs\Forms Auth and Remote Access and replace the same two files in the root directory.
By replacing the deploy.config file, you enable authentication and you allow remote access from other machines. By replacing the logins.xml file, you create two users with login credentials. Once you complete the advance installation, you can add, edit, and delete users from the Qlik Web Connectors Manage Users menu.
The default user accounts are:
Username | Password |
---|---|
admin@yourdomain.com |
password01 |
user@yourdomain.com |
password01 |
Manually change the deploy.config file
To change the authentication settings manually, open the deploy.config file that is in the root directory in a text editor. Find authentication section and change the value from None to FormsAuthentication.
To access the Qlik Web Connectors from other machines on your network and to load data from QlikView or Qlik Sense installations running on other machines, you need to change the AllowRemoteAccess value to true.
Enable SSL encryption
When you allow remote access, you expose the Qlik Web Connectors over HTTP, which is not encrypted. After you configure the Qlik Web Connectors for authentication, either by copying the sample files or by manually changing the deploy setting, you should enable SSL encryption.
Open the deploy.config file in a text editor and find the RequireSSL section. Change the value to true.
If you enable SSL encryption, you must allow remote access. If remote access is disabled and you enable SSL encryption, you will receive an error message when you open the Qlik Web Connectors.