How to make a file require a password

How do I make a file require a password to open?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Files are just data; nothing about any arbitrary file can make it require
a password.

If you have an application that creates files then you can often use that
application to encrypt a file with a password so while you can open it
with anything without a password you can only really get valuable data out
if you know the password to allow the decryption of the data. Documents
created in OpenOffice, for example, follow this idea.

You can encrypt any arbitrary file with something like PGP/GPG if you’d
like and then nothing will be able to open it until you either decrypt it
(before opening it) or unless the application used to open it supports
decryption the same way you encrypted it and you also have the
password/passphrase/key used for the encryption.

Good luck.

On 04/22/2010 08:16 AM, openalex wrote:
>
> How do I make a file require a password to open?
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJL0GA7AAoJEF+XTK08PnB5e+oQAKWk/Z9DWElcDBQNip3jnpLj
iwLbe2/RyFJNUr9LGhG8MjkTsVBrrysHTVdMrDPT7TFStpHbHwz3QpnK+3hpx+4t
NMD7NZqv+9N6p+iFIGTymK/HhD13Hpd6SpZ2rqIPQALcBCICKdE+vD1/djy055rG
qItOsSh8zYvjGc3WiFCVMm6A6Rq+w3iOPVI1qTTPvY2M0h/+8SuU8Pck0CPBLnMb
IEOZr5VhRoZazssavvJ5yMTHRw72ZmfeYLnvPKrhlb4Efc5u7/LpPMqHFDv/wa1B
HsAMQy2YSrBckoQPVjqwVZRba2+JCp7DZLk2TDfVHaEmgs6toSyuC9xxQGi4US4N
jsS4m1dC2loixfDrp0L4f2iXt53B8P75fhxMY1IsDRSKUXaa3sCiZGGhf2M8DiC/
SeLIMW05WfNVhUuYAlx/pYWZsWldxB2Vd9GCkyBVnm49FRiOSXId+qwEItPb9SLS
3V1DZYGNcfFWv3WGlbiSiaGp15uQrLE7jqBBHM1lpOhINuJpDoPJashBRmGTgspu
VlPBi28igB8HNJExjGrWTP4DttLwH7So9OmVeZuMSbfOl66fJDPQKw1C1o5V7oBg
tBXezsaTf3UqqYvQmAEsKj3Nom4/p92smnhPXYdFL8jrlfpPMCBUHjG+1ghWQrep
WDovNEb1Zv3pTbp64CKu
=I4Ln
-----END PGP SIGNATURE-----

I will suggest that you take a look at cryptkeeper and encfs. encfs is “encrypted file system”, works on the command line. Cryptkeeper provides a gui.

Thank you for your ideas. I have used GPG keys in the past for my local files, but I got tired of keeping up with my own key pairs.

I will look into cryptkeeper and some similar alternatives.

Many thanks.

I like cryptkeeper on Linux only. I’m having to share my encrypted files between OS boxes now, tho - and Truecrypt seems to be the cross-platform FOSS answer to that. So far I’m impressed with its ease-of-use.