使用esapi验证Web表单中的输入文本 [英] Validating input text in web forms with esapi
问题描述
如何使用ESAPI来检查Web表单中不安全的输入文本?我的应用程序是使用struts 1.X构建的,因此我假设应该将验证添加到Actions类.您是否推荐任何样本/教程?谢谢.
how could I use ESAPI to check for unsafe input texts in web forms ? My application is built using struts 1.X, so I assume the validations should be added to Actions classes. Any samples / tutorials you recommend ? Thanks.
推荐答案
对于特定的东西,通常不会有很好的教程.
For something as specific as that there is not usually going to be great tutorials out.
希望我对此有误,但我不得不建议他们的维基由于缺乏良好的资源.
Hopefully I am wrong about this, but I would have to suggest their wiki due to lack of good resources.
我一直在寻找适合您的输入验证...似乎他们自己都没有.我也找不到任何信息.下面的视频可能有它,或者如果没有真正好的回答,我会通过电子邮件发送给他们.他们应该能够为您指明正确的方向……如果您这样做,我们就会全力以赴,并要求他们更新其Wiki!
I was looking to find input validation for you... seems they don't even have that up themselves. I coudn't find any information on it either. The videos below might have it or I would email them if it provides no real good answer. They should be able to put you in the right direction... and if you do that do us all a favor and demand they update their wiki!
电子邮件:jeff.williams%owasp.org@gtempaccount.com(领导者,所有者)
Email: jeff.williams%owasp.org@gtempaccount.com (Leader, owner)
由于该电子邮件看上去不正确,尽管我也将对此邮件进行检查.
Since that email doesn't look right though I would also check this one.
电子邮件:kevin.w.wall@gmail.com(所有者,加密库的编码者)
Email: kevin.w.wall@gmail.com (Owner, coder of crypto libs)
这些可能会对您有所帮助的youtube视频.他们甚至提到他们并不是教您如何使用ESAPI的好资源,但是他们表示希望在这四个视频中解决此问题.
Their are these youtube video's that might help. They even mention that their are not a lot of good resources to teach you how to use ESAPI, but said they hope to fix that in these four videos.
- http://www.youtube.com/watch?v=suphwAsb-To
- http://www.youtube.com/watch?v=13O9RyjuB3o
- http://www.youtube.com/watch?v=_B2kv2mSJhE
- http://www.youtube.com/watch?v=mMW4fiUI5kQ
- http://www.youtube.com/watch?v=suphwAsb-To
- http://www.youtube.com/watch?v=13O9RyjuB3o
- http://www.youtube.com/watch?v=_B2kv2mSJhE
- http://www.youtube.com/watch?v=mMW4fiUI5kQ
希望有帮助!
这篇关于使用esapi验证Web表单中的输入文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!