9

How safe is a hybrid mobile application developed using a GET Web service over HTTPS?

What are the pros and cons of using it and how safe is POST over HTTPS?

user2428118
  • 2,786
  • 17
  • 23
user47784
  • 93
  • 1
  • 3

2 Answers2

13

In HTTPS, the TLS channel is established before and HTTP data is transfered so, from that point of view, there is no difference between GET and POST requests (or any other HTTP verb, for that matter).

A few things might impact system security, though:

  • GET requests usually are logged in full while POST requests usually are not. This means that, potentially, you might get more information leaked through GET than POSTS (this logging can happen in the client - through history - on a proxy server or on the web server itself).
  • GET requests are more constrained by size than POSTs. This makes it (slightly) more difficult to use them as a way to attack the web application.
Stephane
  • 18,679
  • 3
  • 63
  • 70
2

If you have sensitive information you should not use a GET even with https, because these information might be sent to a 3rd party inside the Referer.

Steffen Ullrich
  • 201,479
  • 30
  • 402
  • 465