Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

tomhovens
New Contributor II

Read-only Script

How to protect my script and make sure other people doesn't add other tables in the script

7 Replies
qlikmsg4u
Valued Contributor

Re: Read-only Script

Do all your script work in Hidden Script

tomhovens
New Contributor II

Re: Read-only Script

but others can add new tables? this is what I want to protect

Re: Read-only Script

Hi,

Try

Go to Document Property-> Edit Script->Uncheck it

Regards

Regards,
Prashant Sangle
qlikmsg4u
Valued Contributor

Re: Read-only Script

Uncheck Edit Script in Document Properties

vardhancse
Valued Contributor II

Re: Read-only Script

Section access and only limited people can open the application, so no chance of others to open the application script and do the changes

MVP
MVP

Re: Read-only Script

you can try with section access

from  QlikView help

Restrictions on QlikView Functionality

The controls found on the Document Properties: Security page and the Sheet Properties: Security page make it possible to disallow the access to certain menu items and prohibit changes in the layout. If these settings are to be used as a truly protective measure, it is important that the document users are logged in as USER. Anyone logged in as ADMIN can change the security settings at any time.

A user that has opened the document with USER rights does not have the Security pages in the Properties dialogs.

I just tried with the attached .qvw, this is the section access

    Section Access;

    LOAD * INLINE [

        ACCESS, USERID, PASSWORD

        admin, admin, admin

        user, user, user

    ];

open the .qvw with the different users (admin, user) to see the difference

with admin you can open the security tab (menu --> settings --> document properties --> security), edit the script, add sheets, etc....

with user you can't edit the script, add sheets, etc.....

Gabriel
Valued Contributor II

Re: Read-only Script

Hi,

What I will do is to write your script in another qvw file and binary load it into another qvw file. And also implement section access to prevent anyone from updating your file

Community Browser