Rm D
Posts: 0
Joined: Sun May 10, 2015 9:49 pm

hide column value in the database

How to make the value of any column hidden in the database, like in the user collection the user password value is hidden. How can I do that?

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

hide column value in the database

Hi -

In DB collection you can't do it now, unfortunately.

Asmaa AlHammadi
Posts: 0
Joined: Tue May 12, 2015 12:56 pm

hide column value in the database

are you sure about that? cause someone showed me that it can be done but I dont know the instructions

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

hide column value in the database

Yes, I'm sure.

But if you want to implement it from your side you can use any hash algorithm you need to convert password on the client part to it's hash and store it in the db.

For example here is an implementation for sha256: http://www.movable-type.co.uk/scripts...

Note: after you get hash of your "password" and stored it in DB you can only - get hash and compare it with other hash. So you can not get real "password" value.

Return to “Issues”