Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Security / August 2006

Tip: Looking for answers? Try searching our database.

Full trust and medium trust in .net and websites

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Linda - 31 Aug 2006 02:56 GMT
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 - 31 Aug 2006 06:16 GMT
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

> Hi,
>
[quoted text clipped - 10 lines]
>
> Linda

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.