Is it secure to send a password through an Ajax request?
I have a login box that makes an Ajax request to check the login credentials and receive a JSON Object with any errors.
Would it be better to use form redirection instead?
[EDIT] Storing the encrypted password in the database is not a viable solution as the login and password sent via Ajax are used to access the database itself within an internal application.