Agador Paloi wrote: If you are building a secure database you should not be keeping the actual password in your database.
The password should be kept as an encrypted value and when the
user enters their password it is encrypted with the same algorithm
and compared to the database value.
Agad
Hi Agad
It's sounds like the better thing to do, the problem is that i don't know how to do it. Is it something that I am supposed to do inside my SQL database or in my Java code?
In my Java code I have tried to change the password field to a JPasswordField but I get an error on this piece of code:
The message is:
Can you please tell me what I'm doing wrong and what I should do, or maybe a tutorial on how to fix it?
Thank you in advance
Dene