3 ms·
It's standard security practice not to expose integer user IDs. Anyone who goes through standard security training knows this. Granted, one thing languages cou
by gwbas1c 9y ago
It's standard security practice not to expose integer user IDs. Anyone who goes through standard security training knows this.
Granted, one thing languages could do is provide easy type containers so it's hard to misconstrue an I'd as referring to a wrong type. I once tried to do this with generics in C# but it wasn't worth the effort.
- tigershark 9y agoC# is ill suited for this sadly. On the other hand in F# you have single case discriminated unions or unit of measures if you care about performance.
- hungerstrike 9y agoWhat is the standard called and where can I read about that?