URLModifyPrevent Class

Template MVC

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

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
  NameDescription
Public methodURLModifyPrevent
Initializes a new instance of the URLModifyPrevent class
Top
Methods
  NameDescription
Public methodOnActionExecuting
Verify the manipulaion of the URL on every action request
(Overrides ActionFilterAttribute.OnActionExecuting(ActionExecutingContext).)
Top
See Also