How can I accomplish this using MVC.NET? I've found resources on the Internet about how to do it in ASP.NET, but I haven't found a way to do it in MVC.NET (I'm an MVC.NET newbie, though). I can generate a 401 response using [Authorize] attributes but I don't have any idea about what to do after that.
[EDIT] After some playing around, I figured that if I can find a way to force the application to reauthenticate itself and bring up the login dialog, I may be able to do this. I think that if I set the Authorization attribute to something like [Authorize(Users="NooneAllowed")] it should bring up the login dialog. Is there another way to force it to reauthenticate, because the above hack is pretty much useless as it will still deny access.