Extending security classes to work with own objects

Hello!

.NET framework 2.0 introduced System.Security.AccessControl namespace to do different task related to security.

Is there any way to extend its (or maybe other) functionality to work with user created objects

I explain result I want to achieve.

For example, we have FileSecurity class to maintain file permissions. Also we have registry database which internally also file but from logical view it gives a set of security rights applied to objects it contains. So I want to make my own storage with my own hierarchy of objects and my own rights but use to manipulate, create, modify and related task .NET FCL. Is it possible Or I have to create my own mechanics to achieve this

Thank in advance!

Best regards,

    Nick Martyshchenko.

 

P.S. So no ideas



Answer this question

Extending security classes to work with own objects