Electric fencing. Has worked for years.