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 enableviewstate in asp net?
Is asp.net is a programming language?
How can you handle exceptions in asp.net?
Why do we use web config?
What is the use of autowireup in asp.net?
Explain weak typing and strong typing.
Do session use cookies in asp net?
When we use cookie less session? Explain its working?
What are the security types in asp.net?
What is the difference between globalization and localization?
How can we provide the WebParts control functionality to a server control?
Who can consume WebAPI?
Explain the benefits of viewstate?
What is syntax code to send email from an asp.net application?
If 200 is for all successful operation then why do we have 201 response codes?