php editor Apple will share with you some methods on U disk protection. In modern society, USB flash drives have become an indispensable storage tool in our lives. However, due to their easy loss and vulnerability to viruses, our important data sometimes faces the risk of leakage. Therefore, it is particularly important to know how to protect data on USB flash drives. This article will introduce you to some simple and effective USB flash drive protection methods to keep your data safe and reliable.
For example, the WannaCry Bitcoin ransomware virus that caused a global sensation in the past few years looks awesome, but in the end it only extorted thousands of dollars.
Developing a virus is indeed a costly task. Not only do you need to consider the risk of being caught or fined, but you also need to consider the development time, server and Translation and other costs. These costs cannot be measured in thousands of dollars, so developing viruses is indeed a thankless task.
But in China, there is a type of place where most of the viruses on the Chinese Internet are always hidden.
Those are the print shops in major cities, especially those inside and near schools, which can be called a picture book of the Chinese virus.
These viruses often sneak into your computer secretly, delete your files, and turn your files into garbled characters.
Xuebajun was often tricked when he was still a student. Fortunately, there were no mistakes when printing his graduation thesis.
Considering that it is also the graduation season recently, Xueba Jun will teach you a trick to make your U disk invulnerable to viruses. Use U disk You can also learn how to transfer files from disk to disk.
First we open the USB flash drive and create a new "text document" in it.
Then change the name of this text document to "Autorun.inf".
Note that the “.txt” suffix must also be changed, otherwise the file will not be valid.
As for whether to write something in the file, it doesn’t matter. The main thing is that there must be a file with this name.
Then right-click the file and click "Properties".
Check both "Read-only" and "Hide" in the properties, and finally click "OK".
This way your USB flash drive can resist most common viruses.
You may think that this setting is too simple?
It’s that simple. In fact, this operation takes advantage of the simple virus operation logic.
Most viruses quietly enter your USB drive and then hide themselves.
When you plug the USB drive into the next computer, it is run through a script called "Autorun.inf" and the destruction begins.
Now we have created this file in advance. Since the file management rules of Windows are that two files with the same name cannot exist in the same folder, so even if the virus writes the data to the U disk , it doesn't work either.
At this time, some students may ask, since there is already Autorun.inf and the house has been built for others, why do they want to break in and live in it? no?
It is possible. Everyone should have done this before.
When we make files, we often make many versions because of modified content. When you press Save As, if you click on the previous version of the file, you will be asked whether you want to overwrite it. , after overwriting, the old version file will disappear, leaving only the new version file.
The key lies in the "read-only" I just set in the properties. As the name suggests, files with "read-only" set can only is viewed and cannot be modified.
So even if the virus sees that the house has been built, it can only look at it and cannot live in it.
If you have any files that you don’t want others to modify, you can try changing its modification permissions with the "read-only" setting.
It’s actually that simple to avoid U disk poisoning. You don’t have to worry about any problems when you plug the U disk into other people’s computers in the future.
What? How to avoid computer virus?
Isn’t tinder fragrant? The computer hard drive is protected by tinder, what other tricks are needed?
The above is the detailed content of How to protect USB disk. For more information, please follow other related articles on the PHP Chinese website!