Folder Encryption

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I want to achieve the following ---->
I want to Encrypt an empty folder and all the other files and folders copied
under that folder should also be encrypted(recursively).
Does anyone has a Idea of how to encrypt a folder in c# .NEt?

Thanks
 
You cannot encrypt a folder or file under the EFS standards in NTFS,
using the
..NET Framework as there are no API's provided in v1.1, but I think you
can in v2.0.
If you want to secure your data, the best way is to use a algorithm
based method, such
as a symmetric or hash algorithm to encrypt data.
The v1.1 of the Framework supports TripleDES, SHA256, RSA and other
types. This would
probably be more prudent to use since not all Windows OS's that support
the .NET Framework
support NTFS and it's EFS as well.
 
Back
Top