Role based security
-
Hello, I am in the process of building a web application for our company. The entire application will be driven by the different buisness users we have set up. Like Finance, HR, Marketing. So, folks belonging to that unit should be able to access their areas. In the past I did this using SQL server, set up tables having roles and then assigned users to that role. It was pretty laborious. This was in VS2005. Is there something already re-built into VS 2010? Any other approaches? Much appreciated! Thanks!
-
Hello, I am in the process of building a web application for our company. The entire application will be driven by the different buisness users we have set up. Like Finance, HR, Marketing. So, folks belonging to that unit should be able to access their areas. In the past I did this using SQL server, set up tables having roles and then assigned users to that role. It was pretty laborious. This was in VS2005. Is there something already re-built into VS 2010? Any other approaches? Much appreciated! Thanks!
I think the ASP.NET membership API is the way to go. It is still the same as you did in vs2005. But you have an option of using the default membership APIs(in which case you only need to configure roles using WSAT and the frontend/backend stuff will be done for you automatically). or you can have your own tables and implement custom form based authentication. Here is the link for fist approach: Understanding ASP.NET Roles and Membership - A Beginner's Tutorial[^] Here is for the second approach: Understanding and Implementing ASP.NET Custom Forms Authentication[^]
Twenty years from now you will be more disappointed by the things that you didn't do than by the ones you did do. So throw off the bowlines. Sail away from the safe harbor. Catch the trade winds in your sails. Explore, Dream. Discover.
-
I think the ASP.NET membership API is the way to go. It is still the same as you did in vs2005. But you have an option of using the default membership APIs(in which case you only need to configure roles using WSAT and the frontend/backend stuff will be done for you automatically). or you can have your own tables and implement custom form based authentication. Here is the link for fist approach: Understanding ASP.NET Roles and Membership - A Beginner's Tutorial[^] Here is for the second approach: Understanding and Implementing ASP.NET Custom Forms Authentication[^]
Twenty years from now you will be more disappointed by the things that you didn't do than by the ones you did do. So throw off the bowlines. Sail away from the safe harbor. Catch the trade winds in your sails. Explore, Dream. Discover.
Hi, I was able to add roles and users to this roles. With in Visual Studio, I went to website, ASP.Net configuration and was able to add the users. I was able to do this locally on my laptop. I have set up a web site on a web server, having IIS 7. How can I access this same screen on the web server? Thanks!