问题
Passing a username and a password for Basic Authentication is comfortable; But not if iOS Safari tells me to stay away from my website every time.
Example URL
http://bytecode77:123456@example-subdomain.bytecode77.com
Is there anything I can change in my code or webserver configuration to avoid such suspiciousness?
回答1:
AFAIK, user credentials in URLs have been removed for security reasons and no longer appear in the protocol specs. I read that Chrome and IE do not support that at all anymore.
来源:https://stackoverflow.com/questions/29971092/ios-safari-suggests-phishing-when-passing-usernamepassword-to-url