ASP.NET - how to build generalized module for security of web applixation

Asked By rahul patil on 01-Aug-12 08:33 AM
i want to build a module that will be used for all websites means a general purpose module

functionality of module includes
User Groups
Access permissions but i have no idea how to implement that module and where to start how to design database

can any one provide guidance for that means the steps like create database with ...tables , create web page for ...

also any suggesstions will be most welcome
and also how that module will help for general purpose for providing security to websites

Peter Bromberg replied to rahul patil on 01-Aug-12 12:54 PM
I would start with the standard ASP.NET Membership and Roles providers. This code is already provided for you. So instead of reinventing the wheel, all you need to do is learn how to use it. Security is usually tied to particular roles.