This week's book giveaway is in the Features new in Java 9 forum.
We're giving away four copies of Java 9 Revealed and have Kishori Sharan on-line!
See this thread for details.
Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Database security controls.  RSS feed

 
Jacky Luk
Ranch Hand
Posts: 634
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Our user lately added an additional requirement for our project which is security control / privileges.
I wonder, if I use MariaDB, must I add the passwords into a table and encrypt that table.
So that when the password are gone, the data is destroyed along with it
Any ideas?
Thanks
Jack
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 36634
475
Eclipse IDE Java VI Editor
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don't pust the passwords in the table. Create a one way hash and put that in the table. YOu don't want the password in plain text anywhere.

I'm not sure what you mean by destroying the data.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!