Qlik Community

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

Announcements
Make your voice heard! Participate in the 2020 Wisdom of Crowds® Survey. BEGIN SURVEY
Highlighted

Password Protection with or without Section Access

Hi Experts

Is it possible to password protect a QVW document without using Section Access?

Thanks,

Sunny

Message was edited by: Sunny T Updated the title so that people don't get confused about the selected solution. The important thing is that I needed to accomplish my requirement which was to have a password protected document without linking it to any specific user. I was under the impression that it wasn't possible using Section Access, but I was proved wrong. So changing the title from '...without Section Access' to '...with or without Section Access'.

1 Solution

Accepted Solutions
Highlighted
MVP
MVP

Re: Password Protection without Section Access

Why not use section access?

Section Access;

LOAD * INLINE [

    ACCESS, PASSWORD

    USER, 1234

];

Section Application;

View solution in original post

27 Replies
Highlighted
sinanozdemir
Valued Contributor III

Re: Password Protection without Section Access

Hey Sunny,

I have used OSUser() and set that to a certain user names or groups via Active Directory. It seems like you are looking for something more robust.

Thanks

Highlighted

Re: Password Protection without Section Access

Hey Sinan,

Thanks for your response. Yes, I don't want to link it to any specific person.

A good example would be to see how Excel files are password protected. Anybody with a password can easily access them. I am looking for the same functionality in QlikView.

Do you think its possible?

Highlighted
sinanozdemir
Valued Contributor III

Re: Password Protection without Section Access

Hmmm,

Maybe, set an event trigger on open and ask for a password, then based on that password set a variable 1 or 0. If it is 1, then make some sheets visible.

Maybe?

Highlighted

Re: Password Protection without Section Access

Plausible idea, let me test it out.

Highlighted
sinanozdemir
Valued Contributor III

Re: Password Protection without Section Access

Ok. Let me know how that goes. I have never tried that before so I am curious.

Thanks

Highlighted

Re: Password Protection without Section Access

Now that I think about it, the problem is that it would still open the app. They just won't see stuff until the correct password is entered, but the document properties would still be available, right? I want that until the correct password is provided, the user cannot see or alter any data and setting.

Highlighted
MVP
MVP

Re: Password Protection without Section Access

Why not use section access?

Section Access;

LOAD * INLINE [

    ACCESS, PASSWORD

    USER, 1234

];

Section Application;

View solution in original post

Highlighted

Re: Password Protection without Section Access

Stefan -

I am looking for a functionality similar to that of Excel where anybody with the password can view the document. Is that doable through Section Access? or do I have to list the name of all potential users?

Highlighted
MVP
MVP

Re: Password Protection without Section Access

Just run my script...

Password is 1234