05 2008 档案
sql防注入正则
摘要:using System.Text.RegularExpressions; arg="abc and"; str_Regex = ".*(=|and|exec|insert|select|delete|update|count|chr|mid|master|truncate|char|declare).*" if (Regex.Matches(arg,str_Regex).Count 0) return false; 阅读全文
posted @ 2008-05-06 23:57 阿米 阅读(705) 评论(0) 推荐(0)