6 ms·
i have an insurer who uses social security numbers as account numbers...and stores them as integers. the developers obviously did not realize that social secur
by chrsig 4y ago
i have an insurer who uses social security numbers as account numbers...and stores them as integers.
the developers obviously did not realize that social security numbers may start with a leading zero. (so can postal codes!)
- fwip 4y agoThis can clearly cause output formatting issues, but it doesn't seem to introduce any ambiguity as they're all 9 digits.
- deleted 4y ago[deleted]
- px1999 4y agoA bit of a side point but I'm a little amazed that using ssns as account ids is legal. The approach just seems to be asking for identity theft/fraud...
- somat 4y agoPersonally I am conflicted on this one. On the one hand a ssn number(or any identifying number) should not need to be any more secret than the name it is replacing, your ssn should be able to be publicly available. However, this is the real world and many people and institutions use the ssn as the sole source of identity, which means it needs to be kept secret.
- lucas_membrane 4y agoUnfortunately, about 40 years ago, I was employed by a corporation in a capacity that required them to file documents identifying me by SSN to state regulators in several states, such documents being available for the public to inspect, not withstanding that I still have my original Social Security card, which says thereon quite clearly "Not for Identification." The SSN does not have the attributes of a good permanent identifier of a unique person. If you get an SSN with three consecutive 6's in it, you can get it changed to another one not containing that string. Worse yet, the Social Security Administration has reserved the right to reuse the SSN's of persons deceased (IDK if they can or might do that without giving further notice). Furthermore, the US government talks as if there are two completely different kinds of numbers that each use 9 digits, and that they might overlap, ie use the same numbers for different entities; one being SSN's and ITINS, and the other EINS. However, the practice of the IRS and SSA has been to do their best to make sure that they do not overlap, at which the results have been as good as can be expected, but not perfect. As many games have been lost by one card too many as by one card too few.
- eyelidlessness 4y agoI’m not sure how it could be illegal. It definitely isn’t a good natural primary key (but then I’m firmly in the “natural PKs are harmful” camp anyway). And it’s certainly too easy to leak PII by using it as a PK. But I’m struggling to imagine a coherent legal structure which accepts collecting SSN data but mandates limits on how it can be used in a database schema.
- lucas_membrane 4y agoAnd when you join up as covered by Medicare (usually around age 65), you get a second 9 character ID on a card that looks like a Social Security card with the hyphens in the same positions, said ID probably containing both digits and letters (not case sensitive AFAIK).