Magic cookies were the old term used to describe packets of data received and sent by a program without changes. The “magic” implies unknown or unreadable data recognized only by the software and not the user. Predating the cookies in use today, magic cookies were originally used by Unix programmers. Magic cookies can either be identification tokens or passwords used to gain access to database systems.