Is it possible to enable HTTP basic authentication in Internet Explorer?

前端 未结 2 1047
悲&欢浪女
悲&欢浪女 2021-01-18 11:11

A URL such as http://username:password@example.com/ does not work in Internet Explorer, as explained in the Microsoft Knowledgebase article “Internet Explorer d

相关标签:
2条回答
  • 2021-01-18 12:05

    Per the Knowledgebase article, this can be enabled by setting the DWORD for iexplore.exe to 0 in: [HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_HTTP_USERNAME_PASSWORD_DISABLE].

    Doing so will enable you to browse to URLs using the syntax [user]:[password]@[url].

    0 讨论(0)
  • 2021-01-18 12:10

    The username:password@example.com construct was removed as a security feature. Storing passwords in plain text is a bad idea to start with, and this form of the url was a frequently used attack vector for phishing attacks. The article you link to lists some work-arounds... can you not just prompt the user to enter a password?

    If you give a little more details about what you're doing, it's possible a better solution may be found.

    0 讨论(0)
提交回复
热议问题