Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sending sensitive data as a query string parameter

We are reviewing the design of a system. And need to verify what we think may be a security issue.

In this system some sensitive information is sent in the query string. Question is:

  • Can the query string parameters be read as the request goes over the internet, even if the request is sent over https?
  • Can the query string parameters be read be read from the browsing history on the client machines?
like image 263
Shiraz Bhaiji Avatar asked Sep 06 '25 18:09

Shiraz Bhaiji


1 Answers

When you use HTTPS, the SSL/TLS connection is established before any HTTP traffic is sent, thus the whole request (including the URL and its parameters) will be encrypted and won't be readable. The only thing that's possibly visible by a third party is the server certificate (so they could see the host name, but that's it).

The browser's history isn't protected in any way by HTTPS as such, although some browsers may have some "safe browsing" options which would delete some HTTPS URLs automatically perhaps. This one ultimately really depends on the browser and its configuration.

like image 69
Bruno Avatar answered Sep 09 '25 10:09

Bruno