<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Authorize.NET Site hosted in Medium Trust; EnvironmentPermission Security Exception in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Authorize-NET-Site-hosted-in-Medium-Trust-EnvironmentPermission/m-p/64970#M38719</link>
    <description>&lt;P&gt;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'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;</description>
    <pubDate>Sat, 03 Nov 2018 22:46:06 GMT</pubDate>
    <dc:creator>vivant51</dc:creator>
    <dc:date>2018-11-03T22:46:06Z</dc:date>
    <item>
      <title>Authorize.NET Site hosted in Medium Trust; EnvironmentPermission Security Exception</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Authorize-NET-Site-hosted-in-Medium-Trust-EnvironmentPermission/m-p/64970#M38719</link>
      <description>&lt;P&gt;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'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;</description>
      <pubDate>Sat, 03 Nov 2018 22:46:06 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Authorize-NET-Site-hosted-in-Medium-Trust-EnvironmentPermission/m-p/64970#M38719</guid>
      <dc:creator>vivant51</dc:creator>
      <dc:date>2018-11-03T22:46:06Z</dc:date>
    </item>
  </channel>
</rss>

