After migration of one of our training site from Moss 2007 to SharePoint 2010, users reported that they are not able to open the video files(flash file) in the browser. Instead they are getting prompt to download the file.
Upon investigation we came to know that this is one of the security features of SharePoint 2010. Basically, SharePoint does not allow all files to open by default in browser. This setting is done at the web application level. To change is setting :
- Go to Central Administration -> Application management -> Manage Web Applications
- Select the web application where you want to change this setting
- In the web application ribbon, open General Settings
- Look for Browser file handling section. You will find 2 options here
- Permissive - This allows all files to open in browser
- Strict - Allows only select files to open in browser
However using permissive settings might introduce a security risk to your farm. Hence it is advisable to only add particular file type in under your strict option. To add only a particular file type, you will need to use powershell script as that option is not available through UI.
The link to add SWF file under strict option, please use the powershell script given in this link.
No comments:
Post a Comment