SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
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.

share|improve this question

marked as duplicate by Anders Rask Dec 10 '12 at 18:41

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Take a look at this answer – Benny Skogberg Dec 10 '12 at 14:02
I had added the icon, but not the opencontrol attribute. That seemed to do the trick. If you'd like to post as an answer so you get rep. – Rick Dec 10 '12 at 14:17
Thanks - I will! – Benny Skogberg Dec 10 '12 at 14:20
up vote 1 down vote accepted

Take a look at the accepted answer to the question Eliminating the “Some files can harm your computer” warning prompt where you can find which attribute you might be missing.

Good Luck!

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.