Theory and practice of personal safety