I am struggling to choose what to use for authentication and authorization for my .Net application. I am using ASP.Net MVC with C#. In Java I find Spring Acegi Securiyy very easy and good to implement to secure urls, hide menus and button and even secure my methods.
Also I would be using windows Active directory to store user profile.
What is available in .Net world which is similar to Spring Acegi. Anyway here is what I want -
- XML type configurations to secure urls based on roles, i.e. only Admin role can access /admin/* pages, etc.
- On UI I want to hide menus and buttons based on role like if (role is Admin) showButton.
- Although above stuff is enough but I would like to secure my business layer as well. Its because I have exposed a webservice as well.
I know I can write a custome one but why to re-invent the wheel if some .net library is available.