Question
Why does my code get a security exception when I run it from a network shared drive?

Answers

Default security policy gives only a restricted set of permissions to code that comes from the local intranet zone. This zone is defined by the Internet Explorer security settings, and should be configured to match the local network within an enterprise. Since files named by UNC or by a mapped drive (such as with the NET USE command) are being sent over this local network, they too are in the local intranet zone.
The default is set for the worst case of an unsecured intranet. If your intranet is more secure you can modify security policy (with the .NET Framework Configuration tool or the CASPol tool) to grant more permissions to the local intranet, or to portions of it (such as specific machine share names).   Your Comment




More Software,security Questions..
What is the inputsplit in map reduce software?

What is software configuration management?

Explain "roles" in sap security?

What Is Java Api For Xml-based Rpc (jax-rpc)?

How can you implement fine-grained auditing?

What is IBM’s simple explanation for Big Data’s four critical features?

What is static synchronized method in JDBC API? Give an example?

What does the NULLIF function do?

What happens if a start method is not invoked and the run method is directly invoked?

Should we override finalize method

what is the difference between mysql_fetch_array and mysql_fetch_object?

How will XML affect my document links?

Why to use Style Sheets?

What are Filters in MVC?

Can you explain Application layer in OSI model?

How to define new testplan attributes?

What are the different types of security services involved in infrastructure management?

What are the minimum system requirements to run Photoshop? Is it possible to run Photoshop over linux?

Which oracle package is used to manage the oracle lock management services?

What is Latch Up? Explain Latch Up with cross section of a CMOS Inverter. How do you avoid Latch Up?



Search
Can you Answer!!
  • Q In the Vietnam war what was the signal US to evacuate Saigon
  • Q Who wrote The Hunchback of Notre Dame
  • Q Explain working of a fourneyron turbine.
  • Q What would your colleagues say about you?
  • Q Data View Web Part
  • Q What are advantages of VSB?
  • Q What is the difference between ASP and ASP.NET?
  • Q When a user is tied to a primary permission list how does it decide the department data access for the employee? where and how is this mapping done?
  • Q Who founded the Indian League in 1875 ?
  • Q Incremental Model Diagram Draw a Incremental Model Diagram.
  • Q Can you Deploy Master Page and Custom Css from SharePoint 2010 in SharePoint 2013?