1. A method for controlling access to encrypted files, the method comprising: detecting, via a hardware processor, a request from a first application of a plurality of applications to access an encrypted file, wherein each of the plurality of applications is associated with a priority and each priority is associated with a file access policy that specifies a method for accessing the encrypted file; identifying the first application that requested access to the encrypted file including identifying a priority associated with the first application, and a first file access policy associated with the priority of the first application; identifying a second application activated by the first application for accessing the requested file including identifying a priority associated with the second application, and a second file access policy associated with the priority of the second application; determining the file access policy for accessing the encrypted file based at least on respective priorities of the first and second applications; and controlling an access of the second application to the encrypted file based on the file access method specified in the determined file access policy, wherein the file access method includes one of a set of: (i) providing the access to the encrypted file, (ii) decrypting the encrypted file and providing an access to a decrypted file, and (iii) blocking the access to the encrypted file.