Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ASP.NET Development Server with Basic Authentication

Tags:

asp.net

Anyone aware of how to get the ASP.NET Dev Server to challenge for basic authentication credentials instead of assuming my current login?

like image 941
NotMyself Avatar asked Jun 16 '26 13:06

NotMyself


1 Answers

If using Cassini then according to paragraph at bottom of this link - Limitations of the Cassini Web Server, you cant.

If using IIS, then update IIS authentication.

In IIS,

  • in the virtual directory of your site right click on your virtual directory,
  • select the Directory Security tab
  • select Edit button next to Anonymous access and authentication control
  • uncheck allow anonymous and integrated windows authentication
  • check basic authentication
like image 174
Paul Rowland Avatar answered Jun 19 '26 02:06

Paul Rowland



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!