Knowledgebase

ASP.NET Security Policies

Kiwihosting.net uses a modified medium trust configuration for all ASP.NET based websites.

The modifications we've made allow for OleDbPermissionOdbcPermissionConfigurationPermission and ReflectionPermissions, a less-restrictive WebPermission and SocketPermission.

  • WebPermission Unrestricted="true"
  • OleDbPermission Unrestricted="true"
  • OdbcPermission Unrestricted="true"
  • SocketPermission Unrestricted="true"
  • ConfigurationPermission Unrestricted="true"
  • ReflectionPermission Unrestricted="true"


Using a Medium Trust level prevents applications from accessing shared system resources and eliminates the potential for application interference. Adding OleDbPermission and OdbcPermission allows applications to use those data providers to access databases. WebPermission is modified to allow outbound HTTP and HTTPS traffic.SocketPermission is modified to allow better access to payment services. Adding ConfigurationPermission allows methods or classes to access configuration files. Adding ReflectionPermission allows access to non-public types and members.

Applications operating under a Medium Trust level have no registry access, and no access to the Windows event log. Both network and file system access will be limited.

If you do experience trust-related issues, it may relate to assemblies that do not allow Partially Trusted Callers. For additional information on this, please review Microsoft's documentation regarding Partially Trusted Callers here and here (these are components that will NOT work with Partially Trusted Callers).

To test your applications under our Medium Trust files you may use one of the trust files located in the downloads section of our website.

  • 0 Users Found This Useful

Was this answer helpful?

Related Articles

Why are my emails deferred?

Kiwihosting.net employs a method of SPAM Protection called Greylisting.   Greylisting (or...

How do I upload files to my website?

To upload files to your website we recommend using an FTP (File Transfer) program. A suitable...

Can you transfer my website to your servers for me?

Yes we can.  We will however in most cases you will need to provide us with the logon details for...

Configuring Email

When setting up your email client, the mailserver for both incoming and outgoing mail will always...

PHP 5.4 Compatibility Notes

Although most existing PHP 5 code should work without changes, please take note of some backward...