5

I have an ASP MVC app that uses it's own custom authentication mechanism. However there is only one Action in one controller that I need to secure using Basic Authentication.

The idea is when the URL for this particular action is hit, the browser pops up the basic authentication dialog and then I need to have the username and password IN the action itself.

Any suggestions?

Khash
  • 2,500
  • 4
  • 30
  • 56
  • possible duplicate of [ASP.NET MVC - HTTP Authentication Prompt](http://stackoverflow.com/questions/1606991/asp-net-mvc-http-authentication-prompt) – Sander Rijken Sep 10 '10 at 13:04

1 Answers1

2

This is the answer which works: ASP.NET MVC - HTTP Authentication Prompt

Community
  • 1
  • 1
Khash
  • 2,500
  • 4
  • 30
  • 56