IT Community - Software Programming, Web Development and Technical Support

VB.net Security

This is a discussion on VB.net Security within the VB.NET Programming forums, part of the Software Development category; Is VB.net secured? Could anyone expound as how could it facilitate to having a heavy security for its' users....


Go Back   IT Community - Software Programming, Web Development and Technical Support > Software Development > VB.NET Programming

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 04-05-2007, 01:07 PM
nhoj nhoj is offline
D-Web Programmer
 
Join Date: Apr 2007
Posts: 96
nhoj is on a distinguished road
Default VB.net Security

Is VB.net secured? Could anyone expound as how could it facilitate to having a heavy security for its' users.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 04-06-2007, 01:50 AM
Karpagarajan Karpagarajan is offline
D-Web Analyst
 
Join Date: Mar 2007
Posts: 299
Karpagarajan is on a distinguished road
Thumbs up Re: VB.net Security

In the .NET world, Mscorcfg.msc and Caspol.exe can be used to modify all aspects of security configuration.

.NET defines machine-wide and application-specific configuration files, and allows for enterprise, machine, and user security policy configuration, whose intersection provides the effective policy for the executing user. These file have fixed names and locations, most of them residing under the Common Library Runtime (CLR) tree, at: %CLR install path%\Config

For .NET v1.1, the location is: C:\WINNT\Microsoft.NET\Framework\v1.1.4322\CONFIG.

Multiple versions of CLR may co-exist on the same computer, but each particular version can have only a single installation. Since security policy files cannot be specified as runtime parameters of .NET applications, this centralized approach hurts co-existence when applications require conflicting policy settings.

Three security configuration files (enterprise, machine, and user) contain information about configured zones, trusted assemblies, permission classes, and so on. The general machine configuration file, on the other hand, contains machine-wide settings for algorithms, credentials, timeouts, and so on. Additionally, certain parameters (for instance, ASP.NET authentication/authorization parameters) can be configured or overriden in the application configuration file. The files' names and locations are listed below:

  • User security configuration file: %userprofile%\Application data\Microsoft\CLR security config\vxx.xx\Security.config
  • Machine security configuration file: %CLR install path%\Config\Security.config
  • Enterprise security configuration file: %CLR install path%\Config\Enterprisesec.config
  • Machine configuration file: %CLR install path%\Config\machine.config
  • Application configuration files: <AppName>.exe.config (or Web.config for ASP.NET) in the application or web project's main directory


In .NET, CLR always executes natively compiled code; it never interprets it. Before IL is compiled to native code, it is subjected to validation and verification steps. The first step checks the overall file structure and code integrity. The second performs a series of extensive checks for memory safety, involving stack tracing, data-flow analysis, type checks, and so on. No verification is performed at runtime, but the Virtual Execution System (VES) is responsible for runtime checks that type signatures for methods are correct, and valid operations are performed on types, including array bounds checking. These runtime checks are accomplished by inserting additional code in the executing application, which is responsible for handling error conditions and raising appropriate exceptions. By default, verification is always turned on, unless SkipVerification permission is granted to the code.

thanks
__________________
Karpagarajan. R
Necessity is the mother of invention
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Security in PHP rekhaa PHP Programming 153 09-24-2008 07:56 AM
PHP security jegan PHP Programming 1 08-29-2007 04:52 AM
Sql Security vadivelanvaidyanathan Database Support 1 08-09-2007 08:51 AM
Security for ASP.net nhoj ASP and ASP.NET Programming 0 04-09-2007 09:19 AM
eBay Security nhoj eCommerce 0 04-03-2007 12:00 PM


All times are GMT -7. The time now is 06:41 AM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0