These measures can work in different ways as a result of their visible presence or the knowledge of covert patrols in an area can act as a deterrent.  These can reduce the attractiveness of the railway as a place for trespass, direct and support correct behaviour, as well as influence behaviour when people are in place of risk.  Patrols in an area of risk can enable early warning of risk and response by the industry.