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 do you do validations. Whether client-side or server-side validations are better.?

5 Answers   Microsoft,


What is the Difference between Web.config and global.asax? Can we write connection String code in global.asax?

10 Answers   Microsystems,


What is web.config and machine.config ?

1 Answers   Patni,


How to use push notification?

1 Answers   MCN Solutions,


Define globalization and localization.

1 Answers  


if we establish the cinnection with connection string tag in web.config file,can i go for encrypt and decrypt with that?

1 Answers  


What are the Types of object in asp

1 Answers   BirlaSoft,


What is the use of worker process in asp.net?

1 Answers  


Usage of web.configuration ?

3 Answers   Microsoft,


I have an excel file with data, i am importing this excel file data into Sqlserver 2005 database. while importing i am getting wrong data(ie, special characters) in one column(description column), upto some limit the data in that column is coming fine,after that data is coming like below. The "Walter" leather storage bench is one of our most popular styles. The top with the tufting and double stitching finish a very impressive piece. The size is perfect in front of beds and the storage adds another functional bonus. Open it up and sneak al���Ƴ�Â��ƴ�Ã��ƶ�Å�� al���Ƴ�Â��ƴ�Ã��ƶ�Å�� Is there anywhy to resolve this? (I am using recordset in coding for developing import process.) please help me soon.

1 Answers  


What is difference between viewstate and session in asp net?

1 Answers  


Types of objects in ASP ?

2 Answers   Microsoft,


Categories