Get one of those cat doors that is activated by a magnet on the cat's collar.
Install the cat door in a large plastic rubbermaid/sterlite type storage box.
Magnet on older cat's collar. Prescription cat food inside storage box.
Works a charm. We did it for years when we had one cat on a...