Effective security measures do not come cheap.