Y
Hacker News
new
|
ask
|
show
|
jobs
by
mort96
184 days ago
Who said I was talking about social media?
1 comments
nish__
184 days ago
Well where else do users have public profiles?
link
0x3f
184 days ago
The whole point though is that the ID itself leaks info, even if the profile is not public. There are many cases where you reference an object as a foreign key, even if you can't see the entire record of that foreign key.
link
nish__
184 days ago
I can't think of any.
link
strbean
183 days ago
Sending a friend request is an obvious example.
link
nish__
181 days ago
Ok but in that case, why not use the user ID as the primary key?
link