Template Documentation
URLModifyPrevent Class |
Used to avoid the SQL injection by the URL, when the URL is modify manually, redirect to a Malicious request page
Inheritance Hierarchy
SystemObject SystemAttribute
FilterAttribute
ActionFilterAttribute
Template.Web.Commons.SecurityURLModifyPrevent
FilterAttribute
ActionFilterAttribute
Template.Web.Commons.SecurityURLModifyPrevent
Namespace: Template.Web.Commons.Security
Assembly: Template.Web (in Template.Web.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
[AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Method)] public class URLModifyPrevent : ActionFilterAttribute
The URLModifyPrevent type exposes the following members.
Constructors
Name | Description | |
---|---|---|
URLModifyPrevent | Initializes a new instance of the URLModifyPrevent class |
Methods
Name | Description | |
---|---|---|
OnActionExecuting |
Verify the manipulaion of the URL on every action request
(Overrides ActionFilterAttribute.OnActionExecuting(ActionExecutingContext).) |
See Also