Is it safe to pass login credentials as plain text in an HTTPS URL?
https://domain.com/ClientLogin?Email=jondoe@gmail.com&Passwd=123password
Update:. So let's say that this is not entered in the browser, but is created programmatically and requested with a POST request (and not with a GET request). It's safe?
Decision:
You cannot use this type of URL in a GET request (i.e., type the URL in a browser), because the requested URL will be stored in the browser history and server logs.
However, it is safe to send https://domain.com/ClientLogin (that is, submit the form) as a POST body when transferring credentials as part of the POST body , since the POST body encrypted and sent after the connection is created with the requested URL. Thus, the form action will be https://domain.com/ClientLogin , and the form field values will be passed to the POST body .
Here are a few links that helped me understand this better:
stack overflow
Simple explanation of SSL and HTTPS
Google Answers: HTTPS - Is URL Bar Safe?
HTTP Made Really Easy
Andrew
source share