Security guard shot in confrontation with police