Are HTTPS URLs encrypted?

前端 未结 14 1900
无人共我
无人共我 2020-11-22 04:26

Are all URLs encrypted when using TLS/SSL (HTTPS) encryption? I would like to know because I want all URL data to be hidden when using TLS/SSL (HTTPS).

If TLS/SSL gi

14条回答
  •  难免孤独
    2020-11-22 05:10

    I agree with the previous answers:

    To be explicit:

    With TLS, the first part of the URL (https://www.example.com/) is still visible as it builds the connection. The second part (/herearemygetparameters/1/2/3/4) is protected by TLS.

    However there are a number of reasons why you should not put parameters in the GET request.

    First, as already mentioned by others: - leakage through browser address bar - leakage through history

    In addition to that you have leakage of URL through the http referer: user sees site A on TLS, then clicks a link to site B. If both sites are on TLS, the request to site B will contain the full URL from site A in the referer parameter of the request. And admin from site B can retrieve it from the log files of server B.)

提交回复
热议问题