URLModifyPrevent Class
From Template MVC
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
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)
C#
[AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Method)] public class URLModifyPrevent : ActionFilterAttribute
The URLModifyPrevent type exposes the following members.
| Name | Description | |
|---|---|---|
| URLModifyPrevent | Initializes a new instance of the URLModifyPrevent class |
| Name | Description | |
|---|---|---|
| OnActionExecuting |
Verify the manipulaion of the URL on every action request
(Overrides ActionFilterAttribute.OnActionExecuting(ActionExecutingContext).) |