Qlik Community

QlikView Security & Governance

Discussion Board for collaboration on QlikView Security and Governance.

Highlighted
saurabh_handa
New Contributor II

How to handle Un-Authorized report access response from Qlik WebTicket code?

Hi Experts,

We are using QlikView IIS installation with Web Ticketing for Authentication using ASP.Net C# code. Its working fine for some scenarios and not working where someone tries to access a report which he/she is not authorized to view.

Qlik code generates the WebTicket for the logged in user and calls its Authenticate.aspx page with WebTicket, try url and back.

{0}QvAJAXZfc/Authenticate.aspx?type=html&webticket={1}&try={2}&back={3}

Now, since the user does not have access, it again tries to generate new ticket and goes to endless looping.

Is there a way / handle we can check in Http Response that the user is unauthorized and show a custom message or redirect to another page? Because Qlik always return Http Status Code 200 even with Unauthorized access.

Looking for your recommendations!