11-03-2018 03:46 PM
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=220.127.116.11'
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.