How Every User manage his privacy ?

Aug 12, 2009 at 7:02 AM

Hi Andrea,

I have Question ,

we have a list of users and every user have a content (files,images,....) we need every user to manage his privacy

like that

user X1 say :

 X2 can  view only my content 

X3 can  view and delete  my content

how i impmemnt this logic with Netsqlazman



Aug 12, 2009 at 7:07 AM


yes … using Attributes on User Authorization.


“Allow” to user “U1” on Role “R1” è Attributes è Add è Attribute Key: “Action”, Attribute value: “delete my content”.

At run time the CheckAccess method return “Allow” and a List<KeyValuePair<string, string>> of all user authorizations attributes.

The final authorization is the logical AND between the “CheckAccess resulted AuthorizationType” AND your attribute checking.



Andrea Ferendeles
NetSqlAzMan Project Coordinator  
E-mail Web

Aug 12, 2009 at 7:53 AM

Thank you for your fast reply