Thanks for your insight. I guess i can trust them, and i presume (as a
Alun Jones wrote:
> "pigeonrandle" <pigeonrandle@hotmail.com> wrote in message
> news:1153908969.044048.33770@i3g2000cwc.googlegroups.com...
> > I have a server and client program. The client encrypts data being sent
> > to the server using the servers public key before it transmits it to
> > the server over a tcp connection.
> >
> > The question i have though, is where do i store the private key on the
> > server so that it will be safe?! In my mind (at least for the moment
> > ...) there is no place to put it that couldn't be compromised in one
> > way or another.
>
> Correct. The same is true if you store the certificate in a safe. The
> person who has access to the safe and its combination could very easily open
> the safe, pull out the certificate, and use it.
>
> > The server also uses the same public key to encrypt other files it has
> > stored containing database usernames and passwords - hence my concerns
> > about storing the private key somewhere safe.
>
> How about the certificate store? Seems like a good place to store a
> certificate and its private key.
>
> > I would have liked to just 'keep the key in memory', but we all know
> > what would happen when Windows got bored and decided it was time to
> > blue-screen-of-death :-0
>
> What you're touching on here is the "rouge admin" theory of computer
> security, exemplified by the question "what software / settings do I use to
> protect my systems and their data from the system administrators?"
>
> The answer is "none". Your administrators are administrators. The people
> who view the memory dump on your system are administrators. The people who
> can expose keys from the certificate store are administrators.
>
> Administrators are trustworthy individuals who can be entrusted with
> complete control of all data and operations on the systems that they
> administer.
>
> If you cannot state that about your administrators, demote and / or fire
> them, replacing them with people that you are willing to trust - or, remove
> the sensitive data from the systems that they administer.
>
> The certificate store is an adequate place to store private keys. Learn how
> to protect your private keys using NTFS rights on the Crypto\RSA directory.
> And trust - or remove - your administrators.
>
> Alun.
> ~~~~
> [Please don't email posters, if a Usenet response is appropriate.]
> --
> Texas Imperial Software | Find us at
http://www.wftpd.com or email
> 23921 57th Ave SE | alun@wftpd.com.
> Woodinville WA 98072-8661 | WFTPD, WFTPD Pro are Windows FTP servers.
> Fax/Voice +1(425)807-1787 | Try our NEW client software, WFTPD Explorer.