What is meant by ValidateRequest [Resolved]

Posted by Sabarimahesh under C# on 3/22/2012 | Points: 10 | Views : 1316 | Status : [Member] | Replies : 8
This is also a interview questions

Kindly Give ur valuable Answers Guys

Life is a Race
Thanks & Regards
By
Sabari Mahesh P M



Responses

Posted by: Patel28rajendra on: 3/23/2012 [Member] Starter | Points: 50

Up
0
Down

Resolved
Hi

If you read that link which i have given you will get In Which Situation ValidateRequest useful

Thanks

Please Mark as Answer if it helps



R D Patel

Sabarimahesh, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Patel28rajendra on: 3/22/2012 [Member] Starter | Points: 25

Up
0
Down
Hi

ValidateRequest

is used to prevent Script Attacks

It is designed to help for preventing some script-injection attacks

R D Patel

Sabarimahesh, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Patel28rajendra on: 3/22/2012 [Member] Starter | Points: 25

Up
0
Down
Hi

for more details you should visit this link

http://www.asp.net/whitepapers/request-validation

R D Patel

Sabarimahesh, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Rajni.Shekhar on: 3/22/2012 [Member] Bronze | Points: 25

Up
0
Down
Hi
refer link
http://forums.asp.net/p/1577523/3965770.aspx

Thanks,
Rajni Shekhar

Sabarimahesh, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sksamantaray on: 3/22/2012 [Member] Silver | Points: 25

Up
0
Down
Yes it is used to prevent script attacks but does not work in 4.0. you can not set it to true.
For more read;
http://www.dotnetfunda.com/codes/code871-change-in-validaterequest-in-aspnet-40.aspx

Thanks,
Sanjay

Sabarimahesh, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sabarimahesh on: 3/23/2012 [Member] Bronze | Points: 25

Up
0
Down
Patel28rajendra

Thanks Man

Life is a Race
Thanks & Regards
By
Sabari Mahesh P M

Sabarimahesh, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sabarimahesh on: 3/23/2012 [Member] Bronze | Points: 25

Up
0
Down
Sksamantaray


In Which Situation ValidateRequest useful


Life is a Race
Thanks & Regards
By
Sabari Mahesh P M

Sabarimahesh, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sabarimahesh on: 3/23/2012 [Member] Bronze | Points: 25

Up
0
Down
Rajni.Shekhar

tHANKS maN

I VISITED THIS LINK BEFORE

Life is a Race
Thanks & Regards
By
Sabari Mahesh P M

Sabarimahesh, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response