For a webapplication if i want to gice access controls like
admin,users how can i give security like rolebased?

Answer Posted / nezam

In Web Application, we have Roles with that roles we can assign access the to users. we can create n no of roles.

Roles Can be such as
-Guest users
-premium users
-non premium users
-admin user
so when the users logins .the login control checks what kind of role he is and the page is redirect to him.

If he is admin then he is taken admin master page.

like tat its works.

For creating Roles in my point of view we have to use the login controls which is avaiable in tool box. with that login controls oly we can assign roles, check roles and many others things can be done.

Is This Answer Correct ?    12 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between asp.net mvc and asp.net webforms? : asp.net mvc

629


How do you declare static variable? What is its lifetime?

596


How to do state management in ASP.NET?

682


how to retrieve property settings from xml .config file.

634


What are the types of authentication in asp.net?

619






How do we implement bundling in MVC?

705


What is difference between ispostback and autopostback in asp net?

609


How about the security in Activex DLL and Activex EXE ?

1886


What ports must be open for DCOM over a firewall? What is the purpose of Port 135?

1969


What is the default Orientation property in a Menu control?

617


Why would a company use an application service provider?

579


Explain the difference between server control and html control.

581


What is difference between asp.net and asp.net mvc? : Asp.Net MVC

573


Write code to send e-mail from an asp.net application?

645


Can we add code files of different languages in app_code folder?

705