×

Method, mobile terminal, device, and readable storage medium for preventing accessed data from being tampered with

  • US 10,320,556 B2
  • Filed: 01/23/2017
  • Issued: 06/11/2019
  • Est. Priority Date: 01/25/2016
  • Status: Active Grant
First Claim
Patent Images

1. A method of preventing to-be-accessed data from being tampered with in an offline cache, comprising:

  • receiving, by a mobile terminal, a data server access instruction triggered by a user for a web-based application on the mobile terminal;

    acquiring, from a data server, a corresponding configuration file of the web-based application and a version control file carrying a verification ciphertext in response to the data server access instruction before accessing the data server;

    encrypting, by the mobile terminal, the acquired configuration file according to a preset encryption method to obtain a corresponding first encrypted value of the configuration file;

    extracting, by the mobile terminal, the verification ciphertext from the acquired version control file and decrypting the extracted verification ciphertext to obtain a corresponding plaintext encrypted value of the verification ciphertext; and

    analyzing, by the mobile terminal, whether the first encrypted value and the plaintext encrypted value are consistent or not, and allowing the web-based application to access the to-be-accessed data in response to determining that the first encrypted value and the plaintext encrypted value are consistent.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×