1.Define the site as a managed path within SharePoint
2.Add the document library URL to the trusted location list
3.Edit the permissions of the document library to grant full control to SharePoint application pool identity accounts
4.Create a custom security policy for the document library, and add the file to the SecurityPolicy section of the site's Web.config file