Where does EPDM store the SQL Server database password?

Just as a matter of curiosity, I was trying to work out where EPDM stores the database password for the EPDM client. I can see that there are user and password entries in the registry, under the path HKEY_LOCAL_MACHINE\\SOFTWARE\\SolidWorks\\Applications\\PDMWorks Enterprise\\MailService, but the password is just a GUID. Where is the password actually stored?

SolidworksSolidworks Pdm enterprise Pdm
Answers 7
SF
SF 2014-02-13 Best Answer

George,

I've always assumed it was stored in the registry under HKLM/Security. It is of course encrypted.

AP
AP 2014-02-13

As Charley said it would be encrypted. As far as I know is not on the EPDM client, it should be on Archive Server under this key: HKLM\SOFTWARE\SolidWorks\Applications\PDMWorks Enterprise\ArchiveServer.

TW
TW 2014-02-14

George, is your question a security related question? Someone in our security group asked this question so they could audit "how secure" EPDM data really is.

I am completely speculating here so someone else may have a more definitive response but I would imagine it depends on how the archive server is configured (e.g. EPDM login, Windows login, LDAP login):

  • If EPDM login, probably encrypted in the registry on the client since the user can change their password from the client machine in the Admin tool.
  • If Windows/LDAP, the user cannot change their password on the client machine in the Admin tool. So, probably not stored at all since the client connects with the archive server via LDAP or domain for credentials so I could foresee there isn't a need for storing the db password at all on the client and simply polling the LDAP server for credentials. If domain controller or LDAP aren't available, connection blocked. Fits in the philosophy of a thin(ner) client connection.

Maybe...

SF
SF 2014-02-14

All,

Pretty sure my assumption was right:

comment imagecomment imagecomment imagecomment image
TW
TW 2014-02-14

Charley, was this taken from a client or the server?

Was this configured as EPDM login, Windows login, or LDAP login?

SF
SF 2014-02-14

Tim,

It's on the server, it doesn't matter what type of login you use, SQL always uses "SQL Authentication", but it's setup as EPDM login. The clients must store the password as well somewhere, but I have no idea where that would be...

SF
SF 2014-02-16

If Adrian Pop is right, and the password isn't stored on the client machine, perhaps the server sends the password to the client after a successful login.