Friday 23 September 2011

Managing blocked file types in Sharepoint 2010 with Web UI

Jim, my work mate, was trying to enable exe files in a Sharepoint web application. Unfortunatly he wasn’t very happy, just because nothing worked. He asked my for help and sadly I didn’t know the answer, well I knew the answer but something wasn’t going well.

We managed to find the answer. The problem was that we were using a different Web Application.

I am going to do a Step by Step to show you how to unblock exe files from your web application.

MSDN suggests these files are blocked by default:

 

.ade
.adp
.app
.asa
.ashx
.asmx
.asp
.bas
.bat
.cdx
.cer
.chm
.class
.cmd
.com
.config
.cpl
.crt
.csh
.dll
.exe
.fxp
.hlp
.hta
.htr
.htw
.ida
.idc
.idq
.ins
.isp
.its
.jse
.ksh
.lnk
.mad
.maf
.mag
.mam
.maq
.mar
.mas
.mat
.mau
.mav
.maw
.mda
.mdb
.mde
.mdt
.mdw
.mdz
.msc
.msh
.msh1
.msh1xml
.msh2
.msh2xml
.mshxml
.msi
.msp
.mst
.ops
.pcd
.pif
.prf
.prg
.printer
.pst
.reg
.rem
.scf
.scr
.sct
.shb
.shs
.shtm
.shtml
.soap
.stm
.url
.vb
.vbe
.vbs
.ws
.wsc
.wsf
.wsh

- Step 1:
Go to central administration (be sure you are administrator) and click on “Security”
image

- Step 4:
Now click on “Define blocked types”.
image

- Step 5:
Select the Web Application you want to change by clicking in “Change Web Application”. After that, remove the exe extension from the list. If you want to block more extensions, just add a new line with the extension name. Click OK, and work done!
image

No comments: