Browser File Handling and avoiding Permissive mode

A change in behavior from SharePoint 2007 to SharePoint 2010 is that only file types marked as “safe” are allowed to be opened in the browser (think PDF) or opened on a download request (instead of just saved to disk).

One way to work around this is to set the Browser File Handling policy to Permissive, from Strict, on the Web Application.  This has a negative impact on security as clients may open harmful content from SharePoint without being prompted to do so.

The preferred way of handling this is to leave the Browser File Handling on the Strict mode, then from the SharePoint Command Shell, run:

This example is to add the MIME type for PDF to be allowed to open within the browser window instead of forcing the user to save the file to disk before opening it.

5 Comments

  1. Perfect.

  2. Thank you so much!
    This was the only solution that worked like a charm.

  3. Pingback: .PDF Files Prompting to Save Before Opening | Craig Jahnke

  4. It doesn’t work for SharePoint Online

Leave a Reply