Pages

Monday 15 July 2013

Browser File Handling in SharePoint 2010 (Prompt for open,save documents)

Browser File Handling
You may have tried to open *.doc or *.pdf files in sharepoint . but it may not open as you expected.
Most of the time these types of issues can be resolved by adding in the additional MIME Types into our SharePoint WFEs IIS settings and setting the Web Applications Browser File Handling method to Permissive. You can specify whether additional security headers are added to documents that are served to Web browsers. These security headers specify that a browser shows a download prompt for certain types of files (for example, .html), and to use the server's specified Multipurpose Internet Mail Extensions (MIME) type for other types of files.

The Permissive setting specifies that no headers are added. The Strict setting adds headers that force the browser to download certain types of files. The forced download improves security for the server by disallowing the automatic execution of Web content. By default, the setting is Strict.
We will also need to ensure that for certain types of files such as .doc and .PDF that they are included in the IIS MIME Types configuration on each Web Front End server in your environment before these Browser File Handling rules will take action on them, as by default these are usually not included.
Note:Permissive permits all MIME Types to be opened in Browser and Strict limits which MIME Types can be opened in browser.
This has a negative impact on security as clients may open harmful content from SharePoint without being prompted to do so.


1. Go to Central Admin
2. Click on Manage Web Applications
3. Select the Web Application you wish to work with
4. Select General Settings from the SharePoint Ribbon
5. Tick the radio icon for the Permission Level you require, which in this case is Permissive (Permissive is recommended for Intranets)


Still not opening up correctly, then we might need to take a look at the document Library itself to ensure that the default opening method is set to Use the server default.
This can be done by using the SharePoint GUI as follows
1. Go into the required Library and select Library Settings from the SharePoint Ribbon
2. Click on Advanced Settings
3. My recommendation here is to set the Opening Documents in the Browser option to Use the Server Default

​  This may solve your problem.

1 comment: