C
CollyMitch
Hi,
Hopefully I've got the correct group...
I've created a simple self-service sccm client repair application to
be used on our local network, where a NON-admin user can run an
application to repair their client. I have developed this app to
launch other applications (e.g. the SCCM Installer) under a local
admin account (using system.diagnostics.process.start(processinfo) and
passing in a SecureString as the user name of the admin account.
The issue I have is that there are different local admin accounts
dependant on the user's location. I don't want to hardcode all the
admin accounts into the application, (someone could decompile and
discover all our passwords, these passwords can change, the local
admin teams may not want developers knowing their passwords either).
My idea would be to securely store the passwords in a SQL Server
database and read them when the application runs.
A lot of the hash code functions I've found are based on the premise
of storing user passwords to access an application, so don't look like
they would help me. What is my best way of doing this? Can I do it
in such a way that if the local admin stores their encrypted password
into a SQL db, it can be passed to the process.start method without a
developer being able to access the actual password?
Thanks,
Colly.
Hopefully I've got the correct group...
I've created a simple self-service sccm client repair application to
be used on our local network, where a NON-admin user can run an
application to repair their client. I have developed this app to
launch other applications (e.g. the SCCM Installer) under a local
admin account (using system.diagnostics.process.start(processinfo) and
passing in a SecureString as the user name of the admin account.
The issue I have is that there are different local admin accounts
dependant on the user's location. I don't want to hardcode all the
admin accounts into the application, (someone could decompile and
discover all our passwords, these passwords can change, the local
admin teams may not want developers knowing their passwords either).
My idea would be to securely store the passwords in a SQL Server
database and read them when the application runs.
A lot of the hash code functions I've found are based on the premise
of storing user passwords to access an application, so don't look like
they would help me. What is my best way of doing this? Can I do it
in such a way that if the local admin stores their encrypted password
into a SQL db, it can be passed to the process.start method without a
developer being able to access the actual password?
Thanks,
Colly.