Bridging the gap between physical and logical security