Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I just tried out Windows 7 feature to encrypt a folder. I found that when I access the encrypted folder from another computer (the parent folder of the encrypted folder is shared) I can see the files there but I could not open it (which is good). But when I copy the file to another folder outside the encrypted folder (regardless it is on the same remote computer or to the computer from where I am accessing the files) then I can open the file without any problem. This might be how it works ... but that's not what I need.

My question is: Can I encrypt a folder (and all files inside), access those files (create, edit) seamlessly while I am logged in normally to the computer ... but make the files stays encrypted when they were copied to another directory outside the encrypted folder? Regardless they were copied to the same computer or another computer or uploaded to a remote server.

If this is not a feature that Windows natively support, is there third party software that does that?

Thank you.

share|improve this question
2  
You want the files to remain encrypted even though they're not in an encrypted container? Really? –  Ignacio Vazquez-Abrams Feb 4 '11 at 20:53
    
@Ignacio Vazquez-Abrams: pretty much, yes. Is that not a common practice or it is simply technically impossible? –  user66126 Feb 4 '11 at 21:17
    
Impossible. The only option would be creating a TrueCrypt container, and carry it anywhere you like. I mean, what, you want Windows or another OS to simply recognize it as encrypted without any additional application? No just no. There are no standardized encryption application across OS, and your current encryption, EFS I believe, won't work on non-NTFS partition (such as your average flashdrive and most non-Windows system) –  Martheen Cahya Paulo Feb 5 '11 at 4:50

4 Answers 4

I believe you would have to set the encryption on the file level not the folder level for this to function as you want it to. I have not tested this so I do not know for sure. Generally I do not like answering without testing first but I am answering with a suggestion. You should definitely consider Truecrypt, it's free, open source, easy to use, and has a great community.

share|improve this answer
    
Hi Kyle, thank you for your response. My understanding of how Truecrypt works is: we create an encrypted file, for example 1GB in size, and then mount the file as a volume. Then we can access the volume just as we access folder. But when we copy a file from that volume to another folder it will be decrypted automatically? I might understand it incorrectly? –  user66126 Feb 4 '11 at 21:11
    
@user66126 correct, once you take the file out of the container it will no longer be encrypted. –  Kyle Feb 4 '11 at 21:14
    
Reading this post: superuser.com/questions/188119/… it sounds like copying the file should not decrypt it? –  user66126 Feb 4 '11 at 21:18
1  
@user66126 that person was using encryption on the file level like I mentioned in my answer... –  Kyle Feb 4 '11 at 21:20

You could also try and secure the file by going into the properties of the file and editing who has rights to view/change it.

share|improve this answer

You can permanently encrypt individual files using a file encryption utility (such as axcrypt). The file will stay encrypted regardless of where it is copied or move to.

Using Windows built-in encryption (EFS), once a file is encrypted by EFS in Windows, it should stay encrypted when copied or moved around in the same NTFS file system on the same computer. (According to this TechNet article, ):

If you copy or move an unencrypted file (or folder not marked for encryption) into a folder that is marked for encryption, that file (or all of the files in that folder) will become encrypted. Once encrypted, files will remain so no matter where you move them within the local file system—whether to folders not marked for encryption or to completely different partitions. The individual files themselves are not automatically decrypted. However, if a user has the permission to decrypt a file, and that user copies or moves an encrypted file to a file allocation table (FAT) or FAT32 partition, the destination file will be unencrypted.

share|improve this answer

The issue you are having is with inheritance. When you encrypted the folder, its contents - including the file - were encrypted. However, when you move the file out of the encrypted folder, it is no longer inheriting encryption.

If you want a file to always be encrypted, you need to encrypt the individual file, not the folder.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.