Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How secure is a HTTP GET when the data is URL Encoded?

If the data is Url Encoded, is it secure enough to send login credentials over HTTP GET?

like image 476
Matt Avatar asked Jun 17 '09 17:06

Matt


5 Answers

Not at all. URL encoded is easily reversible. You should encrypt the transport layer (i.e. use HTTPS)

like image 81
Randolpho Avatar answered Dec 18 '22 09:12

Randolpho


No - URL encoding is meant to make sure all the characters you try to send with a GET request can actually arrive at the other end.

It is actually designed to be easily encoded and decoded to prepare data for transport, not for security.

like image 28
ylebre Avatar answered Dec 18 '22 09:12

ylebre


URL encoding is not any kind of encryption, it just prepares the string to be sent through the network.

If your data is sensitive, GET should be completely out of question. Reasons for this?

  1. The obvious one, everyone who takes a peek at the URL bar, will see the data
  2. The data will be left in every proxy log that it passes trough
  3. If the user leaves the site, the next site will have the URL recorded in it's logs/web statistics (REFERER).
like image 33
rogeriopvl Avatar answered Dec 18 '22 07:12

rogeriopvl


URLEncoding is for encoding/transmission, not security.

like image 35
Andrew Coleson Avatar answered Dec 18 '22 07:12

Andrew Coleson


Not at all secure.

like image 24
RC. Avatar answered Dec 18 '22 09:12

RC.