How to protect a folder from being opened randomly? 3 methods are recommended!

王林
Release: 2024-09-02 14:35:16
Original
939 people have browsed it

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.

How to protect a folder from being opened randomly? 3 methods are recommended!

2. In the [Properties] window, check the [Hide] option, and then click [OK].

How to protect a folder from being opened randomly? 3 methods are recommended!

3. Open the [My Computer] folder and click [Change folder and search options] under the [File] option list.

How to protect a folder from being opened randomly? 3 methods are recommended!

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.

How to protect a folder from being opened randomly? 3 methods are recommended!

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.

How to protect a folder from being opened randomly? 3 methods are recommended!

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.

How to protect a folder from being opened randomly? 3 methods are recommended!

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] 】.

How to protect a folder from being opened randomly? 3 methods are recommended!

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.

How to protect a folder from being opened randomly? 3 methods are recommended!

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.

How to protect a folder from being opened randomly? 3 methods are recommended!

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.

How to protect a folder from being opened randomly? 3 methods are recommended!

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.

How to protect a folder from being opened randomly? 3 methods are recommended!

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.

How to protect a folder from being opened randomly? 3 methods are recommended!

Selepas tetingkap [Enter Password] muncul, masukkan kata laluan asal yang ditetapkan, kemudian klik [OK], dan folder akan dinyahmampatkan.

How to protect a folder from being opened randomly? 3 methods are recommended!

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.

How to protect a folder from being opened randomly? 3 methods are recommended!

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!

source:passneo.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!