For a webapplication if i want to gice access controls like
admin,users how can i give security like rolebased?

Answers were Sorted based on User's Feedback



For a webapplication if i want to gice access controls like admin,users how can i give security lik..

Answer / 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

For a webapplication if i want to gice access controls like admin,users how can i give security lik..

Answer / guest

For a webapplication if i want to gice access controls like
admin,users how can i give security like rolebased?

Is This Answer Correct ?    18 Yes 29 No

Post New Answer

More ASP.NET Interview Questions

How to turn off cookies for a page?

0 Answers  


Which is the best institute to learn Microsoft Technologies and the faculty if you Know?

0 Answers   TCS,


Describe the diffeerence between inline and code behind - which is best in a loosely coupled solution?

0 Answers  


can i inherit one web applications into another web applications in asp.net?

7 Answers  


If I'm developing an application that must accommodate multiple security levels though secure login and my ASP.NET web application is spanned across three web-servers (using round-robin load balancing) what would be the best approach to maintain login-in state for the users?

7 Answers   Syntax Softtech,






how can you handle "control is not part of this page " error?

3 Answers   FactorH,


Explain what is clr?

0 Answers  


How to implement form based authentication in asp.net application?

0 Answers  


What is the life cycle of web page?

0 Answers  


What are the namespaces used in asp.net mvc? : asp.net mvc

0 Answers  


What is the use of web.config and machine.config files?

0 Answers   Amdocs,


Define session in asp.net.

0 Answers  


Categories