Are querystring parameters secure in HTTPS (HTTP +

2019-01-01 03:28发布

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

4条回答
闭嘴吧你
2楼-- · 2019-01-01 03:47

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!"

查看更多
爱死公子算了
3楼-- · 2019-01-01 03:50

The entire transmission, including the query string, the whole URL, and even the type of request (GET, POST, etc.) is encrypted when using HTTPS.

查看更多
明月照影归
4楼-- · 2019-01-01 03:56

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

查看更多
无色无味的生活
5楼-- · 2019-01-01 03:58

I disagree with the advice given here - even the reference for the accepted answer concludes:

You can of course use query string parameters with HTTPS, but don’t use them for anything that could present a security problem. For example, you could safely use them to identity part numbers or types of display like ‘accountview’ or ‘printpage’, but don’t use them for passwords, credit card numbers or other pieces of information that should not be publicly available.

So, no they aren't really safe...!

查看更多
登录 后发表回答