ASP.NET in a Partially Trusted Environment
From: Kris McFarren (kmm187_at_hotmail.com)
Date: 07/10/03
- Next message: Joel Register: "Converting a JAVA SHA1 Encryption Scheme"
- Previous message: Shel Blauman [MSFT]: "Re: How to use Runtime Security Policy"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 10 Jul 2003 08:58:38 -0700
How do you run ASP.NET in a partially-trusted environment
(i.e. the My_Computer_Zone is not set to Full Trust)?
The default policy looks something like this:
All_Code = Nothing
My_Computer_Zone = Full Trust
Microsoft_Strong_Name = Full Trust
ECMA_Strong_Name = Full Trust
We want to set up something like this:
All_Code = Nothing
My_Computer_Zone = Nothing
Microsoft_Strong_Name = Full Trust
ECMA_Strong_Name = Full Trust
MyWebApp = MyWebAppPermissionSet
Changing the My_Computer_Zone to anything but "Full
Trust" seems to kill the ASP.NET worker process. The
following error gets entered into the event log:
"Failed to execute request because the App-Domain could
not be created."
The source of the error is listed as "ASP.NET 1.1.4322.0"
It should be possible to grant the ASP.NET assemblies the
permissions that they need without having to assign full
trust to the entire local machine. How do I go about
doing this?
- Next message: Joel Register: "Converting a JAVA SHA1 Encryption Scheme"
- Previous message: Shel Blauman [MSFT]: "Re: How to use Runtime Security Policy"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|