Re: Backing up and restoring encryption key



You have to use romaing profiles to be able to share the key between machines - this of course only works in domains..


-----
Dominick Baier (http://www.leastprivilege.com)

Developing More Secure Microsoft ASP.NET 2.0 Applications (http://www.microsoft.com/mspress/books/9989.asp)

I am using User Level DPAPI encryption in a C# .net 2.0 Application.
If i need to move the application to another machine how can i move
the encryption key over.

The encrypted data is stored in a database on another machine.

I was under the impression that as long as i use the same username and
password on another machine i would still be able to decrypt my data,
but when i tried it failed.

Is it possible to backup the user key and restore it?



.



Relevant Pages

  • Re: Backing up and restoring encryption key
    ... And this is not the intended usage of DPAPI - if you need "real" keys - use RSACryptoServiceProvider or certificates ... Dominick Baier ... the encryption key over. ... The encrypted data is stored in a database on another machine. ...
    (microsoft.public.dotnet.security)
  • Re: SQL 2005 Rotate Keys??
    ... Since the attacker knows the encryption key itself, it can decrypt the ... encrypted data at will. ...
    (microsoft.public.sqlserver.security)