We have a Java based web application deployed on WebLogic. We provide direct links to some PDF files, which the users can download/ open in their browser. Our security team is claiming that to allow opening PDF files in the browser is a security risk. So they want to force the users to download the PDF files first rather than opening them in the browser window.
Is this really a security risk?
If the PFD is a trogen/ vulnerable, how come downloading the file first and opening it could solve the problem?
Is their a way to programmatically prevent the user from opening the PDF files in the browser window and to force downloading the PDF files first?