简体   繁体   English

得到了一个从我的服务器中提取JSON数据的移动应用程序,如何保护该连接?

[英]Got a mobile app that pulls JSON data from from my server, how do I secure this connection?

I'm developing a website and mobile application that communicate with each other. 我正在开发彼此通信的网站和移动应用程序。

It's very basic at the moment: the app makes a get request to a URL and the server returns JSON data. 目前,这是非常基本的:应用程序向URL发出get请求,服务器返回JSON数据。

I want to secure this and make sure no-one can send a get request to the URL and get this data (only the website and the app). 我想确保这一点的安全,并确保没有人可以将获取请求发送到URL并获取此数据(仅网站和应用程序)。 Is it ok to make a 60+ character password that the app can send with the request that the server accepts before data is sent, or is this breakable? 可以发送一个60字符以上的密码,以使应用程序可以在发送数据之前与服务器接受的请求一起发送,还是可以破解?

I dont want to use OAuth because it's overkill as only the app and the site are going to communicate. 我不想使用OAuth,因为OAuth过于强大,因为只有应用程序和网站才能进行通信。 Please provide me with a few solutions, thanks! 请为我提供一些解决方案,谢谢!

您可以使用HTTPS传输数据。但是,您需要使用SSL证书。

暂无
暂无

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

相关问题 如何判断jq过滤器是否成功从JSON数据结构中提取数据? - How can I tell if a jq filter successfully pulls data from a JSON data structure? 我如何显示来自服务器上的JSON对象的数据在页面上自身以角度5加载 - How do I display data from my JSON object coming from Server on page load itself in angular 5 显示从服务器获取的JSON数据时出现问题 - Problems with displaying JSON data I got from a server 如何使用来自 JSON 的数据每秒刷新我的应用程序? - How do I refresh my app every second with data from JSON? 如何将JSON编码的数据从服务器加载到页面? - How do I load JSON-encoded data from the server to my page? 如何从我的快速服务器获取 json 数据? - How do I get json data with fetch from my express server? 如何使用JSON从远程数据库检索数据并显示在android应用程序xml文件中? - How do i retrieve the data using JSON from the Remote Database and display in my android app xml file? 如何从应用程序中的任意链接查看JSON数据? - How do I view JSON data from an arbitrary link within my app? 我所有的 JSON 输出(来自 Laravel API 应用程序)都包含在一个数据标签中,我该如何删除它? - All of my JSON output (from Laravel API app) is contained within a data tag, how do I remove this? Android:如何每隔3到5分钟将数据从服务器同步到我的应用程序? - Android: How Do I Synchronize Data From Server To My App Every 3 and 5 Minutes?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM