The cliff dwellings built by the Anasazi gave them protections against

You can only invade them by climbing and they are therefore very effective for discouraging invading tribes.