How Can I Raise The Trust Level For Assemblies Installed In The BIN Directory
Windows SharePoint Services can use any of the following three options from ASP.NET and the CLR to provide assemblies installed in the BIN directory with sufficient permissions. The following table outlines the implications and requirements for each option.Option Pros ConsIncrease the trust level for the entire virtual server. For more information, see "Setting the trust level for a virtual server" Easy to implement.In a development environment, increasing the trust level allows you to test an assembly with increased permissions while allowing you to recompile assemblies directly into the BIN directory without resetting IIS. This option is least secure.This option affects all assemblies used by the virtual server. There is no guarantee the destination server has the required trust level. Therefore, Web Parts may not work once installed on the destination server.Create a custom policy file for your assemblies. For more information, see "How do I create a custom policy file?" Recommended approach.This option is most secure.An assembly can operate with a unique policy that meets the minimum permission requirements for the assembly.
2009-2016 downloadmela.com. All rights reserved.