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 do you insert multiple rows from a grid view to database table under a single transaction?

1 Answers  


What is ViewState ? and how it is managed ?

1 Answers  


In What Order Do The Events Of An Aspx Page Execute. As A Developer Is It Important To Undertsand These Events?

0 Answers   Siebel Systems,


Explain the scenario where we go for inpro and outpro session?

3 Answers  


Can we create a multiple user simultaneously ?

0 Answers   MCN Solutions,






how can u create the blog in asp.net with C#?what is the data type u will use to store in sql server?

0 Answers   IBM,


How about the security in Activex DLL and Activex EXE ?

0 Answers   DELL,


How would you turn off cookies on a page of a website?

0 Answers  


What is the difference between appsetting and connectionstring tags in web.config file

2 Answers   HCL, TCS,


I am using a range validator and want to use dd mm yyyy format for accepting dates. I get a fairly generic "can't do that" type exception when I use this format for setting the minValue or maxValue properties for the range validator. How can I force it to accept my format?

1 Answers   FutureTech,


accessing a textbox that was created dynamically? for (int i = 0; i < t1; i++) { TextBox t2 = new TextBox(); t2.ID = "adf" + i; PlaceHolder1.Controls.Add(t2); } accessing data entered in the above created controls.

1 Answers  


What are the different methods of session maintenance in asp.net?

0 Answers  


Categories