Integration and Testing

Authorize.Net API questions and help with your payment integration.

Posts: 1
Registered: ‎11-03-2018

Authorize.NET Site hosted in Medium Trust; EnvironmentPermission Security Exception

When moving an payment gateway site to a new hosting provider, with medium trust. I received a System.Security.SecurityException for the permission of type 'System.Security.Permissions.EnvironmentPermission, mscorlib, Version='


I was able to resolve the issue by creating a custom trust config file. However, I had to set the System.Security.Permissions.EnvironmentPermission for mscorlib to unrestricted. This is because I was unable to find any documentation as to what permissions the SDK requires. 


Can someone point me in the direction or provide this information? I'd much prefer to restrict the application to only what it requires rather than unrestricted.