I would like to know if its possible to define a variable (key_fob) over internet and store that value somehow permanently?
Yes it is.
Use a long long type of variable to store a 64 bit value. Then you can store these values in EEPROM
http://arduino.cc/it/Reference/EEPROM