Eliminating the “Some files can harm your computer” warning prompt
I have enabled both Permissive Browser File Handling and added
AllowedInlineDownloadedMimeTypes.Add(“application/pdf”) in PowerShell. I understand that doing both is a security risk.
Anyways, everytime the user clicks on a PDF item from the document Library, a popup window dispklays: Open Document: "Some files can harm your computer. If the file information below looks suspicious, or you do not fully trust the source, do not open the file."
When I upload a PDF to an Announcement list item, the PDF opens directly without any message.