Privacy and Security: A modern and transparent legal framework