What features make a fence more secure?

Features include height, lack of footholds, sturdy materials, and secure gates with quality locks.