Web Site Trust Permissions Requirements

For best results it's recommended that the store runs in High Trust trust on the Web Server. High Trust is the default configuration for ASP.NET applications, however, many ISPs will not allow running in High Trust. The Web Store can also run in Medium Trust, but there are a few things that will not work in this environment unless you tweak the permissions.

Low trust operation is not supported (due to Session state requirements).

Medium Trust Permissions Required

The store runs well in medium trust, but there are however a couple of requirements in order for complete operation. The following permissions need to be enabled:

The store ships with a WebStore_MediumTrust.config file that holds the Medium trust default settings, plus the above changes. To enable these changes you can set up Web.config like so:

<configuration> <system.web> <!-- Use this security policy if you need to lower permissions Please note the Web Store will run all the way down to Low security but you need to add ReflectionPermission. --> <securityPolicy> <trustLevel name="WebStoreMedium" policyFile="webstore_mediumtrust.config" /> </securityPolicy> </system.web> </configuration>

You can review the settings in this file to find out exactly what permissions are enabled and you may have to negotiate with your ISP for these additional permissions.


 Last Updated: 1/12/2008 | Send topic feedback