File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Security and the fly likes Encoding Username and password Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Security
Bookmark "Encoding Username and password" Watch "Encoding Username and password" New topic

Encoding Username and password

ravisha andar
Ranch Hand

Joined: Feb 25, 2011
Posts: 55
Hi All,

I have a login screen with username and password.

I always hear that the username and password shold be encoded and sent to server.

How do i encode from the client side and send the details to the server or have i unserstood the concept wrong

Paul Clapham

Joined: Oct 14, 2005
Posts: 19973

No, you are correct, you should encrypt passwords if you are going to send them over the internet. To do that you use SSL, i.e. you use an https URL.
I agree. Here's the link:
subject: Encoding Username and password
It's not a secret anymore!