One great idea is to use installed safety gates, installed slightly higher than standard to ensure that a toddler can't climb over them. (childproofingtips.com)
A fence is no challenge to these breeds; they can easily climb over it or dig under it. (bluecross.org.uk)