How about a teeter totter, weight based kinda portal thing. Cat go/ dog no go.
Trap door, again, the weight based idea.
Or a force field, set up like key cards at work.
Concertina wire is effective. Cats will get through.
Armed guard.
Work your fingers to the bone,what do you get? - Boney Fingers. Hoyt Axton