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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 18541

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.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Encoding Username and password
Similar Threads
Username and password problem
startup and shutdown WebLogic
mount error 13 = Permission denied
is there a any validation API in java
JAAS/LDAP question