In this article we will be seeing about blocked file types in SharePoint 2010. Each Web application maintains a list of blocked file types that is based on file name extensions which can be restricted from being uploaded or downloaded. Using Central Administration:
Using Visual Studio 2010:
// adding blocked file type blockFileTypes.Add(addBlockFileType);
// removing blocked file type blockFileTypes.Remove(removeBlockFileType);
webApp.Update();
Build the solution.
Hit F5.
All the file extensions from the blocked file type will be displayed as shown in the following.
A new file extension "aspx" is added and the existing file extension "asp" is removed successfully.
You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$20
For Premium members:
$45
For Elite members: