callumd
08-14-2008, 09:20 PM
Hi there.
I'm building a website at the moment and the user ids generated from the database are all sequential: 27, 28, 29, 30.. etc.
I am thinking that this would be a good thing for spammers, given that my messaging system uses the user id as the identifier when sending a message. I am worried that spammers could create a script where they could just keep incrementing the user id by one, and spam my entire membership base.
Is it common for websites to avoid sequential ids for things such as this?
I'm building a website at the moment and the user ids generated from the database are all sequential: 27, 28, 29, 30.. etc.
I am thinking that this would be a good thing for spammers, given that my messaging system uses the user id as the identifier when sending a message. I am worried that spammers could create a script where they could just keep incrementing the user id by one, and spam my entire membership base.
Is it common for websites to avoid sequential ids for things such as this?