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: 
korsikov
Partner - Specialist III
Partner - Specialist III

anonymous user can't access to application content

i'm try use new feature and upload into Qlik sense 2.1.1. server application with included content. There is application icon, image.

then publish this app in everyone stream. Authenticated users can view this image, but if open app from virtual proxy with only anonymous users, there is no image.

in browser debug console link to this image had error 404. 

If try open image directly has error message "not found"

link  to image demo.host.com/anon/appcontent/8adad8ca-b150-43c4-a984-a46741a560f2/Qlik_RBCCircles.png

Help me find a security rule that controls access to the appconten

7 Replies
korsikov
Partner - Specialist III
Partner - Specialist III
Author

found out that the only reason for safety rules.

To check the created rule rootadmin similar but anonymous user. And it works. picture available

next step

resource filter *

condition user.IsAnonymous()

only Hub

action Read

and still work.

Should you need to sort out all the rules that contain an !user.IsAnonymous() and create a rule allowing

But before you create a theme, I went through all of the rules in turn may have missed something.

korsikov
Partner - Specialist III
Partner - Specialist III
Author

all deny rules create a duplicate, and they allowed this action.

not help

appcontenrule.png

korsikov
Partner - Specialist III
Partner - Specialist III
Author

rule

filter App_*

conditio user.isanonymous()

read

Works.

I seem to understand why.

there is 2 application. Published in the stream Everyone with guid for example a1bc and second one, exported develover in his "my work" stream with guid 2abc

link to picture contain guid not published application. Anonymous  has no rights to the application, and as a result, can not open this image

This is just my guess

korsikov
Partner - Specialist III
Partner - Specialist III
Author

i seem this is a BUG.

application in my work has GUID 8adad8ca-b150-43c4-a984-a46741a560f2

application in Everyone has GUID  59fb2a44-318f-43b3-814a-eacc4191cc32

Directory of c:\ProgramData\Qlik\Sense\Repository\AppContent

17.09.2015  14:40    <DIR>          .

17.09.2015  14:40    <DIR>          ..

17.09.2015  14:40    <DIR>          59fb2a44-318f-43b3-814a-eacc4191cc32

17.09.2015  14:37    <DIR>          8adad8ca-b150-43c4-a984-a46741a560f2

              0 File(s)              0 bytes

              4 Dir(s)  30 830 993 408 bytes free

requested picture available in both directories.

When opened application 59fb2a44-318f-43b3-814a-eacc4191cc32 in hub stream everyone, in browser console i'm see request to qsdemo.host.com/anon/appcontent/8adad8ca-b150-43c4-a984-a46741a560f2/Qlik_RBC_ProZ_qlikCircles.png

this is incorrect! in publication updated links to content in an application.

korsikov
Partner - Specialist III
Partner - Specialist III
Author

i create new application, add some content by "attached" .

Then publication this application in stream everyone anon user can open application correct.

The reason is that in such case the application GUID is not changed

korsikov
Partner - Specialist III
Partner - Specialist III
Author

Open Case in qlik Support. Case numer

00587666

korsikov
Partner - Specialist III
Partner - Specialist III
Author

It has been observed. References to objects in the application are updated correctly. This behavior occurs only with the application icon