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

version information is mentioned in which file

3 Answers   AG Technologies,


About CLS and CTS ?

3 Answers   Microsoft,


What are the namespace classes used in asp.net mvc? : asp.net mvc

0 Answers  


Explain the main function of razor in asp.net? : asp.net mvc

0 Answers  


What are the types of validation in asp net?

0 Answers  


What is the result when the Web Form containing the following line is complied and executed? <asp:Button id=?thebutton? onClick=?theEvent? /> a) The button control is created; theEvent is the click event handler. b) Compiler error; the control must be set to runat=?server?. c) Compiler error; onClick is not a valid attribute. d) Runtime Exception; the control must be set to runat=?server?.

3 Answers   Syntax Softtech,


WHAT IS OBJECT POOLING

2 Answers   Fidelity,


How does the iis work?

0 Answers  


A web service can only be written in .net? State whether true or false.

0 Answers  


What is asp.net architecture?

0 Answers  


What does asax stand for?

0 Answers  


What are skins?

1 Answers  


Categories