Why is the http auth UI so poor in browsers?

喜欢而已 提交于 2019-12-05 22:57:12

问题


Why isn't there a logout button? Why no list of "websites you're logged into"? Is it because of some issue with the HTTP specs?

Life would be much easier for web developers if they could actually rely on HTTP auth ...


回答1:


No technical reason. I suppose if anything, the auth UI is neglected because fewer and fewer web sites are still using HTTP Basic Authentication, trending more towards various cookie-related login schemes... precisely because the auth UI is so poor!

One could probably hack together a Firefox add-on to do it quite easily, which would be the quickest fix. (And the same goes for the other question with the poor file upload UI too.) I'd use it!




回答2:


As far as HTTP is concerned, it is stateless. One of the main reasons why Internet is scalable.




回答3:


Have you entered a bug report for major browsers ? (At least, ones with bug trackers, Firefox, Chrome (Chromium) etc.

List of open HTTP Auth sessions would be useful.




回答4:


Because it's not the browser that "knows" it's logged in. It's the server which authenticates the browser on every request. Every server can have different authentication mechanism - using different names and content for the authentication cookies, basic authentication, etc.



来源:https://stackoverflow.com/questions/235327/why-is-the-http-auth-ui-so-poor-in-browsers

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!