Psst! Did you know DevelopmentNow is a mobile web site design agency?

Contact us for help mobilizing your site, or to sign up for our beta Mobile Web SDK!
all groups > dotnet security > may 2005 >

dotnet security : DPAPI


Johan
5/26/2005 12:00:00 AM
Hi,
How does the DPAPI work when using machinestore? Does all users on the
machine have access to the encrypted data?
Or is it possible to set an access list?

Michel Gallant
5/26/2005 9:00:46 AM
Yes all users on that machine can decrypt the DPAPI encrypted data if you use
CRYPTPROTECT_LOCAL_MACHINE flag.
You should therefore ALSO considering adding ACL control to the encrypted data,
and also you might want to add additional pOptionalEntropy password protection.

See also Writing Secure Code, 2nd Edn. p. 306 pp

- Mitch Gallant
MVP Security

[quoted text, click to view]

AddThis Social Bookmark Button