Home  >  Article  >  Software Tutorial  >  How to prevent deletion or modification of files in RAR archive? Many people don’t know this feature

How to prevent deletion or modification of files in RAR archive? Many people don’t know this feature

WBOY
WBOYforward
2024-02-18 12:27:231174browse

php editor Zimo shared: Many people don’t know how to prohibit deletion or modification of files in RAR archives. This function can ensure the security of files and avoid losses caused by misoperation. How to implement this function? Let’s explore it together.

Some users may set "restrict editing" on files in the compressed package. Although this can prevent the content from being changed, if there are many files with different formats, the configuration will be time-consuming and cannot prevent accidental deletion.

Today I will share a simple operation that can solve the above two problems at the same time. Remember to save it if you need it~

First, open the RAR archive that you want to set protection through WinRAR, and click [Lock Compressed File] in the list under the menu [Command].

How to prevent deletion or modification of files in RAR archive? Many people don’t know this feature.

After a new page pops up, you can see that the option [Prohibit modification of compressed files] is checked by default. After clicking [OK] below, all files in the RAR archive will be locked and cannot be modified.

How to prevent deletion or modification of files in RAR archive? Many people don’t know this feature

After locking the settings, you can see that [Add] and [Delete] in the menu are gray and cannot be clicked. That is, new files cannot be added to the compressed package, and existing files cannot be deleted.

How to prevent deletion or modification of files in RAR archive? Many people don’t know this feature.

After locking the settings, you can see that [Add] and [Delete] in the menu are gray and cannot be clicked. That is to say, new files cannot be added to the compressed package, and existing files cannot be deleted.

How to prevent deletion or modification of files in RAR archive? Many people don’t know this feature.

The above is the situation when operating in WinRAR compression software. If we change to another compression software and open the locked RAR file again, we will still be unable to "add" and "delete" files.

How to prevent deletion or modification of files in RAR archive? Many people don’t know this feature.

When modifying the file content, the same message will appear [Locked], or the modified content cannot be saved.

How to prevent deletion or modification of files in RAR archive? Many people don’t know this feature.

Of course, this lock setting only protects the files in the RAR compressed package from being modified. The files can still be modified after they are decompressed.

If you want the file to be unable to be decompressed and modified, you need to set a protection password for the compression. Only by entering the password can the file be decompressed.

After setting a password for the compressed package, it is recommended that friends collect the Pepsi Niu RAR password recovery tool. If you accidentally forget the password, the tool provides four retrieval methods to help you retrieve the password.

Pepsi Niu RAR Password Recovery Tool

How to prevent deletion or modification of files in RAR archive? Many people don’t know this feature

The above is the detailed content of How to prevent deletion or modification of files in RAR archive? Many people don’t know this feature. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:passneo.cn. If there is any infringement, please contact admin@php.cn delete