After a long time, I thought of sharing this simple steps to the community. The title will tell the requirement. i.e., by default, SharePoint does not allow the end user to Upload the Executable into SharePoint Document Library. We need to make a small settings change in the Central Administration level.
Let see that step by step.
1. Go To Central Administration.
2. Select the Security Tab.
3. Under General Security, Click on the “Define Blocked file Types”.
4. The screen comprises the Change Web Application option and the list of files listed on a list box. Select the web application appropriately.
5. Then in the List Items, delete the EXE and MSI Files (Here each file extension is separated/listed in each lines).
6. Let me remove the EXE and MSI.
7. Click on OK.
8. That’s it. Now, if we try upload EXE in the Web Application, your system will allow you to upload.
The default other blocked file extensions are
ade
adp
asa
ashx
asmx
asp
bas
bat
cdx
cer
chm
class
cmd
cnt
com
config
cpl
crt
csh
der
dll
fxp
gadget
grp
hlp
hpj
hta
htr
htw
ida
idc
idq
ins
isp
its
jse
json
ksh
lnk
mad
maf
mag
mam
maq
mar
mas
mat
mau
mav
maw
mcf
mda
mdb
mde
mdt
mdw
mdz
msc
msh
msh1
msh1xml
msh2
msh2xml
mshxml
msi
ms-one-stub
msp
mst
ops
pcd
pif
pl
prf
prg
printer
ps1
ps1xml
ps2
ps2xml
psc1
psc2
pst
reg
rem
scf
scr
sct
shb
shs
shtm
shtml
soap
stm
svc
url
vb
vbe
vbs
vsix
ws
wsc
wsf
wsh
xamlx
The above steps are common for the WebApplication. There is no option, that a single document library can accept this. This is a generic settings.
Happy Coding,
Sathish Nadarajan.
Leave a comment