Reputation: 7466
Bottle offers only basic authentification, which seems okay, since digest authentication is not the non-plus ultra. But what is? I have thought of:
But does this even makes sense or should I drop this idea and just make a secure HTTP connection with HTTPS (SSL) and be done with it?
Upvotes: 1
Views: 3241
Reputation: 55207
Hashing the password client-side provides the little added benefit that the password itself isn't sent on the clear (so it's not revealed),
However, it doesn't prevent an eavesdropper from pretending to be the user whose password he obtained.
This is the most reliable (and simple!) solution.
Plus, you'll get the added benefits of HTTPS:
As a general rule of thumb in security and encryption, you should always stick to the standards.
Upvotes: 4