Revealing User ids
Posted: Sat Nov 13, 2010 5:42 am
Previously, I though of having both a "user id" and a "public user id". The public user id is essentially the user id hashed with a salt.
The idea was so that when I included the "public" user id in a get or post, the actual user id used to make database changes would not be disclosed.
Theoretically it should be safer, but is it actually needed assuming that the database is secure? If the database was not secure, someone with access to it could just search the public userid.
So it is redundant or not? And to what degree is revealing the user id a security threat?
ita Stet.
The idea was so that when I included the "public" user id in a get or post, the actual user id used to make database changes would not be disclosed.
Theoretically it should be safer, but is it actually needed assuming that the database is secure? If the database was not secure, someone with access to it could just search the public userid.
So it is redundant or not? And to what degree is revealing the user id a security threat?
ita Stet.