Is either GET or POST more secure than the other?

前端 未结 27 2515
没有蜡笔的小新
没有蜡笔的小新 2020-11-22 05:13

When comparing an HTTP GET to an HTTP POST, what are the differences from a security perspective? Is one of the choices inherently more secure than the other? If so, why?

27条回答
  •  长发绾君心
    2020-11-22 05:52

    There is no added security.

    Post data does not show up in the history and/or log files but if the data should be kept secure, you need SSL.
    Otherwise, anybody sniffing the wire can read your data anyway.

提交回复
热议问题