Home >Software Tutorial >Office Software >How to protect a folder from being opened randomly? 3 methods are recommended!
Don’t want others to view or open important information in the folder? don’t worry! PHP editor Zimo brings 3 protection methods today, allowing you to easily keep your data confidential and away from prying eyes. Read on to learn how to protect your important data and keep it safe.
Method 1: Hide the folder
Hide the folder from view via Properties.
1. Select the folder you want to hide, then right-click the mouse and select the [Properties] option.
2. In the [Properties] window, check the [Hide] option, and then click [OK].
3. Open the [My Computer] folder and click [Change folder and search options] under the [File] option list.
4. After the [Folder Options] window pops up, on the [View] page, check [Don’t show hidden files, folders, or drives], and then click [OK].
After completing the above settings, the originally selected folder will be hidden and cannot be seen.
If you need to show this folder later, you can follow the steps above to bring up the [Folder Options] window, then check [Show hidden files, folders, and drives], and then click [OK] to hide it. folder will appear.
Method 2: Hidden file format
Use WinRAR decompression software to "disguise" the folder into other formats, making it impossible to open it.
1. After installing the WinRAR software, select the folder that needs to be protected, then right-click the mouse and select [Add to compressed file] in the WinRAR list.
2. After the [Compressed File Name and Parameters] window pops up, change the compression format suffix in [Compressed File Name] to other format suffixes, such as "xls", "ppt", "doc", etc., and then click [OK] 】.
3. After the folder is compressed, it will appear as a file in other formats. For example, if the suffix is changed to "xls", it will appear as an Excel file.
4. At this time, if you click to open the Excel file with the modified suffix, an error will be prompted. Even if it can be opened, it will be garbled and cannot be read.
By modifying the suffix, the compressed package is "disguised" as a file in other formats, so that it cannot be opened directly. If you need to open it later, you only need to select the opening method as WinRAR to open it.
Method 3: Set password protection for the folder
Compress the folder through decompression software and set password protection, so that the folder can only be opened through the password.
1. Select the folder that needs to be protected, right-click the mouse and select WinRAR’s [Add to compressed file].
After the window pops up, click [Set Password]. When the window pops up again, enter the password you want to set in the password field, and then click [OK], so that the folder will be compressed into a compressed package with a password.
2. After opening the compressed package and clicking on the file in the folder, a dialog box will pop up, prompting that you need to enter a password to view the file.
If password protection is no longer needed later, you can unzip the compressed package through WinRAR and change it back to the original folder.
First select the compressed package, then right-click the mouse and select [Extract file] or [Extract to current folder] in the WinRAR list.
Selepas tetingkap [Enter Password] muncul, masukkan kata laluan asal yang ditetapkan, kemudian klik [OK], dan folder akan dinyahmampatkan.
Perlu diingat bahawa selepas menetapkan kata laluan untuk pakej dimampatkan, anda perlu memasukkan kata laluan yang ditetapkan asal untuk melihat atau menyahmampat fail kemudian, jadi ingat untuk mengingati atau menyimpan kata laluan.
Jika anda terlupa secara tidak sengaja, anda hanya boleh menggunakan bantuan alatan lain.
Contohnya, Alat Pemulihan Kata Laluan ZIP PepsiCo atau Alat Pemulihan Kata Laluan RAR PepsiCo boleh membantu kami mendapatkan semula kata laluan pakej termampat Alat ZIP menyokong pakej termampat format ZIP dan 7Z . Alat RAR menyokong pakej termampat format RAR.
Alat ini menyediakan 4 kaedah mendapatkan semula Anda hanya perlu mengimport pakej termampat ke dalam alat, kemudian pilih kaedah yang sesuai dan ikut gesaan.
The above is the detailed content of How to protect a folder from being opened randomly? 3 methods are recommended!. For more information, please follow other related articles on the PHP Chinese website!