SSMS: a secure software management system