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

Are xaml file compiled or built on runtime?

0 Answers  


how to write code for role based security

2 Answers  


What is Partial in ASP.NET 2.0?

2 Answers   Fulcrum Logic,


Asp pages that worked pefectly on windows 2000 server and iis 5.0 do not work on windows 2003 server with iis 6.0. Asp.net pages work fine. Why?

0 Answers  


What are the different modes for the sessionstates in the web.config file?

2 Answers  


What namespace does the Web page belong in the .NET Framework class hierarchy?

3 Answers   Siebel Systems,


Any alternative to avoid name collisions other then Namespaces?

1 Answers  


For which does this Codebehind="MyCode.aspx.cs" is relevent to ?

0 Answers   Siebel,


What is Bundling and Minification in MVC?

0 Answers   HCL,


What is state management techniques in asp.net?

0 Answers  


What is csrf attack in asp.net?

0 Answers  


What is early binding and Late binding. Difference which is better ?

2 Answers   DELL,


Categories