Which limited method of warning a passer is permitted?

The Sutrah and Passing in Front of a Worshipper