Walter.BOM Namespace
Walter.Web.FireWall Namespace
ASP-WAF Web application firewall for .Net 6, .Net 5, .Net Standard 2.1 and .Net Core 3.x

LimitReffererAttribute Class

Attribute used to limit the locations where your API or Action can be called from. to a singe resource

Namespace:  Walter.Web.FireWall.Annotations
Assembly:  Walter.Web.FireWall (in Walter.Web.FireWall.dll)

Syntax


public sealed class LimitReffererAttribute

Remarks


Very must similar to cross site attribute and filter only this is not site but resource relevant and can be used to limit access. This method is ideal when you share views and pages in embedded resources but only allow access to a script or action when the page requesting the resource is listed in the pages allowed to request the endpoint.