Groups | Blog | Home
all groups > iis security > august 2006 >

iis security : Full trust and medium trust in .net and websites


Linda
8/30/2006 6:56:02 PM
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

Dominick Baier
8/31/2006 12:00:00 AM
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

[quoted text, click to view]

AddThis Social Bookmark Button