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
Explain the difference between asp.net mvc and asp.net webforms? : asp.net mvc
How do you declare static variable? What is its lifetime?
How to do state management in ASP.NET?
how to retrieve property settings from xml .config file.
What are the types of authentication in asp.net?
How do we implement bundling in MVC?
What is difference between ispostback and autopostback in asp net?
How about the security in Activex DLL and Activex EXE ?
What ports must be open for DCOM over a firewall? What is the purpose of Port 135?
What is the default Orientation property in a Menu control?
Why would a company use an application service provider?
Explain the difference between server control and html control.
What is difference between asp.net and asp.net mvc? : Asp.Net MVC
Write code to send e-mail from an asp.net application?
Can we add code files of different languages in app_code folder?