A non-transitory computer-readable storage medium storing an information management program, the information management program causing a computer to execute:
- first setting first control information for permitting use of information within a destination terminal, to the information;
- second setting second control information for permitting the destination terminal to forward the information, to the information;
- first controlling, when information set with the first control information is received from a source terminal, for an information management apparatus to permit that the destination terminal uses the information locally within the destination terminal;
- second controlling, when information set with the second control information is received from a source terminal, for the information management apparatus to permit that the destination terminal forwards the information to a terminal other than the destination terminal;
- requesting a signature from an intermediating terminal to the destination terminal, the intermediating terminal intermediating a transmission and a reception of information between the source terminal and the destination terminal;
- first transmitting the signature from the destination terminal that is requested of the signature at the requesting to the intermediating terminal;
- forwarding the signature transmitted at the first transmitting to the source terminal;
- and
- second transmitting information which is set with the first control information and is locked using the signature forwarded at the forwarding, to the destination terminal, wherein
- the requesting includes storing a contact identification (CID) of an information owner that has been disclosed to an information holder as information that is permitted for the primary use in a memory and notifying a request for joining a group to the information management apparatus of the information owner using the CID, wherein
- the information management program causes a computer to execute:
- third setting, as to shared information that is information shared in a group, first share control information for permitting use within a terminal obtaining the shared information, or second share control information for permitting a terminal obtaining the shared information to forward the shared information;
- and
- storing shared information set with the first share control information or the second share control information at the third setting in an external terminal, wherein
- the external terminal is an external terminal that uses group key information to convert the received data into shared data for the group and that stores therein the data so that any user belonging to the group and having permission for primary use and having a primary use key can access the data.