C#
  Home arrow C# arrow Implementing Role Based Security using C#
Iron Speed
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
ASP Web Hosting  
ASP.NET Web Hosting 
Dedicated Servers 
Actuate Whitepapers 
VeriSign Whitepapers 
Windows Web Hosting
 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
C#

Implementing Role Based Security using C#
By: Victor Stachura
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 15
    2006-03-29

    Table of Contents:
  • Implementing Role Based Security using C#
  • Declarative and Imperative Security
  • Now you have a WindowsPrincipal Object. So what?
  • Design Principles to Implement Role Based Security

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT

    AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th -1:00PM EST. Register Today!

    Implementing Role Based Security using C#


    (Page 1 of 4 )

    Role Based Security (RBS) is part of Microsoft's effort to improve the security of its products and developer tools. It involves granting permissions based on a user's role(s) and groups as defined in their Windows account. It increases your chances of preventing unwanted access to or behavior of your application.

    It is no secret that Microsoft has taken their lumps for security “issues” in their operating systems, Internet Explorer, ActiveX controls and IIS.  To address the issue Microsoft is mounting a Herculean effort with people, time and money, to dramatically improve the overall security landscape of their products and developer tools.  The best place to find the latest developer security information is the MSDN Security Developer Center.  There you’ll find links to the essential security articles that should be required reading for every developer:

    Improving Web Application Security: Threats and Countermeasures

     Building Secure ASP.NET Applications

    Security Tips Every Developer Must Know

    Security in the .NET Framework

    The area I’d like to explore in this article is coding for Role Based Security (RBS).  Role Based Security involves granting permissions based on a user’s role(s) and groups as defined in their Windows account.  As a developer you have the ability to restrict access to parts of your application according to the user’s account settings.  No security scheme is perfect, but by implementing multiple levels of security you increase your chances of preventing unwanted access to or behavior of your application.

    More C# Articles
    More By Victor Stachura


       · This article was a great eyeopener for me. Thx.But .. I have a case where I need...
     

    C# ARTICLES

    - Exceptions in C#
    - Overriding versus Overloading
    - Value Types and Reference Types
    - Defining Member and Type Visibility
    - Managing Files in C#
    - Working with Windows Registry in C#
    - Lossless Image Resizing in C#
    - Lossless Image Converting in C#
    - Creating an RSS Feed with ASP.Net Written in...
    - Polymorphism in C#
    - Inheritance in C#
    - C# Events Explained
    - C# Delegates Explained
    - C# StreamReader and StreamWriter Explained
    - C# FileStream Explained





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway