| West Wind Web Store .NET 2.0 |
Web Site Trust Permissions Requirements
|
Low trust operation is not supported (due to Session state requirements).
Depending on your ISP's or Admin's hosting policy you may also apply Web Permissions to a specific URL or all Urls like this in web.config:
<trust level="Medium" originUrl="https://www.authorize.net/.*" />
or
<trust level="Medium" originUrl=".*" />
Note though that this can be overridden by the hosting provider so there's no guarantee this will work. If your provider doesn't allow HTTP access to at least your credit card processor you will need to beg and plead <s>.
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