Remove Blocked File Types in SharePoint
9. January 2010 08:07

You can remove the blocked file types in SharePoint programmatically by accessing a collection on an SPWebApplication object.

Collection<string> be = webApplication.BlockedFileExtensions;
if (be.Contains("dll")) be.Remove("dll");
webApplication.Update();
Tags: Comments (0) | Permalink
Comments are closed