天涯之外

导航

2009年4月25日 #

asp.net 防SQL注入

摘要: 一:一个方法 /// ///SQL注入过滤 /// /// 要过滤的字符串 /// 如果参数存在不安全字符,则返回true public static bool SqlFilter2(string InText) { string word = "and|exec|inser... 阅读全文

posted @ 2009-04-25 17:51 天涯之外 阅读(196) 评论(0) 推荐(0) 编辑