主权项 |
1. An electronic device comprising:
a storage device for storing data and a securing strategy database, the securing strategy database comprising a plurality of securing strategies, each of the securing strategies comprising a securing condition for triggering a data securing action and one or more identifiers of data to be secured; a processor coupled to the storage device; a securing strategies setting module, stored in the storage device, comprising at least one instruction configured to cause the processor to generate a prompt message to prompt a user to input the plurality of securing strategies when the user creates the data, wherein the securing strategies setting module is further configured to cause the processor to set the plurality of securing strategies for the data stored in the storage device by adding a securing strategy into a header of a corresponding data to be secured; a determining module, stored in the storage device, comprising at least one instruction configured to cause the processor to determine whether a securing condition is met; and a securing module, stored in the storage device, comprising at least one instruction configured to cause the processor to determine a securing strategy having the securing condition matching the met securing condition, obtain the one or more identifiers comprised in the determined securing strategy, and secure the data having the obtained one or more identifiers; wherein when the data has a default securing strategy, the securing strategies setting module is further configured to cause the processor to reset the default securing strategy of the data to update the securing strategy of the data in response to user input; wherein when the securing strategy of the data is updated, the securing module is further configured to cause the processor to secure the data when an updated securing condition in the updated securing strategy is determined to be met; wherein securing the data including hiding the data or deleting the data. |