ASP .NET Image Resizing Module. SecurityPermission
<p>I'm trying to use <a href="http://imageresizing.net/" rel="nofollow">Image Resizing Module</a> ... it was working fine in my localhost but i face this problem when i uploaded it to the server.</p>

<blockquote>
  <p>Security Exception</p>
  
  <p>Description: The application attempted to perform an operation not allowed by the security >policy.  To grant this application the required permission please contact your system >administrator or change the application's trust level in the configuration file. </p>
  
  <p>Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Configuration.ConfigurationPermission, System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' failed.</p>
</blockquote>

<p>And this is the error from resizer.debug.ashx file </p>

<blockquote>
  <p>Grant the website SecurityPermission to call UrlAuthorizationModule.CheckUrlAccessForPrincipal
              Without this permission, it may be possible for users to bypass UrlAuthorization rules you have defined for your website, and access images that would otherwise be protected. If you do not use UrlAuthorization rules, this should not be a concern. You may also re-implement your security rules by handling the Config.Current.Pipeline.AuthorizeImage event.</p>
</blockquote>

<p>Thanks</p>
