I have a gallery displaying pdf files in a SP library. The OnSelect property for the gallery is set to Download(ThisItem.'Link to item'). On selecting, the pdf file is downloaded, as expected, however, if the user browser has an Acrobat plug-in, the file also displays in the browser, which is fine, except, I don't want the user to be able to open the pdf directly in the browser, thus having access to the library url (which would allow the user to access the whole library and see documents they are not supposed to see).
Does anyone know of a way to prevent this?

Report
All responses (
Answers (