SharePoint Web Application Browser File Handling


Peace be upon you,

We faced a problem lately in playing swf files under SharePoint 2010 and I thought of sharing its resolution with you.

In Web Application General Settings,  There is a setting called Browser File Handling and by default it is set to strict. This causes additional HTTP headers to be injected which forces the browser to download the file instead of opening it.

Here is a screen shot by fiddler showing the added header which makes the swf file downloaded instead of being player:

By setting this option to permissive the response header added above is removed and the flash player is now played and not downloaded, here is a screen shot:

I think this is an important information as same thing will happen with other file extensions.

Advertisements

2 thoughts on “SharePoint Web Application Browser File Handling

  1. Hi:

    There is a better way to handle “Browser File Handle” issue. Take a look at my blog here: http://www.pdfsharepoint.com/sharepoint-2010-and-pdf-integration-series-part-1/

    Solution #2 addresses Pdf extension without exposing entire Web Application to “Permissive” browsing. Setting “Browsing File Handle” to “permissive” opens too many vulnerabilities with other file extensions. In your case you just change “application/pdf” to your MIME type.

    Thanks,

    Dmitry

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s