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.
I want to do right, but not right now. Gillian Welch