A binary file stored in Pega needs to be blocked when the user logs off but the user is able to access the file
I have a binary file that is a pdf whose path is stored in a DSS(like /webwb/abc.pdf). This DSS is referred to in a hyperlink on the user portal. Normally, when a user is authenticated in Pega if he copies the link and tries to access it in IE it is not opening which is the expected behaviour.
But the problem is, when this is accessed in chrome and URL is copied, the user is logged off. If the same URL is pasted in the chrome browser, the user is able to access the document although he is logged off. I have even tried creating a different folder(xyz) inplace of webwb and placed the abc.pdf file inside that. Still the problem persists.
Can you please give me any solution or workaround for this?
Even if I try incognito in Chrome and logout from Pega still I am able to access the PDF binary file if I hit the URL. Even we tried accessing the URL after 2 weeks and still it opens the file in Chrome
But if we try the same URL in IE, it does not open it. Even same for Firefox.