how to write code for role based security

Answers were Sorted based on User's Feedback



how to write code for role based security ..

Answer / saurabh gupta

It can be easily implemented using the Web.config file,
there are two types of the paths that are present one is
for the location path and the other is for role enabled. We
can also specify the access rules for implementing role
based security in ASP.Net 2.0.

Is This Answer Correct ?    1 Yes 0 No

how to write code for role based security ..

Answer / raju

By using XMLfile we can implement rolebased security...I
mean Custom XMLfile only.....in XMlfile we can mention all
pages....for those pages we need to mention some values
(means whether he is authorized r not).....while loading
the page we can check in that XML file....whether the
entered Person is authenticated r not...

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

How can we create custom controls in asp net?

0 Answers  


How to Open any web page by clicking any Any ASPControl like (Checkbox,radio button or Button) without calling its event and without going to Siverside code?

5 Answers   LG Soft,


how many session modes are available?some brief explnation

1 Answers  


How to create events for a control?

0 Answers  


How Can assign alias name for ASP.NET Web API Action?

0 Answers  






What do you mean by serialize?

0 Answers  


ASP.NET Web Service

1 Answers  


Explain program to call the js function when the change is being made in the dropdown list made in asp.net mvc? : asp.net mvc

0 Answers  


How do you insert multiple rows from a grid view to database table under a single transaction?

1 Answers  


• What Session State providers are available in ASP.NET? What are the pros and cons of each?

2 Answers   Infosys,


What do you mean by authorization?

0 Answers  


What are validator? Name the validation controls in asp.net?

0 Answers  


Categories