FIELD: computer technologies.
SUBSTANCE: invention relates to a method, a chip and a computer-readable storage medium for processing a file stored in an external memory. The method is applied to an electronic device, wherein the electronic device includes an internal memory that contains an erasable section and a non-erasable section, and the electronic device is connected to an external memory, wherein the method comprises: displaying an external memory encryption setting interface; receiving the first operation that is performed by the user at the encryption setting interface, wherein receiving the first operation that is performed by the user at the encryption setting interface comprises: receiving an encryption instruction, wherein the encryption instruction instructs to encrypt the first file stored in the external memory; encrypting the first file stored in the external memory using the second key in response to encryption instructions; obtaining the first account ID based on the encryption instruction; encrypting the first key based on the first account identifier to generate the first ciphertext, the first key being used to encrypt the second key; encrypting the first account identifier to generate the second ciphertext; and storing the first ciphertext and the second ciphertext in an non-erasable partition; receiving the second user operation; displaying the factory reset setting interface in response to the second operation; receiving a third operation that is performed by the user in the factory settings interface; performing a factory reset in response to the third operation, in which the data in the erasable partition is deleted during the factory reset, and the data in the non-erasable partition is retained during the factory reset; displaying the account verification interface; receiving verification information that is input by the user in the account verification interface; and checking the first account ID based on the verification information, when the first account ID is verified successfully, and, when an operation in which the user accesses the first file in the external memory is received, decrypting the first file encrypted in the external memory based on the first ciphertext and the second ciphertext stored in a non-erasable partition.
EFFECT: increased security of file storage in external media.
14 cl, 20 dwg
Title | Year | Author | Number |
---|---|---|---|
IMAGE BASED KEY DERIVATION FUNCTION | 2014 |
|
RU2676231C2 |
ADMINISTRATION OF SECURE DEVICES | 2010 |
|
RU2557756C2 |
DEVICE FOR PROTECTING INFORMATION FROM UNSANCTIONED ACCESS FOR COMPUTERS OF INFORMATIONAL AND COMPUTING SYSTEMS | 2006 |
|
RU2321055C2 |
SYSTEM AND METHOD OF AUTOMATIC DEPLOYMENT OF THE ENCRYPTION SYSTEM FOR USERS WHO PREVIOUSLY WORKED ON PC | 2013 |
|
RU2618684C2 |
PEER-TO-PEER AUTHENTICATION AND AUTHORISATION | 2005 |
|
RU2390945C2 |
ACCESS OF A NON-3GPP COMPLIANT APPARATUS TO THE CORE NETWORK | 2019 |
|
RU2779029C1 |
SYSTEM AND METHOD OF PROVIDING APPLICATION ACCESS RIGHTS TO COMPUTER FILES | 2013 |
|
RU2546585C2 |
METHODS AND DEVICE FOR LARGE-SCALE PROPAGATION OF ELECTRONIC ACCESS CLIENTS | 2013 |
|
RU2595904C2 |
SYSTEM AND METHOD FOR APPLYING FILE ACCESS RULES DURING TRANSFER THEREOF BETWEEN COMPUTERS | 2013 |
|
RU2573785C2 |
APPLICATION FOR PREPARING FOR FIRST START-UP AFTER UNPACKING, INTENDED FOR COLLECTING DATA FOR NEW COMPUTER AND METHOD OF MANUFACTURE | 2010 |
|
RU2498518C2 |
Authors
Dates
2023-12-15—Published
2022-05-11—Filed