Categories for Smartphone Security