Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Base64 网址是否比普通网址更安全。例如,像这样的休息 url:“/user/12?status=true”不如“34kalist4u9mF0aWdhYmxlIGdlbmVyYXRpb24leGNlZWRzIHRo”安全?
并不真地。Base64 无论如何都不是加密。它只是一种用于以 ASCII 表示二进制数据的编码。
如果您希望您的请求更安全,请改用 SSL。
Shannon 的 Maxim 声明“攻击者知道系统”,这意味着开发人员不能依赖“无密钥加密”(如 Base64,它根本不是加密)或其他容易破解的机制。
如果您想要更好的安全性,请考虑使用强身份验证的 SSL。您可以在日志和浏览器地址栏中使用完整且正确的 URL 获得真正的加密。