Barrier on top! Very easy to install (for me who am not a handyman) Fits of large doors with its extension provided. is attached and removed in 1 minute lap top! The big positive: it opens with one hand, in both directions and the choice can close automatically or be stuck open.