Imagine two scenarios:
1) A new user is registering using the flex form and sends his brand new password from the swf to the server.
2) An existing user is logging in using the flex form thus sending his username/password combo to the server for authentication.
How may I ensure that the password cannot be gleaned/easedropped on its way to the server from the swf? Encryption? If so, how?
AND ALSO: What form should I store the password into the database using php/mysql to ensure best practices of security?