Solved

Access to EFS encrypted files using same domain login across network, or not?

Posted on 2004-09-02
5
322 Views
Last Modified: 2013-12-04
I'm surprised to find that when I'm logged in with my domain account I can't seem to access EFS encrypted files on a shared directory on another (domain member) machine (the files were encrypted using the same account login, and I was logged into the machine that they are stored on).  I can browse the directories, but can't open the files.

Is this a feature, or have I managed to stuff something, or is there a "setting" required? I just don't seem to be able to find any information about this.

Seems a bit odd if you can't do this.

Thanks

Dave Turnbull
PS: I really don't understand how to assign "points" to this question. Obviously it is "easy" if you know the answer?
0
Comment
Question by:DaveTurnbull
  • 2
  • 2
5 Comments
 
LVL 3

Expert Comment

by:Gargantubrain
Comment Utility
I tested this and it works in my Windows 2000 domain. I encrypted a file from my XP workstation in a directory on the domain controller. I went and opened the file on another workstation after logging on as myself.

Is the shared folder on the domain controller? Unless you export the key (not recommended, the keys are supposed to stay on the more secure domain controllers) this will probably only work with folders shared on your domain controllers.
0
 

Author Comment

by:DaveTurnbull
Comment Utility
Hi
Thanks for trying it out.

Up to now the domain controller was not involved/tested, just workstations (all domain members). I have now repeated some tests:

1) Like from other WS(s), from the domain controller I can not access the encrypted files on the WS on which they were encrypted (same domain account login).
2) If I login into the domain controller and encrypt a file on it I CAN access the file from a WS.
3) If I login to a WS and encrypt a file on the domain controller I can then access it from the domain controller (the encryption process seems to take longer though (with a miniscule test file))

So, cross-machine access to encrypted files works, but only if the encrypted files are on the domain controller.

So, I guess the question still is, can I / how do I get WS to WS access to encrypted files?
[These are two "development" machines with local file stores, I want to protect the information on them in case the machines are compromised.]

This "export the keys" lark. Where do I read about it?

Thanks again

Dave Turnbull
0
 
LVL 6

Expert Comment

by:Scott_Willcocks
Comment Utility
the reason that you can't use it for WS to Ws is that the workstations do not share a common certificte on the machines what you will need to do is export the client certificate from each PC

heres how then

http://www.compulink.co.uk/~davedorn/computing/windows/xpencrypt3.htm



install the exported certificates on each others machines

the certificates that you export from pc1 need to go on pc2 the certificte exported from pc2 need to go on pc1 but remeber to back these up and install ino your certificate server just in case or stor somewhere safe if any of these certificates go missing you will not be able to recover the files easily.

where the certificate store is

in IE browser go to tools > internet options > content > certificates

the rest of the instructions are in the link
0
 
LVL 6

Accepted Solution

by:
Scott_Willcocks earned 50 total points
Comment Utility
both workstations need each others certificates so they can encrypt and decrypt  the files if one person encrypts unless they have the other machines certificate then they can't decrypt it and vice versa. the reason that you can on the server is that as part of the domain they have a recovery key certificate that you can use to decrypt the files on the server but on domain admin can if they encryptr using the local certificates you may not be able to decrypt if anything goes wrong with one of the machines so make sure you have a backup of the certificate we cannot express how important it is.
0
 
LVL 3

Expert Comment

by:Gargantubrain
Comment Utility
As I mentioned before, exporting your key is a security risk. It opens the possibility of someone gaining access to your key, and therefore ALL your encrypted files.

Please be aware of the risks before you import your key into any machine that is out of your control.

The procedure mentioned to export your key is for the purpose of backing it up in case you need to re-install your operating system on a standalone machine. Without a backup of your key, the encrypted files are no longer accessible after an OS re-install because the user accounts (and therefore the keys) are re-created.

EFS is not a perfect solution for file encryption, and you should be aware of what it can and cannot do before you depend on it. There are other methods to encrypt files that may better suit your requirements. The biggest advantage EFS has is transparent encryption -- the files can be opened by an application without first decrypting them. If that is something you can live without, then perhaps an alternative method of encryption would work better for you.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

By default, Carbonite Server Backup manages your encryption key for you using Advanced Encryption Standard (AES) 128-bit encryption. If you choose to manage your private encryption key, your backups will be encrypted using AES 256-bit encryption.
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now