METHOD AND APPARATUS FOR PROTECTING FILE
First Claim
1. A method for protecting a file, comprising:
- generating a secure file header by using an original file header of a file to be protected, wherein when no permission is granted, the secure file header is capable of restricting accessing content of a file where the secure file header is located; and
replacing the secure file header with the original file header of the file to be protected to convert the file to be protected to a secure file.
1 Assignment
0 Petitions
Accused Products
Abstract
Embodiments of the present invention provide a method and a system for protecting a file, which belong to the field of information security. The method includes: replacing a secure file header of a file to be protected with its original file header to convert the file to be protected to a secure file; and preventing, by the secure file header of the secure file acquired by the conversion, another peripheral from performing an access operation on content of the secure file. By using this method, in a terminal device such as an Android mobile phone or a computer, without affecting normal use by a subscriber, the protection of files such as multimedia files can be realized and content of a protected secure file in a mobile phone is not allowed to be opened on another device to achieve a purpose of avoiding private information leakage and protecting personal privacy.
-
Citations
20 Claims
-
1. A method for protecting a file, comprising:
-
generating a secure file header by using an original file header of a file to be protected, wherein when no permission is granted, the secure file header is capable of restricting accessing content of a file where the secure file header is located; and replacing the secure file header with the original file header of the file to be protected to convert the file to be protected to a secure file. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. An apparatus for protecting a file, comprising:
-
a secure file header processing unit and a replacement processing unit, wherein the secure file header processing unit is configured to generate a secure file header by using an original file header of a file to be protected, wherein when no permission is granted, the secure file header is capable of restricting accessing content of a file where the secure file header is located, and the replacement processing unit is configured to replace the secure file header with the original file header of the file to be protected to convert the file to be protected to a secure file. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification