Security Framework Implementation
- From: "Sam.Net" <sameer_mowade@xxxxxxxxxxxxxxxx>
- Date: Thu, 17 Nov 2005 11:21:20 +0530
hello all,
I am creating the security framework for one project. There is one security
check I want to perform.
That only the users with perticular role will be able to create object of
perticular class. Structure I am thinking of is as follows
[Permission("Admin")]
public class ABC
{
------
-------
}
Now I want to check this attribute some where in security manager. How do I
notify new object creation of ABC to Security manager I dont want keep
security related code in ABC. So that the entites will be unaware of any
security checks. And I want it to be declearative. Also I dont want to use
Unmanaged code to put this check and also the framework does not use code
access security
Thanks in advance
.
- Follow-Ups:
- Re: Security Framework Implementation
- From: Wiktor Zychla [C# MVP]
- Re: Security Framework Implementation
- Prev by Date: RE: XMLSerializer and SqlParameter in .NET 2.0 vs .NET 1.1
- Next by Date: About Environment.UserDomainName
- Previous by thread: question on system.net.mail.snmpt
- Next by thread: Re: Security Framework Implementation
- Index(es):
Relevant Pages
|