title: System.Security.Permissions.FileIOPermission exception even though trust level is full
body: <p>I am trying to upload some pics to server. But when I try to upload, it throws this error:</p>
  
  <pre><code>System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
  </code></pre>
  
  <p>I checked this : <a href="https://stackoverflow.com/questions/2078147/webpermission-exception-even-though-im-in-full-trust">WebPermission Exception even though I&#39;m in Full trust</a></p>
  
  <p>But I can't change IIS settings because my application is in a hosting company. I gave wite permissions to folder. And in my web.config file I have this code :</p>
  
  <pre><code> &lt;location allowOverride="true" path="ProductImages"&gt;
  &lt;system.web&gt;
    &lt;trust level="Full" originUrl=""  /&gt;
  &lt;/system.web&gt;
  </code></pre>
  
  <p></p>
  
  <p>Do you have any suggestions for me?</p>