search
HomeSoftware TutorialOffice Software3 methods to prevent opening RAR compressed files, the last one is worth collecting!

php editor Baicao introduces you 3 methods to prohibit opening RAR compressed files. The last method is worth collecting! RAR files are a common compressed file format, but sometimes we want to restrict file access permissions and protect the file content from being opened at will. Through the following methods, you can easily prevent RAR files from being opened and ensure file security.

Method 1: Set "Open Password"

When compressing files, you can use software such as WinRAR to set an "open password" for the RAR file, which can ensure the security of the compressed package. The file can only be opened after entering the correct password, preventing unauthorized access.

Setting method:

1. Select the file or folder that needs to be compressed, right-click the mouse, and select "Add to compressed file" in the WinRAR option list.

3 methods to prevent opening RAR compressed files, the last one is worth collecting!

2. After the [Compressed File Name and Parameters] dialog box pops up, click [Set Password]. When the dialog box pops up again, enter the password you want to set in the password field, click [OK] and then re-enter the password. It's set.

3 methods to prevent opening RAR compressed files, the last one is worth collecting!

3. After setting, every time you open a RAR compressed file, you can still see the file name in the compressed package, but when you click to view the file, a dialog box will pop up prompting you to require a password to open the file.

3 methods to prevent opening RAR compressed files, the last one is worth collecting!

Method 2: Hide file name

According to the "Method 1" setting, the files in the RAR compressed package cannot be opened at will, but the file names in the compressed package can be seen. If you want to prohibit opening the compressed package at will, and do not want to leak the contents of the files in the compressed package, You can set the file name to be hidden.

Setting method:

1. Follow "Method 1" to compress the file and set a password. When the [Enter Password] dialog box pops up, enter the password you want to set in the password field, check the [Encrypted File Name] below, and then click [OK] 】It is set.

3 methods to prevent opening RAR compressed files, the last one is worth collecting!

2. After setting, every time you click to open the RAR file, you will not be able to open the compressed package and see the file name inside. Instead, a dialog box will pop up directly, prompting you to enter a password before you can open the compressed package.

3 methods to prevent opening RAR compressed files, the last one is worth collecting!

It should be noted that whether it is "Method 1" or "Method 2", after setting a password for the RAR compressed package, remember to remember or save the password, because if you forget the password, you will not be able to open the compressed package, and the decompression software will also There is no "forgot password" option.

If you accidentally forget it, we need to use other tools to solve the problem.

For examplePepsi Niu RAR Password Recovery Tool can help us retrieve the "open password" of the RAR compressed package. The tool provides 4 retrieval methods. After importing the RAR compressed package into the tool, select the appropriate method and follow the prompts.

3 methods to prevent opening RAR compressed files, the last one is worth collecting!

Method 3: Hide the RAR compressed package and "disguise" the compressed package as a file in other formats

If you don’t want to set a password for the RAR archive, and don’t want the archive to be opened at will, we can “disguise” the RAR archive as a file in other formats, so that the RAR archive can be hidden and cannot be opened. Compressed package.

Setting method:

1. Put the RAR compressed package into a folder, then rename the folder and add the following code after the file name:

.{20d04fe0-3aea-1069-a2d8-08002b30309d}

3 methods to prevent opening RAR compressed files, the last one is worth collecting!

2. After adding the suffix code to the file name, you will see that the folder icon changes to the "This PC" icon.

3 methods to prevent opening RAR compressed files, the last one is worth collecting!

3. Click to open the folder with the modified name, which also jumps directly to the "This Computer" folder. You cannot see the original RAR compressed package, so you cannot open the compressed package.

3 methods to prevent opening RAR compressed files, the last one is worth collecting!

4. If you want to view the compressed package later, you only need to open the WinRAR decompression software first, then find the folder with the suffix added, and click to open the folder to see the original RAR compressed package;

If you no longer need to hide the compressed package and want to change the disguised "folder" to its original appearance, you only need to rename the folder, then delete the originally added code, and the disguised "folder" will be restored to its original appearance. .

3 methods to prevent opening RAR compressed files, the last one is worth collecting!

The above is the detailed content of 3 methods to prevent opening RAR compressed files, the last one is worth collecting!. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:百事牛科技. If there is any infringement, please contact admin@php.cn delete
Excel CONCATENATE function to combine strings, cells, columnsExcel CONCATENATE function to combine strings, cells, columnsApr 30, 2025 am 10:23 AM

This article explores various methods for combining text strings, numbers, and dates in Excel using the CONCATENATE function and the "&" operator. We'll cover formulas for joining individual cells, columns, and ranges, offering solutio

Merge and combine cells in Excel without losing dataMerge and combine cells in Excel without losing dataApr 30, 2025 am 09:43 AM

This tutorial explores various methods for efficiently merging cells in Excel, focusing on techniques to retain data when combining cells in Excel 365, 2021, 2019, 2016, 2013, 2010, and earlier versions. Often, Excel users need to consolidate two or

Excel: Compare two columns for matches and differencesExcel: Compare two columns for matches and differencesApr 30, 2025 am 09:22 AM

This tutorial explores various methods for comparing two or more columns in Excel to identify matches and differences. We'll cover row-by-row comparisons, comparing multiple columns for row matches, finding matches and differences across lists, high

Rounding in Excel: ROUND, ROUNDUP, ROUNDDOWN, FLOOR, CEILING functionsRounding in Excel: ROUND, ROUNDUP, ROUNDDOWN, FLOOR, CEILING functionsApr 30, 2025 am 09:18 AM

This tutorial explores Excel's rounding functions: ROUND, ROUNDUP, ROUNDDOWN, FLOOR, CEILING, MROUND, and others. It demonstrates how to round decimal numbers to integers or a specific number of decimal places, extract fractional parts, round to the

Consolidate in Excel: Merge multiple sheets into oneConsolidate in Excel: Merge multiple sheets into oneApr 29, 2025 am 10:04 AM

This tutorial explores various methods for combining Excel sheets, catering to different needs: consolidating data, merging sheets via data copying, or merging spreadsheets based on key columns. Many Excel users face the challenge of merging multipl

Calculate moving average in Excel: formulas and chartsCalculate moving average in Excel: formulas and chartsApr 29, 2025 am 09:47 AM

This tutorial shows you how to quickly calculate simple moving averages in Excel, using functions to determine moving averages over the last N days, weeks, months, or years, and how to add a moving average trendline to your charts. Previous articles

How to calculate average in Excel: formula examplesHow to calculate average in Excel: formula examplesApr 29, 2025 am 09:38 AM

This tutorial demonstrates various methods for calculating averages in Excel, including formula-based and formula-free approaches, with options for rounding results. Microsoft Excel offers several functions for averaging numerical data, and this gui

How to calculate weighted average in Excel (SUM and SUMPRODUCT formulas)How to calculate weighted average in Excel (SUM and SUMPRODUCT formulas)Apr 29, 2025 am 09:32 AM

This tutorial shows you two simple ways to calculate weighted averages in Excel: using the SUM or SUMPRODUCT function. Previous articles covered basic Excel averaging functions. But what if some values are more important than others, impacting the f

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use