Here, you can define the file types that should be allowed or disallowed on SharePoint sites and collections. This configuration will apply globally on the complete farm.
This helps to prevent certain file types which you think can be at risk to the security of the organization.
How to configure?
Let’s open Central Admin of SharePoint on your machine. On your Windows desktop screen, click Start >> Administrative Tools >> SharePoint 2013 Central Administration.
- Run it as an administrator to have elevated privileges.
- You will see the screenshot given below.
- Central Admin is configured under the categories given below.
- Click on Application Management.
- Go to Web Applications >> Manage web applications.
- You will see the screen, given below.
- Here, we can see various options to work with the web applications.
- Let’s see them from left to right in different parts of the article.
We have four categories, where the events have been categorized.
- Contribute
- Manage
- Security
- Policy
In this article, we will see “Blocked File Types” under "Security” category.
Self- Service Site Creation
- Select the Web Application and click on " Blocked File Types ".
- You will see the screen below.
As we can see from the screen above, we have the following file types which are blocked. You can add more as per your security definition of the company.
The following are the file types blocked by default, by SharePoint.
File Types
ade
adp
asa
ashx
asmx
asp
bas
bat
cdx
cer
chm
class
cmd
cnt
com
config
cpl
crt
csh
der
dll
exe
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
Once you click on OK, the file types mentioned by you will be blocked through all sites and site collections in the web application.
In this article, we saw how to block certain file types on the web application. There are more features under managing the web applications which we will see in the next article.
Until then, keep reading and keep learning.