Role-Based Security
Security roles can be supported at the method, class, assembly, and interface levels. As you start to implement different levels of security, you will start to see the power of role-based security. Often in the development process, people look for ways to reuse components. One way to accomplish this is to use the same components but restrict access to portions of the information based on what role the users are in.
As an example, roles would be useful in an application used by stockbrokers. The application might restrict the type of transaction being processed, depending on whether the user is a stockbroker or a manager. Stockbrokers might have authorization to purchase only 1,000 shares of stock, whereas the managers might ...
Get Debugging ASP.NET now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.