简体   繁体   中英

Send GET request to HTTPS with Basic Authentification parameters

My goal is, to establish an active connection between my php page and another page. There is a java applet located on my page, after some clicks, the applet will redirect my page to another. By default there is a login screen, but I want to skip that step, so when my applet redirects the page, i want, that the user will be logged in with my deafult login account.

I tried "https://name:pass@addres" , also tried some examples that i found after searching on the internet, but i still have no results

Most browsers don't support that syntax any more due to security concerns.

Mostly because of un-encoded passwords plus the possibility to create fake URLs that look something like this:

http://www.yourbank.com_somelongpath:xxx@somescammerssite.com

99% of internet users will believe that's an URL belonging to "yourbank.com" and not "somescammerssite.com".

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM