To the main page...The list of my products...Some texts...Sample applications, tips, tricks...If you need support...
 

 
Secret Center Usage
Published 29.06.1999
It is compatible with... It uses...
Not Win 95 compatible Not Win 98 compatible Win NT compatible Windows 2000 compatible Delphi 3 compatible Delphi 4 compatible Delphi 5 compatible Delphi 6 Compatible  SvCom components are necessary

Sometimes you need to store some private data such as passwords for example. Windows NT has special tool to store private data safely. This data is stored in registry in encrypted form and only administrators and LocalSystem account have access to this storage. This storage play a key role in DCOM configuring because it is here RunAs passwords are stored. Lsa API is used to store and retrieve data from the secret storage. This API is encapsulated by TsvSecretCenter component. The usage of this component is as simple as possible. It has two main properties - SecretName and SecretValue - and two key methods - Read and Write. Only one additional property - Server - allows to specify computer which secret storage should be explored.

This example includes two steps

  1. Creating of application to test SecretCenter component
  2. Testing it.

You can download this sample application from here (zip, 4Kb).

Index | Step 1 | Step 2 | >>
Add your comment | Read comments


 
© 1998-2001 Alexey Dynnikov
My ICQ # is 18267212