Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Are querystring parameters secure in HTTPS (HTTP + SSL)? [duplicate]

Do querystring parameters get encrypted in HTTPS when sent with a request?

like image 584
Deep Avatar asked Apr 13 '10 11:04

Deep


People also ask

Are Querystring parameters secure in HTTPS?

An encrypted HTTPS request protects most things: This is the same for all HTTP methods (GET, POST, PUT, etc.). The URL path and query string parameters are encrypted, as are POST bodies.

What are Querystring parameters?

What are query string parameters? Query string parameters are extensions of a website's base Uniform Resource Locator (URL) loaded by a web browser or client application. Originally query strings were used to record the content of an HTML form or web form on a given page.

Are Querystring parameters case sensitive?

If the query string is built as a result of an HTML form submission, the keys (names) come from the value of the form controls name attribute, which the HTML specs say is case-sensitive.

Is HTTPS GET request secure?

HTTPS is HTTP with encryption. The only difference between the two protocols is that HTTPS uses TLS (SSL) to encrypt normal HTTP requests and responses. As a result, HTTPS is far more secure than HTTP. A website that uses HTTP has http:// in its URL, while a website that uses HTTPS has https://.


2 Answers

Yes. The querystring is also encrypted with SSL. Nevertheless, as this article shows, it isn't a good idea to put sensitive information in the URL. For example:

URLs are stored in web server logs - typically the whole URL of each request is stored in a server log. This means that any sensitive data in the URL (e.g. a password) is being saved in clear text on the server

like image 188
Joe Ratzer Avatar answered Nov 21 '22 07:11

Joe Ratzer


remember, SSL/TLS operates at the Transport Layer, so all the crypto goo happens under the application-layer HTTP stuff.

http://en.wikipedia.org/wiki/File:IP_stack_connections.svg

that's the long way of saying, "Yes!"

like image 43
Michael Howard-MSFT Avatar answered Nov 21 '22 09:11

Michael Howard-MSFT