Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE

Legacy vs. Standard Mode in Qlik Sense: Explainer and Security Considerations

100% helpful (1/1)
cancel
Showing results for 
Search instead for 
Did you mean: 
Andre_Sostizzo
Digital Support
Digital Support

Legacy vs. Standard Mode in Qlik Sense: Explainer and Security Considerations

Last Update:

May 13, 2021 2:16:01 PM

Updated By:

Andre_Sostizzo

Created date:

Jun 4, 2017 4:11:38 AM

 

What is legacy mode?
Legacy mode in Qlik Sense allows users who have access to the data load editor to write load statements which reference file paths rather than through LIB statements.

Simple example:
Standard Mode:
LOAD * 
FROM [lib://data/data.csv]
(txt, codepage is 28591, embedded labels, delimiter is ',', msq);

Legacy Mode:
LOAD * 
FROM C:\data\data.csv
(txt, codepage is 28591, embedded labels, delimiter is ',', msq);

What are the security considerations when using legacy mode?

Out of the box, for a user to do development in Qlik Sense, they need some combination of two types of access:

  1. An ability to create a data connection
  2. An ability to read (or see) a data connection

This security model is the intermediary between the user inside of Qlik Sense and the data sources.

When using legacy mode, any user who has access to the Data Load Editor can now access the file system of the local Qlik Sense server as well as any network file shares that the Qlik Sense service account independent of the security rules configured on the Qlik Sense deployment. In this example, the user has access to AttachedFiles, which all users would out of the box, as well as a Salesforce data connection, yet they are still able to load from the data.csv:

000034992.png

 



This means that the traditional mechanism for ensuring governance and security over data access inside of the Data Load Editor will no longer apply and the user(s) will be accessing the files as the Qlik Sense Service account

What are the benefits of using Legacy Mode?

This is difficult to answer in an exhaustive manner, but generally the benefits are narrowly scoped to deployments where app development, self-service capabilities are disabled or where this level of access is restricted to a vetted set of administrators. Some benefits include:

  • The ability to use relative paths in load scripts (e.g. LOAD * FROM ..\..\Customer1\sales.csv). Often used in conjunction with include scripts which allow easy deployment to multiple customers or tenants.
  • The ability to use the EXECUTE function (in conjunction with an additional Settings.ini change) to directly call external processes during script execution
  • The ability to re-use load statements from QlikView documents in Qlik Sense
  • And others

Is legacy mode recommended by Qlik?
For most deployments, no, legacy mode is not recommended. It can be useful in some deployment scenarios where the security concerns are mitigated.

How do I switch to Legacy mode / disable standard mode?
Disabling standard mode - Enabling Legacy Mode - Qlik Sense on Windows

Qlik Sense Legacy mode

Qlik Sense Legacy Mode - Qlik Design Blog

Labels (2)
Comments
Zengaburu
Partner - Contributor
Partner - Contributor

Hello Andra,

Is it possible to have a hybrid approach. For example in multi node deployment, only one engine node works in Legacy mode but other nodes including central node works in Standard mode.

__PRESENT

Sonja_Bauernfeind
Digital Support
Digital Support

Hello @Zengaburu 

While technically possible, a mixed setup is not recommended.

All the best,
Sonja

Contributors
Version history
Last update:
‎2021-05-13 02:16 PM
Updated by: