Using non clonable rfid card

Hi,
i succeed to make a security locking system using a arduino mega and a rc522. The things i do is to check the ID number of the card and if it match with the one i have in the arduino, then i activate the locking system.
The problem is: i don't want somebody to replicate (or clone) the card with things like a flipper zero (or other rfid card writer)... Somebody can help me find out how i can achieve this task?
Best regards,
Simon

Check the datasheet, the technical, manual for some kind of locking function.

That sort of problem has been around since locks were first invented, which, according to this article, was several thousand years ago.

Simple, don't give your card to anyone you don't trust. It's not cloneable from distance.
RC522 module + card cost less than $1 on AE, do you expect to get some "fort knox" security from them?

ok thanks for thoses answers, the project is for a museum so i will not be the user, and the element inside this locker system is quite precious... i am looking to know if it is possible to do things like authentification with a smart card (like AES encryption, with a mifare desfire ev2 or something similar), that's what my research bring me to. I don't see any tutorial on the subject, maybe it's not possible to do this kind of things on arduino?
Best regards,
Simon

So do not use a card ID as a key, because it accessible for everybody. This is not a reliable method and no serious system is built on the ID number alone.
Most cards have a protected area that can be read only by knowing the password. These areas are not copied when cloning the card.
Write your own ID (not the same as the card number) here and open the lock only if this ID is in the database.

For something that is "quite precious" and possibly not even yours, consider a proven, commercial locking system, rather than risk an expensive DIY failure. Maybe buy theft insurance as well.

1 Like

Do an internet search for:-
"Open source access control with Arduino"

You will see lots of tutorials on this. But I would avoid the ones on the Instructables web sites, these in general are written by people with an inflated idea of their own knowledge.

Could you indicate the value of the precious items in the locker?
Recently a 5 million dollar golden piece was stolen from a museum here...