matteocodogno / CipherQuest

Engage with CipherQuest, a sophisticated AI chatbot designed with a comprehensive knowledge base and a closely guarded secret. The bot won't reveal its secret until you ask the right questions. Can you outsmart our AI and extract the hidden truth? Test your skills and uncover the secret in CipherQuest!
MIT License
5 stars 0 forks source link

BE: during user registration, save an unique id from the user (ip, mac, device id, ...) to prevent the same user to register multiple times #24

Open edoparo opened 2 weeks ago

rubin0 commented 2 weeks ago

I'm reading about this topic, and I don't know if there is a real effective way to get the device id or the mac address of a device from an http request. The IP could be dangerous, because multiple device could share the same IP at some point.

edoparo commented 2 weeks ago

Maybe a better approach could be trying to understand whether a user is cheating or not by checking his "questions path"

matteocodogno commented 1 week ago

We can implement a cryptographic algorithm to generate a unique ID based on device info, then it's enough to add it to an HTTP header.