检测视图状态篡改 [英] Detecting viewstate tampering

查看:124
本文介绍了检测视图状态篡改的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

它已经看到,该视图状态已经改变了我的asp.net项目。反正是有检查我的ViewState是否已被篡改? (最好用C#)

It has been seen in my asp.net project that the viewstate has changed. Is there anyway to check whether my ViewState has been tampered with? (ideally with C#)

推荐答案

有在mecanism构建,检查视图状态篡改攻击。

There is a build in mecanism that checks the viewstate for tamper attacks.

您获得的视图状态对于此页面无效,可能已损坏异常并怀疑篡改?当你回发之间移除控件采取了这一例外。

Are you getting The view state is invalid for this page and might be corrupted exception and suspecting tampering ? this exception taken when you remove controls between postbacks.

这篇关于检测视图状态篡改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆