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

Who can consume WebAPI?

0 Answers  


If I have more than one version of one assemblies, then how will I use old version (how/where to specify version number?) In my application?

0 Answers  


I have got less marks in bsc it So how to get interview.tell me

1 Answers  


Define view state.

0 Answers  


What are sharepoint pages?

0 Answers  






Which property on a Combo Box do you set with a column name, prior to setting the DataSource, to display data in the combo box?

2 Answers   Siebel Systems,


What is advantage of code behind coding in ASP.NET?

0 Answers   Sans Pareil IT Services,


Define cookie.

0 Answers  


What is Web API Routing?

0 Answers  


You have multiline textbox and submit button. if you paste xml content into multiline textbox and hit submit button. what action will perform?

6 Answers   D&B,


What are the security types in ASP/ASP.NET? Different Authentication modes?

0 Answers  


Which type of state management is provided by Query String in ASP.NET?

0 Answers   Sans Pareil IT Services,


Categories