The URL for the administration section of my website always starts with Admin/
. Is it possible in ASP.NET MVC to restrict access to users by using this part of the URL?
Obviously I would keep the [Authorize(Roles = "Administrator")]
on appropriate controllers and actions but I wonder if it would be quicker for the application if it can just look at the URL instead of stepping into code.