The maximum fence height allowed for residential properties with pools in New York City is six feet tall, and there is a requirement for childproof devices and fences around the pool to prevent accidents.