Note that there are some explanatory texts on larger screens.

plurals
  1. POTwo-way folder sync with encryption to secure my Dropbox data
    primarykey
    data
    text
    <p>I'd like to write a little .NET script/tool which does at least mostly the same like <a href="http://getsecretsync.com/ss/" rel="nofollow">SecretSync</a> or <a href="http://www.boxcryptor.com/" rel="nofollow">BoxCryptor</a>, but without storing the encryption key on a company's web servers.</p> <p>First it sounds very simple: You have two folder - a "decryped"-folder and and "encrypted"-folder. On both folders there is an <a href="http://msdn.microsoft.com/library/system.io.filesystemwatcher%28v=VS.100%29.aspx" rel="nofollow">FileSystemWatcher</a> so the tool gets notified when a file has changed. If a file changes in the "decryped"-folder, it encrypts the file and writes it to the "encrypted"-folder. If a file changes in the "encrypted"-folder, it decrypts the file and writes it to the "decrypted"-folder.</p> <p>No problem so far.</p> <p>But what happens if the users runs a application (like <a href="http://www.keepass.info" rel="nofollow">KeePass</a> for example) directly from the "decryped"-folder? The sync and encryption process will now run into problems because the files are locked from the application. Is there someting i can do to avoid this problem handled, so the application can still run beside the sync and encryption process?</p> <p>Thanks for any help!</p> <p><strong>Update:</strong> I still couldn't find a answer to this question. When using FileSystemWatcher-class for syncing it is easy to apply the encryption/decryption, but you are running into problems with file locks (because of the streams or applications blocking the files). I also tried Microsoft Sync Framework. File sync works with it, but i don't know how to encrypt/decrypt the files on the fly.</p> <p>Maybe someone has a little working code sample.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload