Home All Groups Group Topic Archive Search About

Full trust and medium trust in .net and websites

Author
31 Aug 2006 1:56 AM
Linda
Hi,

I have around 100  hosted sites and all of them run in "medium" trust as set
in the machine.config. I want one of the sites to run in "full" trust and
the rest in medium trust. How do I set that up in the machine.config or the
policy files? Is there a way to specify one site to run in full trust and
all the others in medium?

I am not allowing my other sites to change the trust level, impersonation by
themselves.

Many thanks,

Linda

Author
31 Aug 2006 5:16 AM
Dominick Baier
Hi Linda,

use a location element in machine.config

<location path="Site/App">
<system.web>
<trust Level="Full" />


---
Dominick Baier, DevelopMentor
http://www.leastprivilege.com

Show quoteHide quote
> Hi,
>
> I have around 100  hosted sites and all of them run in "medium" trust
> as set in the machine.config. I want one of the sites to run in "full"
> trust and the rest in medium trust. How do I set that up in the
> machine.config or the policy files? Is there a way to specify one site
> to run in full trust and all the others in medium?
>
> I am not allowing my other sites to change the trust level,
> impersonation by themselves.
>
> Many thanks,
>
> Linda
>

Bookmark and Share