What benefit does your code receive if you decorate it with
attributes demanding specific Security permissions?

Answer Posted / o1

Allows administrators to see exactly which permissions your
application needs to run, using PermView
Prevents your code from being exploited beyond what
permissions it absolutely needs
Allows your application to forcibly fail instead of having
to manually handle situations where it might be denied
permissions it requires.
More info can be found here / here

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define application state variable and session state variable?

655


What’s the catch?

709


How to include silver light .xap page into asp.net web application and what is the purpose of using silverlight application?

2344


Explain the difference between overriding and overloading?

623


Why cyclomatic complexity is important?

646






Is viewstate enabled by default?

621


How do I debug an asp.net application that was not written with visual studio.net and that does not use code-behind?

634


Can we have multiple web config files for an asp.net application?

623


Explain an object, class and method.

644


What is a 401 redirect?

601


What are sessions used for?

646


Do you know caching feature?

656


Explain about secure socket layer?

615


Explain the different parts that constitute ASP.NET application?

648


Do gac'ed assemblies have fulltrust?

740