Authenticate Windows Authentication using Javascript

前端 未结 3 1273
温柔的废话
温柔的废话 2020-12-06 02:07

I have to transfer my client from one website to another website. This happens in client side. In this 2nd website, its using windows basic authentication system. So It popu

3条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-06 02:42

    If it is basic authentication and you don't mind exposing the credential, why don't you simply insert username and password into the URL? For example:

    http://username:password@www.domain.com

    But if you have control over the Web server, you really should disable authentication for intranet connections.

提交回复
热议问题