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
What are the asp.net list controls and difference between them?
What are cao and sao.
What does occur first in ASP.Net, Authentication or Authorization?
Can the validation occurs in server-side or client-side? If the validation occurs why should we do?
What is a session http?
What is state management techniques in asp.net?
What is an il?
What are the namespaces used in asp.net mvc? : asp.net mvc
List the types of authentication supported by asp.net?
What does the orientation property do in a menu control?
Describe the differences between the lifecycles of Windows services and Standard EXE?
What is server side routing?
How can I create master page in asp net?
What is difference between View State and Hidden Field in ASP.NET?
What are sessions in asp net?