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 difference between client-side and server-side validations in webpages?

0 Answers  


What is the difference between page.registerclientscriptblock and page.registerstartupscript?

0 Answers  


my name is sumeetha i am using google gears in .net.what's the problem is my server is in another place. i am working here when i entered the values in textboxes and press enter then it should store in database(sql server) which is in another system.when that sever system is shutdown then the values which i submit should store in my system and after system opened it should automatically store the values in the system can any one plz urgent suggest answer for this question?

2 Answers  


Why is validation always done on the server? When does that occur?

2 Answers  


How to save Link of a Webpage in excel sheet?

1 Answers   HCL, NIIT,


define silverlight and advantages ?

3 Answers   QA,


why security trimming attribute?

1 Answers  


Can you explain what inheritance is and an example of when you might use it?

4 Answers   Siebel Systems,


Explain difference between dataset and datareader?

0 Answers  


Why is xap important?

0 Answers  


Why do we need asp.net?

0 Answers  


About Garbage Collector?

3 Answers   Microsoft,


Categories