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 is custom events? How to create it?
What is paging in context of Memory?
What are HTTP handlers in ASP.NET?
What is server infrastructure?
What do you mean by serialize and marshalbyref?
What are the namespaces used in asp.net mvc? : asp.net mvc
What is a user developed application?
How to unit test Web API?
Do cookies store passwords?
How is my content secured from unauthorized access?
What New Features comes with ASP.NET Web API 2.0?
What parameters can you pass in the url of the api?
What is the difference between a candidate key and primary key?
What are the Types of objects in ASP
Explain the asp.net mvc folder conventions? : asp.net mvc