A file folder and delete unlocking method and system

The present invention discloses a method for unlocking a file or folder, comprising: receiving an unlock request, check-in parameter meets a preset condition; if the check input parameters satisfy the predetermined condition, the correction of the deformity according to a preset rule path format and / or the special file name or folder name; to be determined through the correction unlock the file or folder exists limit setting; if there is a limitation is provided, the clear limit to the file or folder. Files of the invention, folders unlock method, by removing the read-only lock, remove lock routines, add permissions, close the handle and other means to get rid of the protective layers of the infected file may have been set to increase the security against malicious software and programs ability.