Towards Least Privilege Principle: Limiting Unintended Accesses in Software Systems.