Click or drag to resize
SqlSecurityHelper Methods

The SqlSecurityHelper type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCheckQuery
Checks part of a query (or whole query) for malicious code. Returns TRUE if query contains just a SELECT statement.
Public methodStatic memberGetColumnsRegEx
Gets the regular expression for the safe value of COLUMNS clause.
Public methodStatic memberGetOrderByRegEx
Gets the regular expression for the safe value of ORDER BY clause.
Public methodStatic memberGetWhereRegEx
Gets the regular expression for the safe value of WHERE condition.
Top
See Also