Qlik Community

QlikView Deployment

Discussion Board for collaboration related to QlikView Deployment.

Not applicable

Allow some users to download a file and prevent others

Hi All,

I have a qvw and a list of users. Is it possible to allow some users to download it and prevent the rest from doing so ?

Thanks,

Neeraj

4 Replies
Employee
Employee

SV:Allow some users to download a file and prevent others

You mean that all user would have access to the file via Plugin/Ajax but only a few are allowed to download the file form Access Point?

Not applicable

SV:Allow some users to download a file and prevent others

Yes Toni, I only want some of the users to be able to download the qvw and see the contents in their laptop/pc .

vgutkovsky
Honored Contributor II

SV:Allow some users to download a file and prevent others

Neeraj,

What you're trying to do is not technically possible with QVS. But...here's how I would do it:

  1. Disable downloads for all users on the server through the QEMC
  2. Set a .QVW MIME type in your web server. If you are using QVWS, you can set this directly in QEMC >> System >> QlikView Web Servers >> Web. If you are using IIS, you can add it under HTTP headers (a quick google search will show you the exact procedure). In both cases, the MIME type should be application/octet-stream I believe.
  3. Create a "portal" QVW application that your users will have access to. This portal application will actually just be your regular application; for your non-download users, this will be their final destination. The application can open in AJAX or IE Plugin. For your download users, you will include a link in the application to download the QVW. They will start off in the web application, but can then download the QVW if they want.
  4. You can either use the OSUSER() function in QlikView or use section access to set a flag based on user identity. Your text object would be hidden based on the OSUSER function or the section access flag.
  5. Of course, use proper NTFS permissions and Windows security to make sure that users don't simply email the link to each other.

Regards,

Not applicable

SV:Allow some users to download a file and prevent others

Thank you very much Vlad. I will try this solution and get back if I have queries.

Community Browser