WITDOM: Empowering Privacy and Security in Non-trusted Environments