Can a username and password be sent safely over HTTPS via URL parameters?

后端 未结 6 1282
隐瞒了意图╮
隐瞒了意图╮ 2020-12-02 21:58

A colleague and I had a heated debate yesterday whether it is safe to send login credentials via URL parameters as a means of authentication. He correctly pointed out that

6条回答
  •  一向
    一向 (楼主)
    2020-12-02 22:37

    Safely is a big word. SSH will keep other users from retrieving it, but do you really want to show someone's password on the querystring. What about the dude standing over the users shoulder? What about SQL injection? Really bad idea, at least tuck it in a form post.

提交回复
热议问题