4

Since GET parameters are passed in the url, how can they be secure from someone with access to network logs. He would be able to see what urls are accessed, even if he cannot see the request and response.

I ask because an api requires me to pass user data over https(their user's data ofc). The username and password are passed as http AUTH: user:pass@site.com/api/messages

SoWhat
  • 169
  • 1
  • 1
  • 6

1 Answers1

11

HTTPS uses Transport Layer Security (TLS). The Transport layer is layer 4, so everything above this layer is encrypted, which means all of HTTP is encrypted.

By default on most HTTP servers, all GET parameters are logged to the access log. The plaintext logging of authentication tokens is a vulnerability. The Authentication HTTP header is not logged by default.

rook
  • 47,238
  • 10
  • 96
  • 182