Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
sunny_talwar

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
swuehl
MVP
MVP

Why not use section access?

Section Access;

LOAD * INLINE [

    ACCESS, PASSWORD

    USER, 1234

];

Section Application;

View solution in original post

27 Replies
sinanozdemir
Specialist III
Specialist III

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

sunny_talwar
Author

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?

sinanozdemir
Specialist III
Specialist III

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?

sunny_talwar
Author

Plausible idea, let me test it out.

sinanozdemir
Specialist III
Specialist III

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

Thanks

sunny_talwar
Author

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.

swuehl
MVP
MVP

Why not use section access?

Section Access;

LOAD * INLINE [

    ACCESS, PASSWORD

    USER, 1234

];

Section Application;

sunny_talwar
Author

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?

swuehl
MVP
MVP

Just run my script...

Password is 1234