I\'m working on a web app and I don\'t want to store the connection strings in the web or app config because of the requirements.
i have mvc2 project and i make custom role Provider I\'m using attributes [Authorize(Roles = \"Admin\")] to prevent an authorized user from doing some actions
I\'ve implemented a custom role provider, and configured it in my web.config file like this: <roleManager enabl开发者_StackOverflow社区ed=\"true\" defaultProvider=\"TDRoleProvider\" cacheRolesInCo
In real-world enterprise web applications for enterprise businesses, we always need to limit the access to the data by the user\'s unit and role.
I have two level authentification, first the user enters their nt/password and it is validated by LDAP and afterward I have a custom role provider that make sure the user has access to said page.
I am trying to make the move from PHP to ASP.NET. I have about 10 years experience with PHP, and 4 with C#.
I have custom SiteMapProvider and RoleProvider that works together properly: IsAccessibleToUser returns false if current user\'s role isn\'t mentioned in SiteMapNode.Roles for page requested.
I\'m trying to use this article to learn about custom roleproviders, but I\'m getting this error: Could not load type \'TestRoles.SimpleRoleProvider\'.
I have created my own custom role provider class \"SGI_RoleProvider\" and configured properly. Everything is working fine.
I\'m implementing role based security using Microsoft\'s membership and role provider. The theoretical problem I\'m having is that you implement a specific role on a method such as: