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);
Build the solution.
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.
Vijai Anand has been working in IT industry for over 5 years. He holds Bachelor's degree in Electronics and Communication Engineering. Vijai write articles and blogs related to SharePoint 2013, SharePoint 2010, Silv... Read more
C# Corner. All contents are copyright of their authors.