Hello Friends,
I can give security to my application using Form Authentication ticket and role based security. I followed the approach in this link.
http://www.codeproject.com/Articles/2905/Role-based-Security-with-Forms-Authentication
My doubt is whether I could achieve the same using Membership, Role class of asp.net? Means without creating Form Authentication ticket, can I add the users and their role into these classes and can use the same web.config like in that link?
<configuration>
<system.web>
<authentication mode="Forms">
<forms name="MYWEBAPP.ASPXAUTH"
loginUrl="login.aspx"
protection="All"
path="/"/>
</authentication>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
<location ...
Go to the complete details ...