简体   繁体   English

安全休息API

[英]Secure Rest API

I'm trying to figure whats the best aproach to secure a REST api without using OAuth or another similar system. 我正在尝试找出不使用OAuth或其他类似系统来保护REST api的最佳方法。 I read about using ApiKeys in every request, I think this could be the best in my case, but I'm not sure how to implement it. 我阅读了有关在每个请求中使用ApiKeys的信息,我认为这可能是我最好的选择,但是我不确定如何实现它。 I'm using Python with Flask in the server side and JQuery in the client side. 我在服务器端使用Flask并在客户端使用JQuery的Python。 This API must be accesible with web and mobile and for private use. 此API必须可用于网络和移动设备以及供私人使用。 I will use Amazon as a Server. 我将使用Amazon作为服务器。 Thanks in advance. 提前致谢。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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