| SqlSecurityHelper Class |
Namespace: CMS.DataEngine
public static class SqlSecurityHelper
The SqlSecurityHelper type exposes the following members.
| Name | Description | |
|---|---|---|
| ColumnsRegex |
Regular expression to check security of COLUMNS clause.
| |
| OrderByRegex |
Regular expression to check security of ORDER BY clause.
| |
| WhereRegex |
Regular expression to check security of WHERE clause.
|
| Name | Description | |
|---|---|---|
| CheckQuery |
Checks part of a query (or whole query) for malicious code. Returns TRUE if query contains just a SELECT statement.
| |
| GetColumnsRegEx |
Gets the regular expression for the safe value of COLUMNS clause.
| |
| GetOrderByRegEx |
Gets the regular expression for the safe value of ORDER BY clause.
| |
| GetWhereRegEx |
Gets the regular expression for the safe value of WHERE condition.
|