Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Restricting access to a report

Hi

I have a report that I have used Section Access and a spreadsheet with usernames and passwords to restrict access. This part of the process works fine in that you need to enter a username and password to open the report in the web browser or the client application. My issue lies in the QMC when my reloads take place. All my reports reload apart from the one that has the security restrictions using Section Access. I have made sure my admin username and password is on the spreadsheet but that still does not make it work. Is there something I have missed?

I have attached a copy of the log file as best I could as I cannot seem to be able to just copy and paste the whole log file.logfile.JPG

Thanks

Steve

25 Replies
Not applicable
Author

Thank you both. The report has been successfully reloading since last night using the credentials in the spreadsheet.

Thanks again for all your help.

Steve

awhitfield
Partner - Champion
Partner - Champion

Yippee!

Not applicable
Author

Quick question, if I have a report with multiple tabs in the script, which tab do I set the section access in. I'm guessing at the first tab but just wanted to check.

Thanks Steve

awhitfield
Partner - Champion
Partner - Champion

Correct guess, as the SECTION APPLICATION applies to what follows!

Andy

Peter_Cammaert
Partner - Champion III
Partner - Champion III

QlikView best practice is that you put Section Access in the front. Optionally place this dangerous piece of code in a Hidden Script which will always be executed first.

HOWEVER...

no-one prevents you from putting Section Access anywhere in your script. You can even put it at the end, after all tables have been loaded. Section Access and Section Application only delimit an area in the flow of your script. You can put as many of them in your script as you want. The default section at script beginning is Section Application.

You can put a Section Access; statement on the very last script tab, followed by your section access statements, and no-one will complain. Execution will proceed as usual.

Peter

Not applicable
Author

Thanks again for all your help. Much appreciated. Steve.