I would like to do the following (Pseudo Code):
[InternalOnly]
public ActionResult InternalMethod()
{ //magic }
The "InternalOnly
" attribute is for methods that should check the HttpContext
request IP for a known value before doing anything else.
How would I go about creating this "InternalOnly
" attribute?