Best way to confirm clients identity on server?

Thank you, this is exactly what I have been looking for!