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

in which protocol ASP.NET WEB API Work?

616


What is difference between asp state management and asp.net state management?

574


What is viewstate parameter?

525


What is a server cookie?

501


How to implement globalization and localization in the use interface in .net.

538






What are validator? Name the validation controls in asp.net? How do you disable them? Will the asp.net validators run in server side or client side? How do you do client-side validation in .net? How to disable validator control by client side javascript?

554


How is the asp.net mvc architecture different from others? : asp.net mvc

490


Explain different authentication modes in asp.net?

552


What is voluum?

544


What is break mode?

515


What is mvc in angular?

565


Which two new properties are added in asp.net 4.0 page class?

529


Explain the difference between inline and code behind - which is best in?

508


What is the importance of Global.asax in ASP.NET?

555


What’s the catch?

626