Host based security system