T
T
Tabyretka1892016-01-15 17:47:12
Encryption
Tabyretka189, 2016-01-15 17:47:12

How to encrypt a document so that another program can access it?

Good day! It is necessary to encrypt text and graphic data so that only one of the programs (namely, programs, not users) can access them. Other programs and users would be unable to do anything because everything must be encrypted. Is there a program that allows this to be done and how to do it? PS everything from one account. Thanks in advance!

Answer the question

In order to leave comments, you need to log in

3 answer(s)
X
xmoonlight, 2016-01-15
@Tabyretka189

working with password-protected archive

N
nirvimel, 2016-01-15
@nirvimel

If the program can decrypt something, then the decryption key is available to the program, then the key is available to the user on whose behalf this program is running in the system, then this user has the ability to decrypt the document. In any case, we come to the need to separate access at the OS level and configure rights. You can, of course, run some server process on behalf of one user who has access to the key, and connect to it as a client on behalf of a user who does not have access to the key. But such a system still needs to be developed, you are unlikely to find a ready-made solution.

R
res2001, 2016-01-16
@res2001

Your program should have such functionality itself, this cannot be achieved by third-party means.
For example, if you use an encrypted archive, when you open a file from it, the file will be extracted to a temporary directory, from where any other program can take this file while you are editing it in Word.
If you are not a programmer and do not write your own program, then the best option is to use TrueCrypt or analogues.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question