简体   繁体   中英

ajax request & response encryption

我想对从页面发送的请求和响应进行加密,最简单,最有效的方法是什么?

使用https安全发送数据

Transport Layer Security (TLS). This is the successor to SSL, and all major web servers support it.

Really depends on what threats you want to protect your data from. If it's only eavesdropping, HTTPS would be enough. If you ned to secure cookies or your use of HTML 5 local storage, then you should think about encryption and the mechanisms are different then.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM