cancel
Showing results for 
Search instead for 
Did you mean: 

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

When moving an authorize.net 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=4.0.0.0'

 

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 authorize.net 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.

vivant51
Member
0 REPLIES 0