Neil Richards
Neil Richards

Reputation: 200

Setting trust level in Sharepoint without changing web.config

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 stsadm 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

Upvotes: 0

Views: 3095

Answers (4)

ArjanP
ArjanP

Reputation: 2172

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

Upvotes: 1

x0n
x0n

Reputation: 52410

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

Upvotes: 1

Preston Guillot
Preston Guillot

Reputation: 6714

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.

Upvotes: 1

IrishChieftain
IrishChieftain

Reputation: 15243

Create a CAS policy?

Upvotes: 0

Related Questions