Posts: 217
Location: UK.Lancashire(true)
|
Passwords is obviously a broad subject that we could spend the day discussing. If the data is sensitive then there should (in my opinion) be no way to view the password, but ask yourself this question, why would anybody want to view another persons password? if it is lost it can just be changed. You can use the encode function ie insert into TableName value(null, ENCODE($aPassword))
As appose to TableName value(null, PASSWORD($aPassword))
This means that it can be retrieved by using the DECODE() function. As I say though it depends on the worst case scenario, if your database gets hacked does it matter if the hacker gets the passwords?
|