Sunday, 15 February 2015

Django and the German Tank Problm -



Django and the German Tank Problm -

i want create impossible find exact number of users on django-hosted site (known german tank problem). default django assigns consecutive user ids, presently can create business relationship , through html/ajax requests own user id, number of users @ moment user signed up.

the codebase of site in question big enough, , user ids used in ajax calls enough, case-by-case solution prohibitive (the solution being: finding every place user ids used , using hash instead). there cleaner/faster way of achieving this?

if want obfuscate total number of signups, can obfuscate fudging user id value big number. won't prevent interpolating sign-up rate creating multiple accounts @ intervals , hence having clue @ real number, question prevent seeing total number of users.

django django-models

No comments:

Post a Comment