Android – how to ensure that files are not tampered with from the phone to the server?

I want to create an Android application that collects information and uploads it to the server - but I don't want people to be able to edit the file before sending it to the server. I can do the first part, but I can't complete the second part. Who can tell me the best way? I don't mind if users know what's in the file, but I don't want them to edit it and upload the information they edit to the server

resolvent:

Because the application is run by the user and the output is controlled by the user, you are very lucky. The only way you can take over the user's system so that he can't control it is to use trusted computing, which contains all moral and philosophical implications - see, for example. Can you trust your computer? Written by Richard Stallman. The only thing you can expect is to establish a secure connection between the server and the user system (SSL / TLS), but it is still a user system beyond your control

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>