Good morning. I'm taking an exam later today on web development. Pretty confident with most of the exam, however looking over a past paper I came across this question:
b) A developer decides to use HTTP GET
to send a user message for a message board system. Explain the potential security threats and discuss how to overcome them. Note you should consider two situations:
- HTTP GET must be used.
- HTTP GET could be changed. (15 marks)
I know about POST
and GET
, but I'm not sure I would be able to discuss it in enough detail to achieve 15 marks.
This is an attempt of me answering the question, if suggestions can be made in an attempt to direct me in the correct direction, that would be greatly appreciated:
GET is somewhat insecure, if the message was a private message the data is likely to be sensitive and therefore GET should not be used unless added security is included. GET will display the user message in the URL allowing anyone to view this, looking over your shoulder etc. Post by nature is slightly more secure, it does not show the message in the URL and instead adds it to the HTTP header, however this is only secure if the HTTP protocol is secure and encryption should be considered for all sensitive data.
If anyone could suggest what could be written in response to this question, it would be much appreciated!
Thanks