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.
There's roosters laying chickens,and chickens laying eggs... John Prine