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 is the name of the process the browser uses to find the address of a web server? a) DMZ b) DNS c) Active Directory d) Database lookup

1 Answers   Syntax Softtech,


where the stored procedure are written in business logic or data acess layer?

2 Answers  


can any one tell about web services?

5 Answers  


What is the difference between session state and session variables ?

6 Answers   Digital GlobalSoft,


What is the main difference between Asp.net and Vb.net?

0 Answers  






i have one gridview contains edititemtemplate(which contains update and cancel buttons) and i have one item template (contains edit button) i want the code for update and cancelbuttons in edit item template and i want the code for edit button in itemtemplate. please help me

4 Answers  


How do I upload a file from my ASP.NET page?

0 Answers  


What are the uses of list view control in Asp.net?

0 Answers   HCL,


What is cross page posting? How is it done?

0 Answers  


How do you handle session management in ASP.NET and how do you implement them. How do you handle in case of SQLServer mode ?

0 Answers   Microsoft,


What will happen if the server confugration file and the application confugration file have different values for sassion state ASP.NET?

0 Answers   HCL,


What is the purpose of App_Code folder in ASP.NET? Why we this?

0 Answers   Sans Pareil IT Services,


Categories