I am authenticating clients of an apache2 server using AuthType Basic over SSL secured connections. I imagine these are secure, as the usernames and passwords are encrypted before they are sent to the server.

Is that right?

link|improve this question

79% accept rate
feedback

3 Answers

up vote 3 down vote accepted

Yes, that's pretty much secure (notwithstanding the recent vulnerability found in TLS during renegotiation). The vast majority of sites use exactly that.

For additional security, consider client side certificates, two-factor authentication, etc.

link|improve this answer
feedback

That is correct. In fact, SSL is the easiest method to secure that kind of data. The security of SSL changes over time as cyphers and hash methods succumb to better attacks and faster hardware, but it is still very secure.

link|improve this answer
Thanks. A reference to the weakness of AuthType Basic in the Apache docs made me worry I'd missed something. – chernevik Nov 25 '09 at 19:28
feedback

SSL was designed specifically to secure that kind of connection. you're still vulnerable to brute-force attacks if you use weak passwords and dont monitor your Apache logs.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.