Protecting Physical Security Systems Againts Network Attacks