I have a cool microchip cat flap. My cat has his unique microchip in his neck with our address and phone details stored on it. The flap is programed to open for only that chip. We had a magnetic one before that, but so did half the cats in the neighbourhood, so we had frequent visitors. This keeps them all out