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

What do you mean by query string?

0 Answers  


Write some code using interfaces, virtual methods, and an abstract class`

0 Answers  


What is session and application variable in asp net?

0 Answers  


How do you design a website with multilingual support in ASP.NET ?

0 Answers   MCN Solutions,


What is State Management in .Net and how many ways are there to maintain a state in .Net? What is view state?

0 Answers  


What is authentication in asp.net?

0 Answers  


Explain what is postback in asp. Net?

0 Answers  


What is the default timeout for a cookie?

0 Answers  


can i call the java script to code behind file?if yes how?

4 Answers   Wipro,


How to call a child form method from the master page?

1 Answers  


What is http post action?

0 Answers  


How Session use Cookies in State Management?

0 Answers  


Categories