O'Reilly logo

Security for Microsoft® Visual Basic® .NET by Michael James Bond, Ed Robinson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Run Your Code in Different Security Zones

When you run your Visual Basic .NET application, the .NET code-access security system gives your application a set of permissions. For example, if you create an executable and run it on your own computer, the .NET code-access security system gives your application permission to execute, read values from the registry, create files, and so forth. In fact, your application is given all the permissions available. Because your application is given by the code-access security model full, unfettered access to the resources it needs, it will run without error as you would expect—so long as the application performs actions that you as a logged-on Windows user are allowed to perform. (Remember that OS security restrictions ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required