我如何实现页面保护(asp.net mvc 应用程序),所以当我点击主页或应用程序中的任何其他页面时,我会在浏览器中弹出登录对话框
我正在寻找类似于 Apache.htaccess并且.htpasswd正在做的事情。
.htaccess
.htpasswd
我有 IIS 7.5/Windows Server 2008 R2 网络版。
iis authentication .htaccess htpasswd http-basic-authentication
.htaccess ×1
authentication ×1
htpasswd ×1
http-basic-authentication ×1
iis ×1