Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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'.
Why not use section access?
Section Access;
LOAD * INLINE [
ACCESS, PASSWORD
USER, 1234
];
Section Application;
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
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?
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?
Plausible idea, let me test it out.
Ok. Let me know how that goes. I have never tried that before so I am curious.
Thanks
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.
Why not use section access?
Section Access;
LOAD * INLINE [
ACCESS, PASSWORD
USER, 1234
];
Section Application;
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?
Just run my script...
Password is 1234