in reply to Security using Encrypted cookies

I take from your description, that you are somehow selling the software. All it takes to break your scheme, is getting the crypted cookie from another user.

I believe this is slightly harder than your user simply giving the software away to another person directly, so I would say this is ok 99.5% of the time...

If this worries too much, here's a simple way to cope with it, assuming that you have the source code of the .EXE you're selling. This is in addition to what you already done.

It then becomes a matter of checking this number in the .EXE to know who leaked his/her copy. You can also have more elaborate schemes, placing an encrypted number in there and having the code decrypt and print such number at runtime.

Of course, all this can be easily defeated if the attacker can disassemble your code...

Best regards

-lem, but some call me fokat