A password could be applied to the file, folder or storage device in which the file is held. This method of protection is effective if the password is strong, and, in most cases, dissuades the casual hacker who simply wants to take a look at your data. However, unless you are using a really complicated password, determined hackers will eventually get into a file.