开发者

Setting trust level in Sharepoint without changing web.config

开发者 https://www.devze.com 2022-12-14 04:13 出处:网络
I want to change the trust level of a Sharepoint Web Application without having to change the web.config manually (i.e. WSS_Minimum, WSS_Custom, etc). Making manual changes to the web.configtag is hig

I want to change the trust level of a Sharepoint Web Application without having to change the web.config manually (i.e. WSS_Minimum, WSS_Custom, etc). Making manual changes to the web.config tag is highly undesirable in anything other than a one-server farm. Is there any way via s开发者_JAVA技巧tsadm or Central Admin to change this?

Third party tools or a Powershell script would be acceptable in that they would make clear that there's no native way to accomplish this.

Thanks in advance


See my answer here. There's an object model call to propagate web config modifications to every server in a farm as well as a freely available Central Admin plugin that wraps the OM in an easier to use interface.


There is a class designed for this called SPWebConfigModification that will propagate your changes to all member servers of the farm.

http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spwebconfigmodification.aspx

-Oisin


SPWebConfigModifications are a pain.. but this stsadm extension will make it a lot easier.


Create a CAS policy?

0

精彩评论

暂无评论...
验证码 换一张
取 消