Applied Approach to Privacy and Security for the Internet of Things