Author: paranthaman | Posted on: 8/4/2006 1:11:57 AM | Views : 265

hi
We are using some class in .NET like
System.Net
System.Net.Sockets
in our page. We used these classes to get the file from another ftp server, but we are getting an error regarding security.
like
 
Security Exception 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.

Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Net.WebPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
 
We also tried to solve this security issue by adding some permission tags in web.config file like

&nbs ...

Go to the complete details ...