Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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.

1  
Take a look at this answer sharepoint.stackexchange.com/a/1773/6382 –  Benny Skogberg Dec 10 '12 at 14:02
1  
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

1 Answer 1

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.