All the electronic devices we own, especially our mobile phones and computers, have a huge amount of personal information about us and our family. Such data could be contact details, phone numbers and email accounts of friends and family, emails from the doctor, family photographs, Internet browsing history, employment agreement and many many more. We should protect that sensitive data from prying eyes. In those prying eyes we include the governments and we should protect ourselves from illegal police searches. We will analyze what is legal and what is not and what we should do if police wants to search our digital devices