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
in which protocol ASP.NET WEB API Work?
What is difference between asp state management and asp.net state management?
What is viewstate parameter?
What is a server cookie?
How to implement globalization and localization in the use interface in .net.
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?
How is the asp.net mvc architecture different from others? : asp.net mvc
Explain different authentication modes in asp.net?
What is voluum?
What is break mode?
What is mvc in angular?
Which two new properties are added in asp.net 4.0 page class?
Explain the difference between inline and code behind - which is best in?
What is the importance of Global.asax in ASP.NET?
What’s the catch?