[go: up one dir, main page]

CN102054143A - Read-only protection method for removable storage medium - Google Patents

Read-only protection method for removable storage medium Download PDF

Info

Publication number
CN102054143A
CN102054143A CN2009102074085A CN200910207408A CN102054143A CN 102054143 A CN102054143 A CN 102054143A CN 2009102074085 A CN2009102074085 A CN 2009102074085A CN 200910207408 A CN200910207408 A CN 200910207408A CN 102054143 A CN102054143 A CN 102054143A
Authority
CN
China
Prior art keywords
data
deleted
name
removable storage
storage medium
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2009102074085A
Other languages
Chinese (zh)
Inventor
蔡嘉煌
张上郎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Innostor Tech Corp
Original Assignee
Innostor Tech Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Innostor Tech Corp filed Critical Innostor Tech Corp
Priority to CN2009102074085A priority Critical patent/CN102054143A/en
Publication of CN102054143A publication Critical patent/CN102054143A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Storage Device Security (AREA)

Abstract

The invention is a read-only protection method of removable storage media, establish a write-inhibit data table storing the file name of write-inhibit removable storage media first, when the removable storage media wants to exchange data with the storage device that may be poisoned, can inhibit effectively that any file that may cause the removable storage media poisoning writes into the removable storage media, but other files can still write into normally, in this way, not only can reduce the chance that the removable storage media poisons, and the removable storage media can still write the data that users need, will not cause inconvenience because of possible not allowing to use because of poisoning.

Description

The read-only guard method of removable formula Storage Media
Technical field
The present invention is about a kind of read-only guard method of removable formula Storage Media.
Background technology
In recent years, along with popularizing of removable formula Storage Medias such as the carry-on dish of USB, carry-on hard disk, make the distribution of the carry-on dish virus of USB serious day by day.
The carry-on dish virus of USB mainly is to utilize the autorun.inf file with in the computer that virus is implanted with the removable formula Storage Media of having poisoned is connected, the built-in Storage Media of this computer is infected, by the computer that is infected virus being spread to each again infects in the removable formula Storage Media that computer was connected with this round, therefore, the carry-on dish virus of USB aleopation and constantly diffusion between computer and removable formula Storage Media.
For preventing the continuation diffusion of the carry-on dish virus of USB, the carry-on dish of a kind of prior USB is for further being provided with a read-only switch thereon, switching read-only switch by the user makes the carry-on dish of this USB start read-only function, behind read-only function on, any data all can't write in the carry-on dish of this USB, suffer infective virus when being connected with the computer that infects the carry-on dish virus of USB so can prevent the carry-on dish of USB.
Yet, when read-only function on, though can allow the file that contains virus can't write outside the carry-on dish of this USB, generic-document also can't write the carry-on dish of this USB thus, and the user also can't delete the file in the carry-on dish of USB according to need, causes the user inconvenient greatly.
Summary of the invention
The objective of the invention is to, solve in the prior art,, use inconvenient technical matters by the continuation diffusion that the system switch prevents the carry-on dish virus of USB is set.
For achieving the above object, the invention provides a kind of read-only guard method of removable formula Storage Media, comprise the following steps:
Set up one and forbid writing tables of data, this forbids writing tables of data for storing the file name of forbidding writing a removable formula Storage Media;
Reception is to the write command of removable formula Storage Media, and this write command also comprises the file name of desiring to write removable formula Storage Media;
Judge whether to allow data are write removable formula Storage Media, the file name of desiring to write removable formula Storage Media for comparison forbids writing that tables of data is stored forbids writing file name and whether conform to this;
Tables of data is stored forbids writing file name and do not conform to if the file name of desiring to write removable formula Storage Media forbids writing with this, then allow this write command that data are write removable formula Storage Media, otherwise then do not allow this write command that data are write removable formula Storage Media.
Beneficial effect of the present invention is; utilize above-mentioned technological means, a kind of read-only guard method of removable formula Storage Media is provided, it can still can write under the prerequisite of data removable formula Storage Media; prevent that some specific file from writing in the removable formula Storage Media, with the virus of avoiding infection.Owing to only forbid existing the file name of forbidding writing in the tables of data to write removable formula storage device, therefore this file of forbidding writing file name in the tables of data of non-genus all can normally write removable formula storage device, thus, not only can prevent removable formula Storage Media infective virus, and still can write the required data of user, allow the user not have the restriction that can't write data fully in the use removable formula Storage Media.
Description of drawings
Fig. 1 is the application function calcspar of a preferred embodiment of the present invention.
Fig. 2 is the process flow diagram of a preferred embodiment of the present invention.
Description of reference numerals:
The carry-on dish of 10-USB; The 20-computer.
Embodiment
The read-only guard method of the removable formula Storage Media of the present invention, in order to make one to be connected with computer or the removable formula Storage Media of line has only read-protected function, this removable formula Storage Media can be the storage device of a USB interface, the for example carry-on dish of USB, the carry-on hard disk of USB etc., or other any removable formula Storage Medias that may kenels; Method of the present invention again may be implemented in this to be desired to have on the removable formula Storage Media of a read protecting function, or is implemented on the computer of this removable formula Storage Media desire connection or line.As shown in Figure 1, be implemented on the carry-on dish 10 of a USB as an example with method of the present invention below.
See also shown in Figure 2ly, the first embodiment of the present invention comprises the following steps:
Set up one and forbid writing tables of data 200;
Set up one and forbid deleted data table 201;
Set up a virus behavior tables of data 202;
Check whether the computer that is connected with removable formula Storage Media has potential virus danger 203;
If the computer 20 no potential virus danger that are connected with removable formula Storage Media then allow the read-write 204 to removable formula Storage Media fully, otherwise then proceed the following step;
Reception is to the write command 205 of removable formula Storage Media;
If the write command desire writes removable formula Storage Media with data, then further judge whether to allow data are write removable formula Storage Media 206, if be judged as is then to allow data are write removable formula Storage Media 207, otherwise then do not allow data are write removable formula Storage Media 208;
If the write command desire is deleted data in the removable formula Storage Media, then further judge whether to allow to delete the data 209 of removable formula Storage Media, if be judged as be, then allow the data 210 of the removable formula Storage Media of deletion), on the contrary the data 211 that then do not allow to delete removable formula Storage Media.
Set up one and forbid writing in tables of data 200 steps above-mentioned, this is forbidden writing tables of data and forbids writing file name for storing, this is forbidden writing file name and can be the file full name that comprises main file name (base name) and secondary shelves names (extension), or only is secondary shelves name; Because mostly most of viruses are the secondary shelves name of .exe .com .pif .lnk, thus in present embodiment, with secondary shelves as forbidding that writing file name illustrates.
Set up one and forbid in deleted data table 201 step above-mentioned, this forbids that the deleted data table is to store to forbid the deleted data title, this forbids that the deleted data name is called file full name, secondary shelves name or directory path, for example: some virus may be deleted the file of all secondary shelves .exe by name in the carry-on dish 10 of USB, may be secondary shelves name so forbid the deleted data title; Or should do not deleted arbitrarily when having deposited significant data in certain important catalogue of the carry-on dish 10 of this USB the time, suffer the virus deletion for avoiding this important catalogue, may be the path of this important catalogue so forbid the deleted data title.
Set up in a virus behavior tables of data 202 steps above-mentioned, this virus behavior tables of data is for storing the virus behavior data, and it is put down in writing when computer 20 infective virus, sets condition code and the deposit position thereof that shelves may exist in computer 20 operating systems; Form (Windows) operating system and Virus.Win32.AutoRun.ah virus with Microsoft are example; the logfile of windows workspace system (Registry) is aforesaid setting shelves; and should virus can automatically perform after the windows workspace system starts shooting again for guaranteeing; usually can logfile [HKLM SOFTWARE Microsoft Windows CurrentVersion RunOnce] increase in order to start the machine sign indicating number of virus shelves in the field; so this is a condition code in order to the machine sign indicating number that starts virus shelves, and [HKLM SOFTWARE Microsoft Windows CurrentVersion RunOnce] be deposit position.
Whether have in dangerous 203 steps of potential virus at the computer that above-mentioned inspection is connected with removable formula Storage Media, its test mode one of can comprise what follows or wherein the two or three or all be equipped with wherein, but be not limited to following manner, in present embodiment, following manner comprises for carrying out in regular turn:
1. check whether wire net of computer: because computer 20 is if fail wire net, then no matter expression is that the renewal of computer 20 operating systems or the renewal of antivirus software, startup etc. all can't normal operations, so whether normally the present invention promptly is by checking the computer 20 be connected with removable formula Storage Media wire net, as judging whether this computer 20 has the foundation of potential virus danger, if computer 20 is wire net normally, represent no potential virus danger, otherwise potential virus danger is then arranged.As for checking the whether mode of wire net of computer 20, one preferable way is to utilize computer 20 operating systems to offer program compilation person to write application code interface (the Application Programming Interface that program reading operation system state is used, be called for short API), read check computer 20 whether the data field of wire net confirmed.
2. check whether computer operating system is updated to last state: because the more new data of its operating system promptly can be disengaged at set intervals in computer 20 operating system manufacturers, security breaches with the repairing work system, with the windows workspace system is example, The built-in has automatically updating function, can be at any time and the servomechanism line of Microsoft, acquisition is also upgraded up-to-date more new data, so the present invention promptly is by checking that the windows workspace system provides the data field of relevant operating system update mode, as judging whether the computer 20 that is connected with removable formula Storage Media has the foundation of potential virus danger, if operating system has been updated to last state, represent no potential virus danger, otherwise potential virus danger is then arranged.As for checking whether computer 20 operating systems are updated to the mode of last state, one preferable way is to utilize computer 20 operating systems to offer program compilation person to write the API that program reading operation system state is used, and reads and checks that the data field whether computer 20 operating systems are updated to last state is confirmed.
3. whether the antivirus software of checking computer starts: the present invention can be by checking that the windows workspace system provides the data field that closes gas defence software startup state, as judging whether the computer 20 that is connected with removable formula Storage Media has the foundation of potential virus danger, if antivirus software starts, represent no potential virus danger, otherwise potential virus danger is then arranged.As for the mode of checking whether computer 20 antivirus softwares start, one preferable way is to utilize computer 20 operating systems to offer program compilation person to write the API that program reading operation system state is used, and reads and checks that the data field whether computer 20 antivirus softwares start is confirmed.
4. whether logfile contains virus signature in the inspection computer operating system: when the present invention proceeds to computer 20 that this inspection is connected with removable formula Storage Media whether dangerous 202 steps of potential virus are arranged, system is according to the stored virus behavior data of this virus behavior database, and seek in the setting shelves of computer 20 operating systems that arrive whether the project that meets the virus behavior data is arranged, expression has potential virus danger if having then, otherwise does not then have potential virus danger.Set the mode whether shelves contain virus signature in computer 20 operating systems as for checking, can utilize computer 20 operating systems to offer program compilation person and write the API that program reading operation system state is used, read in computer 20 operating systems data field of setting shelves and confirmed, or directly open the setting shelves of operating system and directly therefrom check and confirm.
In write command 205 steps of above-mentioned reception to removable formula Storage Media, this write command comprises that desire writes the write command of removable formula Storage Media or the write command that desire is deleted data in the removable formula Storage Media with data, if desire writes data the write command of removable formula Storage Media, then wherein still comprise the file name of desiring to write removable formula Storage Media, in the actual state, the file name of desiring to write removable formula Storage Media is file full name normally, and this document full name has promptly comprised main file name and secondary shelves name; If desire is deleted the write command of data in the removable formula Storage Media, then wherein still comprise and desire the deleted data title, may be file full name, secondary shelves name or directory path.
Allow data are write in removable formula Storage Media 206 steps above-mentioned judging whether, the file name that comparison desires to write removable formula Storage Media forbids writing that tables of data is stored forbids writing file name and whether conform to this; In present embodiment, comparison desires to write the secondary shelves name of file full name of removable formula Storage Media in the write command, whether the stored secondary shelves name that writes removable formula Storage Media of forbidding conforms in the tables of data with forbidding writing, if do not conform to, then carry out this write command of above-mentioned permission data are write removable formula Storage Media 207 steps, otherwise then carry out above-mentionedly not allowing this write command that data are write removable formula Storage Media 208 steps.
Allow to delete in data 209 steps of removable formula Storage Media above-mentioned judging whether, the data name of comparison desire deletion forbids with this whether the stored deleted data title of forbidding of deleted data table conforms to, if conform to, then carry out above-mentioned data 211 steps that do not allow to delete removable formula Storage Media, and must not delete the data that meet this deleted data title in this removable formula Storage Media, otherwise then carry out data 210 steps that removable formula Storage Media is deleted in above-mentioned permission, to delete the data that meet this deleted data title in this removable formula Storage Media.
From the above, use the removable formula Storage Media (for example carry-on dish of USB) of method of the present invention can be when it connects a computer 20, if this computer 20 has potential virus danger, then only allow do not forbidding that writing the listed file that writes file name of forbidding of tables of data writes removable formula Storage Media, or only allow do not forbidding the listed data of forbidding the deleted data title of deleted data table in this removable formula Storage Media of deletion, thus, the user still can forbid writing the listed file that writes file name of forbidding of tables of data and writes removable formula Storage Media being different from, or deletes to be different from this removable formula Storage Media and forbid the listed data of forbidding the deleted data title of deleted data table; If method of the present invention is applied on the computer 20, then it can prevent from its virus that has infected is write in the removable formula Storage Media that computer 20 connects therewith, but still keep to such an extent that will be different from and forbid writing the ability that the listed file of forbidding writing file name of tables of data writes removable formula Storage Media, or can prevent to delete data in the removable formula Storage Media that computer therewith 20 connects, but still keep to such an extent that be different from the listed ability of forbidding the data of deleted data title of deleted data table of forbidding in this removable formula Storage Media of deletion.Be with, method of the present invention can be avoided removable formula Storage Media infective virus or lost data effectively still writing under the prerequisite of data removable formula Storage Media.
The above description of this invention is illustrative, and nonrestrictive, and those skilled in the art is understood, and can carry out many modifications, variation or equivalence to it within spirit that claim limits and scope, but they will fall within the scope of protection of the present invention all.

Claims (29)

1.一种可移除式储存媒体的只读保护方法,其特征在于,包括下列步骤:1. A read-only protection method for a removable storage medium, comprising the following steps: 建立一禁止写入数据表,该禁止写入数据表为储存禁止写入一可移除式储存媒体的文件名称;Establishing a write-prohibited data table, the write-prohibited data table is used to store file names that are prohibited from being written into a removable storage medium; 接收对可移除式储存媒体的写入命令,该写入命令并包括欲写入可移除式储存媒体的文件名称;receiving a write command to the removable storage medium, where the write command includes the name of the file to be written into the removable storage medium; 判断是否允许将数据写入可移除式储存媒体,为比对欲写入可移除式储存媒体的文件名称与该禁止写入数据表所储存禁止写入文件名称是否相符;Judging whether data is allowed to be written into the removable storage medium is to compare whether the name of the file to be written into the removable storage medium matches the name of the write-prohibited file stored in the write-prohibited data table; 若欲写入可移除式储存媒体的文件名称与该禁止写入数据表所储存禁止写入文件名称不相符,则允许该写入命令将数据写入可移除式储存媒体,反之则不允许该写入命令将数据写入可移除式储存媒体。If the name of the file to be written into the removable storage medium does not match the name of the write-prohibited file stored in the write-prohibited data table, then the write command is allowed to write data into the removable storage medium, otherwise not The write command is allowed to write data to the removable storage medium. 2.如权利要求1所述可移除式储存媒体的只读保护方法,其特征在于,于建立一禁止写入数据表后,进一步先进行下列步骤:2. The read-only protection method of the removable storage medium as claimed in claim 1, characterized in that, after setting up a write-inhibited data table, further perform the following steps: 检查与可移除式储存媒体连接的电脑是否有潜在病毒危险;Check the computer connected to the removable storage media for potential viruses; 若与可移除式储存媒体连接的电脑无潜在病毒危险,则完全允许对可移除式储存媒体的读写,反之才接收对可移除式储存媒体的写入命令,并判断是否允许将数据写入可移除式储存媒体。If the computer connected to the removable storage medium has no potential virus danger, then the reading and writing of the removable storage medium is completely allowed, otherwise, the write command to the removable storage medium is received, and it is judged whether to allow the reading and writing of the removable storage medium Data is written to a removable storage medium. 3.如权利要求2所述可移除式储存媒体的只读保护方法,其特征在于,以与可移除式储存媒体连接的电脑是否正常连线网络,作为判断该电脑是否有潜病毒危险的依据,若电脑可正常连线网络,表示无潜在病毒危险,反之则有潜在病毒危险。3. The read-only protection method of the removable storage medium as claimed in claim 2, characterized in that, whether the computer connected to the removable storage medium is normally connected to the network is used to determine whether the computer has a latent virus risk If the computer can connect to the network normally, it means that there is no potential virus danger, otherwise, there is potential virus danger. 4.如权利要求2所述可移除式储存媒体的只读保护方法,其特征在于,以与可移除式储存媒体连接的电脑的作业系统是否更新到最新状态,作为该电脑是否有潜在病毒危险的依据,若作业系统已更新到最新状态,表示无潜在病毒危险,反之则有潜在病毒危险。4. The read-only protection method for removable storage media as claimed in claim 2, wherein whether the operating system of the computer connected to the removable storage medium is updated to the latest state is used as whether the computer has potential The basis of virus risk, if the operating system has been updated to the latest state, it means that there is no potential virus risk, otherwise, there is potential virus risk. 5.如权利要求3所述可移除式储存媒体的只读保护方法,其特征在于,进一步以与可移除式储存媒体连接的电脑的作业系统是否更新到最新状态,作为该电脑是否有潜在病毒危险的依据,若作业系统已更新到最新状态,表示无潜在病毒危险,反之则有潜在病毒危险。5. The read-only protection method of the removable storage medium as claimed in claim 3, further, whether the operating system of the computer connected to the removable storage medium is updated to the latest state, as whether the computer has The basis of potential virus danger, if the operating system has been updated to the latest state, it means that there is no potential virus danger, otherwise, there is potential virus danger. 6.如权利要求2所述可移除式储存媒体的只读保护方法,其特征在于,以与可移除式储存媒体连接的电脑上防毒软件是否启动,作为检查该电脑是否有潜在病毒危险的依据,若防毒软件已启动,表示无潜在病毒危险,反之则有潜在病毒危险。6. The read-only protection method of the removable storage medium as claimed in claim 2, wherein whether the anti-virus software on the computer connected to the removable storage medium is activated is used to check whether the computer has a potential virus risk If the anti-virus software is activated, it means that there is no potential virus danger, otherwise, there is potential virus danger. 7.如权利要求3所述可移除式储存媒体的只读保护方法,其特征在于,进一步以与可移除式储存媒体连接的电脑上防毒软件是否启动,作为检查与可移除式储存媒体连接的电脑是否有潜在病毒危险的依据,若防毒软件已启动,表示无潜在病毒危险,反之则有潜在病毒危险。7. The read-only protection method of the removable storage medium as claimed in claim 3, characterized in that, whether the anti-virus software on the computer connected to the removable storage medium is activated as a check and removable storage medium The basis for whether the computer connected to the media has a potential virus risk. If the anti-virus software is activated, it means that there is no potential virus risk, otherwise, there is a potential virus risk. 8.如权利要求4所述可移除式储存媒体的只读保护方法,其特征在于,进一步以与可移除式储存媒体连接的电脑上防毒软件是否启动,作为检查与可移除式储存媒体连接的电脑是否有潜在病毒危险的依据,若防毒软件已启动,表示无潜在病毒危险,反之则有潜在病毒危险。8. The read-only protection method of the removable storage medium as claimed in claim 4, characterized in that further, whether the anti-virus software on the computer connected to the removable storage medium is started is used as a check and removable storage medium. The basis for whether the computer connected to the media has a potential virus risk. If the anti-virus software is activated, it means that there is no potential virus risk, otherwise, there is a potential virus risk. 9.如权利要求2所述可移除式储存媒体的只读保护方法,其特征在于,进一步建立一病毒行为数据表,其中:9. The read-only protection method for removable storage media as claimed in claim 2, wherein a virus behavior data table is further established, wherein: 该病毒行为数据表为储存病毒行为数据,其记载当电脑感染病毒时,在电脑作业系统中设定档可能存在的特征码及其存放位置;The virus behavior data table is for storing virus behavior data, which records the signature codes and storage locations that may exist in the configuration file in the computer operating system when the computer is infected with a virus; 于检查与可移除式储存媒体连接的电脑是否有潜在病毒危险时,以该电脑作业系统的设定档中是否有符合病毒行为数据的项目作为依据,若有则表示有潜在病毒危险,反之则无潜在病毒危险。When checking whether a computer connected to a removable storage medium has a potential virus risk, it is based on whether there is an item in the configuration file of the computer operating system that matches the virus behavior data. If there is, it means that there is a potential virus risk, and vice versa There is no potential virus hazard. 10.如权利要求3所述可移除式储存媒体的只读保护方法,其特征在于,进一步建立一病毒行为数据表,其中:10. The read-only protection method for removable storage media as claimed in claim 3, wherein a virus behavior data table is further established, wherein: 该病毒行为数据表为储存病毒行为数据,其记载当电脑感染病毒时,在电脑作业系统中设定档可能存在的特征码及其存放位置;The virus behavior data table is for storing virus behavior data, which records the signature codes and storage locations that may exist in the configuration file in the computer operating system when the computer is infected with a virus; 于检查与可移除式储存媒体连接的电脑是否有潜在病毒危险时,进一步以该电脑作业系统的设定档中是否有符合病毒行为数据的项目作为依据,若有则表示有潜在病毒危险,反之则无潜在病毒危险。When checking whether a computer connected to a removable storage medium has a potential virus risk, it is further based on whether there is an item in the configuration file of the computer operating system that matches the virus behavior data. If there is, it means that there is a potential virus risk. Otherwise, there is no potential virus danger. 11.如权利要求4所述可移除式储存媒体的只读保护方法,其特征在于,进一步建立一病毒行为数据表,其中:11. The read-only protection method for removable storage media as claimed in claim 4, wherein a virus behavior data table is further established, wherein: 该病毒行为数据表为储存病毒行为数据,其记载当电脑感染病毒时,在电脑作业系统中设定档可能存在的特征码及其存放位置;The virus behavior data table is for storing virus behavior data, which records the signature codes and storage locations that may exist in the configuration file in the computer operating system when the computer is infected with a virus; 于检查与可移除式储存媒体连接的电脑是否有潜在病毒危险时,进一步以该电脑作业系统的设定档中是否有符合病毒行为数据的项目作为依据,若有则表示有潜在病毒危险,反之则无潜在病毒危险。When checking whether a computer connected to a removable storage medium has a potential virus risk, it is further based on whether there is an item in the configuration file of the computer operating system that matches the virus behavior data. If there is, it means that there is a potential virus risk. Otherwise, there is no potential virus danger. 12.如权利要求5所述可移除式储存媒体的只读保护方法,其特征在于,进一步建立一病毒行为数据表,其中:12. The read-only protection method for removable storage media as claimed in claim 5, wherein a virus behavior data table is further established, wherein: 该病毒行为数据表为储存病毒行为数据,其记载当电脑感染病毒时,在电脑作业系统中设定档可能存在的特征码及其存放位置;The virus behavior data table is for storing virus behavior data, which records the signature codes and storage locations that may exist in the configuration file in the computer operating system when the computer is infected with a virus; 于检查与可移除式储存媒体连接的电脑是否有潜在病毒危险时,进一步以该电脑作业系统的设定档中是否有符合病毒行为数据的项目作为依据,若有则表示有潜在病毒危险,反之则无潜在病毒危险。When checking whether a computer connected to a removable storage medium has a potential virus risk, it is further based on whether there is an item in the configuration file of the computer operating system that matches the virus behavior data. If there is, it means that there is a potential virus risk. Otherwise, there is no potential virus danger. 13.如权利要求2至12中任一项所述可移除式储存媒体的只读保护方法,其特征在于,透过电脑作业系统提供的应用程序编码接口,读取检查与可移除式储存媒体连接的电脑是否有潜在病毒危险所需数据。13. The read-only protection method for removable storage media according to any one of claims 2 to 12, characterized in that, through the application code interface provided by the computer operating system, the read check and removable The computer to which the storage media is connected is free of data required for potential virus hazards. 14.如权利要求9至12项中任一项所述可移除式储存媒体的只读保护方法,其特征在于,藉由直接开启作业系统的设定档而直接从中检查电脑作业系统的设定档中是否有符合病毒行为数据的项目。14. The read-only protection method for a removable storage medium according to any one of claims 9 to 12, wherein the setting file of the computer operating system is directly checked by directly opening the configuration file of the operating system Whether there are items in the final file that match the virus behavior data. 15.如权利要求1至12中任一项所述可移除式储存媒体的只读保护方法,其特征在于,该禁止写入文件名称包含主档名和副档名的文件全名。15. The read-only protection method for a removable storage medium according to any one of claims 1 to 12, wherein the write-prohibited file name includes a full file name of a main file name and an auxiliary file name. 16.如权利要求13所述可移除式储存媒体的只读保护方法,其特征在于,该禁止写入文件名称包含主档名和副档名的文件全名。16. The read-only protection method for a removable storage medium as claimed in claim 13, wherein the write-prohibited file name includes a full file name of a primary file name and a secondary file name. 17.如权利要求14所述可移除式储存媒体的只读保护方法,其特征在于,该禁止写入文件名称包含主档名和副档名的文件全名。17. The read-only protection method for a removable storage medium as claimed in claim 14, wherein the write-prohibited file name includes a full file name of a main file name and an auxiliary file name. 18.如权利要求1至12中任一项所述可移除式储存媒体的只读保护方法,其特征在于,该禁止写入文件名称为副档名。18. The read-only protection method for a removable storage medium according to any one of claims 1 to 12, wherein the name of the write-prohibited file is an extension. 19.如权利要求13所述可移除式储存媒体的只读保护方法,其特征在于,该禁止写入文件名称为副档名。19. The read-only protection method for a removable storage medium as claimed in claim 13, wherein the name of the write-prohibited file is an extension name. 20.如权利要求14所述可移除式储存媒体的只读保护方法,其特征在于,该禁止写入文件名称为副档名。20. The read-only protection method for a removable storage medium as claimed in claim 14, wherein the name of the write-prohibited file is an extension name. 21.如权利要求1至12中任一项所述可移除式储存媒体的只读保护方法,其特征在于,进一步建立一禁止删除数据表,该禁止删除数据表为储存禁止删除数据名称,又该写入命令并进一步包括欲删除数据名称,并于接收对可移除式储存媒体的写入命令后,进一步包括下列步骤:21. The read-only protection method for removable storage media as described in any one of claims 1 to 12, wherein a deletion-prohibited data table is further set up, and the deleted-prohibited data table is for storing the name of the deleted-prohibited data, The write command further includes the name of the data to be deleted, and after receiving the write command to the removable storage medium, further includes the following steps: 判断是否允许删除可移除式储存媒体的数据,为比对欲删除的数据名称与该禁止删除数据表所储存禁止删除数据名称是否相符;To determine whether the data on the removable storage medium is allowed to be deleted is to compare whether the name of the data to be deleted matches the name of the data that is prohibited from being deleted stored in the data table that is prohibited from being deleted; 若删除数据名称与该禁止删除数据表所储存禁止删除数据名称不相符,则允许删除该可移除式储存媒体中符合该删除数据名称的数据,反之则不允许删除该可移除式储存媒体中符合该删除数据名称的数据。If the name of the deleted data does not match the name of the forbidden data stored in the forbidden deletion data table, then the data in the removable storage medium that matches the name of the deleted data is allowed to be deleted; otherwise, the removable storage medium is not allowed to be deleted Data that matches the name of the deleted data in . 22.如权利要求13所述可移除式储存媒体的只读保护方法,其特征在于,进一步建立一禁止删除数据表,该禁止删除数据表为储存禁止删除数据名称,又该写入命令并进一步包括欲删除数据名称,并于接收对可移除式储存媒体的写入命令后,进一步包括下列步骤:22. The read-only protection method of removable storage media as claimed in claim 13, characterized in that, further set up a delete-prohibited data table, which is to store the name of the prohibited-delete data, and the write command and It further includes the name of the data to be deleted, and after receiving the write command to the removable storage medium, further includes the following steps: 判断是否允许删除可移除式储存媒体的数据,为比对欲删除的数据名称与该禁止删除数据表所储存禁止删除数据名称是否相符;To determine whether the data on the removable storage medium is allowed to be deleted is to compare whether the name of the data to be deleted matches the name of the data that is prohibited from being deleted stored in the data table that is prohibited from being deleted; 若删除数据名称与该禁止删除数据表所储存禁止删除数据名称不相符,则允许删除该可移除式储存媒体中符合该删除数据名称的数据,反之则不允许删除该可移除式储存媒体中符合该删除数据名称的数据。If the name of the deleted data does not match the name of the forbidden data stored in the forbidden deletion data table, then the data in the removable storage medium that matches the name of the deleted data is allowed to be deleted; otherwise, the removable storage medium is not allowed to be deleted Data that matches the name of the deleted data in . 23.如权利要求14所述可移除式储存媒体的只读保护方法,其特征在于,进一步建立一禁止删除数据表,该禁止删除数据表为储存禁止删除数据名称,又该写入命令并进一步包括欲删除数据名称,并于接收对可移除式储存媒体的写入命令后,进一步包括下列步骤:23. The method for read-only protection of removable storage media as claimed in claim 14, wherein a deletion-prohibited data table is further set up, and the deleted-prohibited data table is used to store the names of the prohibited-deleted data, and the write command and It further includes the name of the data to be deleted, and after receiving the write command to the removable storage medium, further includes the following steps: 判断是否允许删除可移除式储存媒体的数据,为比对欲删除的数据名称与该禁止删除数据表所储存禁止删除数据名称是否相符;To determine whether the data on the removable storage medium is allowed to be deleted is to compare whether the name of the data to be deleted matches the name of the data that is prohibited from being deleted stored in the data table that is prohibited from being deleted; 若删除数据名称与该禁止删除数据表所储存禁止删除数据名称不相符,则允许删除该可移除式储存媒体中符合该删除数据名称的数据,反之则不允许删除该可移除式储存媒体中符合该删除数据名称的数据。If the name of the deleted data does not match the name of the forbidden data stored in the forbidden deletion data table, then the data in the removable storage medium that matches the name of the deleted data is allowed to be deleted; otherwise, the removable storage medium is not allowed to be deleted Data that matches the name of the deleted data in . 24.如权利要求15所述可移除式储存媒体的只读保护方法,其特征在于,进一步建立一禁止删除数据表,该禁止删除数据表为储存禁止删除数据名称,又该写入命令并进一步包括欲删除数据名称,并于接收对可移除式储存媒体的写入命令后,进一步包括下列步骤:24. The method for read-only protection of removable storage media as claimed in claim 15, wherein a delete-prohibited data table is further set up, the delete-prohibited data table is for storing the name of the prohibited-delete data, and the write command and It further includes the name of the data to be deleted, and after receiving the write command to the removable storage medium, further includes the following steps: 判断是否允许删除可移除式储存媒体的数据,为比对欲删除的数据名称与该禁止删除数据表所储存禁止删除数据名称是否相符;To determine whether the data on the removable storage medium is allowed to be deleted is to compare whether the name of the data to be deleted matches the name of the data that is prohibited from being deleted stored in the data table that is prohibited from being deleted; 若删除数据名称与该禁止删除数据表所储存禁止删除数据名称不相符,则允许删除该可移除式储存媒体中符合该删除数据名称的数据,反之则不允许删除该可移除式储存媒体中符合该删除数据名称的数据。If the name of the deleted data does not match the name of the forbidden data stored in the forbidden deletion data table, then the data in the removable storage medium that matches the name of the deleted data is allowed to be deleted; otherwise, the removable storage medium is not allowed to be deleted Data that matches the name of the deleted data in . 25.如权利要求16所述可移除式储存媒体的只读保护方法,其特征在于,进一步建立一禁止删除数据表,该禁止删除数据表为储存禁止删除数据名称,又该写入命令并进一步包括欲删除数据名称,并于接收对可移除式储存媒体的写入命令后,进一步包括下列步骤:25. The read-only protection method of the removable storage medium as claimed in claim 16, characterized in that, further set up a delete-prohibited data table, the delete-prohibited data table is to store the name of the prohibited-delete data, and the write command and It further includes the name of the data to be deleted, and after receiving the write command to the removable storage medium, further includes the following steps: 判断是否允许删除可移除式储存媒体的数据,为比对欲删除的数据名称与该禁止删除数据表所储存禁止删除数据名称是否相符;To determine whether the data on the removable storage medium is allowed to be deleted is to compare whether the name of the data to be deleted matches the name of the data that is prohibited from being deleted stored in the data table that is prohibited from being deleted; 若删除数据名称与该禁止删除数据表所储存禁止删除数据名称不相符,则允许删除该可移除式储存媒体中符合该删除数据名称的数据,反之则不允许删除该可移除式储存媒体中符合该删除数据名称的数据。If the name of the deleted data does not match the name of the forbidden data stored in the forbidden deletion data table, then the data in the removable storage medium that matches the name of the deleted data is allowed to be deleted; otherwise, the removable storage medium is not allowed to be deleted Data that matches the name of the deleted data in . 26.如权利要求17所述可移除式储存媒体的只读保护方法,其特征在于,进一步建立一禁止删除数据表,该禁止删除数据表为储存禁止删除数据名称,又该写入命令并进一步包括欲删除数据名称,并于接收对可移除式储存媒体的写入命令后,进一步包括下列步骤:26. The read-only protection method of the removable storage medium as claimed in claim 17, characterized in that, further set up a delete-prohibited data table, which is to store the name of the prohibited-delete data, and the write command and It further includes the name of the data to be deleted, and after receiving the write command to the removable storage medium, further includes the following steps: 判断是否允许删除可移除式储存媒体的数据,为比对欲删除的数据名称与该禁止删除数据表所储存禁止删除数据名称是否相符;To determine whether the data on the removable storage medium is allowed to be deleted is to compare whether the name of the data to be deleted matches the name of the data that is prohibited from being deleted stored in the data table that is prohibited from being deleted; 若删除数据名称与该禁止删除数据表所储存禁止删除数据名称不相符,则允许删除该可移除式储存媒体中符合该删除数据名称的数据,反之则不允许删除该可移除式储存媒体中符合该删除数据名称的数据。If the name of the deleted data does not match the name of the forbidden data stored in the forbidden deletion data table, then the data in the removable storage medium that matches the name of the deleted data is allowed to be deleted; otherwise, the removable storage medium is not allowed to be deleted Data that matches the name of the deleted data in . 27.如权利要求18所述可移除式储存媒体的只读保护方法,其特征在于,进一步建立一禁止删除数据表,该禁止删除数据表为储存禁止删除数据名称,又该写入命令并进一步包括欲删除数据名称,并于接收对可移除式储存媒体的写入命令后,进一步包括下列步骤:27. The read-only protection method of the removable storage medium as claimed in claim 18, characterized in that, further set up a delete-prohibited data table, which is to store the name of the prohibited-delete data, and the write command and It further includes the name of the data to be deleted, and after receiving the write command to the removable storage medium, further includes the following steps: 判断是否允许删除可移除式储存媒体的数据,为比对欲删除的数据名称与该禁止删除数据表所储存禁止删除数据名称是否相符;To determine whether the data on the removable storage medium is allowed to be deleted is to compare whether the name of the data to be deleted matches the name of the data that is prohibited from being deleted stored in the data table that is prohibited from being deleted; 若删除数据名称与该禁止删除数据表所储存禁止删除数据名称不相符,则允许删除该可移除式储存媒体中符合该删除数据名称的数据,反之则不允许删除该可移除式储存媒体中符合该删除数据名称的数据。If the name of the deleted data does not match the name of the forbidden data stored in the forbidden deletion data table, then the data in the removable storage medium that matches the name of the deleted data is allowed to be deleted; otherwise, the removable storage medium is not allowed to be deleted Data that matches the name of the deleted data in . 28.如权利要求19所述可移除式储存媒体的只读保护方法,其特征在于,进一步建立一禁止删除数据表,该禁止删除数据表为储存禁止删除数据名称,又该写入命令并进一步包括欲删除数据名称,并于接收对可移除式储存媒体的写入命令后,进一步包括下列步骤:28. The method for read-only protection of removable storage media as claimed in claim 19, wherein a deletion-prohibited data table is further established, and the deleted-prohibited data table is used to store the name of the prohibited-deletion data, and the write command and It further includes the name of the data to be deleted, and after receiving the write command to the removable storage medium, further includes the following steps: 判断是否允许删除可移除式储存媒体的数据,为比对欲删除的数据名称与该禁止删除数据表所储存禁止删除数据名称是否相符;To determine whether the data on the removable storage medium is allowed to be deleted is to compare whether the name of the data to be deleted matches the name of the data that is prohibited from being deleted stored in the data table that is prohibited from being deleted; 若删除数据名称与该禁止删除数据表所储存禁止删除数据名称不相符,则允许删除该可移除式储存媒体中符合该删除数据名称的数据,反之则不允许删除该可移除式储存媒体中符合该删除数据名称的数据。If the name of the deleted data does not match the name of the forbidden data stored in the forbidden deletion data table, then the data in the removable storage medium that matches the name of the deleted data is allowed to be deleted; otherwise, the removable storage medium is not allowed to be deleted Data that matches the name of the deleted data in . 29.如权利要求20所述可移除式储存媒体的只读保护方法,其特征在于,进一步建立一禁止删除数据表,该禁止删除数据表为储存禁止删除数据名称,又该写入命令并进一步包括欲删除数据名称,并于接收对可移除式储存媒体的写入命令后,进一步包括下列步骤:29. The read-only protection method of removable storage medium as claimed in claim 20, it is characterized in that, further set up a prohibition deletion data table, this prohibition deletion data table is to store the prohibition deletion data name, and this write command and It further includes the name of the data to be deleted, and after receiving the write command to the removable storage medium, further includes the following steps: 判断是否允许删除可移除式储存媒体的数据,为比对欲删除的数据名称与该禁止删除数据表所储存禁止删除数据名称是否相符;To determine whether the data on the removable storage medium is allowed to be deleted is to compare whether the name of the data to be deleted matches the name of the data that is prohibited from being deleted stored in the data table that is prohibited from being deleted; 若删除数据名称与该禁止删除数据表所储存禁止删除数据名称不相符,则允许删除该可移除式储存媒体中符合该删除数据名称的数据,反之则不允许删除该可移除式储存媒体中符合该删除数据名称的数据。If the name of the deleted data does not match the name of the forbidden data stored in the forbidden deletion data table, then the data in the removable storage medium that matches the name of the deleted data is allowed to be deleted; otherwise, the removable storage medium is not allowed to be deleted Data that matches the name of the deleted data in .
CN2009102074085A 2009-10-30 2009-10-30 Read-only protection method for removable storage medium Pending CN102054143A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009102074085A CN102054143A (en) 2009-10-30 2009-10-30 Read-only protection method for removable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009102074085A CN102054143A (en) 2009-10-30 2009-10-30 Read-only protection method for removable storage medium

Publications (1)

Publication Number Publication Date
CN102054143A true CN102054143A (en) 2011-05-11

Family

ID=43958450

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009102074085A Pending CN102054143A (en) 2009-10-30 2009-10-30 Read-only protection method for removable storage medium

Country Status (1)

Country Link
CN (1) CN102054143A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103020510A (en) * 2011-09-28 2013-04-03 奇智软件(北京)有限公司 Method and device for identifying illegal writing in portable storage equipment
CN103235730A (en) * 2013-04-27 2013-08-07 天津长瑞华通科技发展有限公司 Portable management device based on C/S (client/server) client software and implementation method of device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080215840A1 (en) * 2006-12-27 2008-09-04 Fujitsu Limited Electronic file system, operating device, approval device, and computer program

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080215840A1 (en) * 2006-12-27 2008-09-04 Fujitsu Limited Electronic file system, operating device, approval device, and computer program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103020510A (en) * 2011-09-28 2013-04-03 奇智软件(北京)有限公司 Method and device for identifying illegal writing in portable storage equipment
CN103020510B (en) * 2011-09-28 2016-08-03 北京奇虎科技有限公司 A kind of method and device of the illegal write identified in movable storage device
CN103235730A (en) * 2013-04-27 2013-08-07 天津长瑞华通科技发展有限公司 Portable management device based on C/S (client/server) client software and implementation method of device

Similar Documents

Publication Publication Date Title
US7814554B1 (en) Dynamic associative storage security for long-term memory storage devices
US9881013B2 (en) Method and system for providing restricted access to a storage medium
US7743424B2 (en) Method for protecting data in a hard disk
CA2305172C (en) System and method for managing application installation for a mobile device
US6971018B1 (en) File protection service for a computer system
US7640404B2 (en) File system write filtering for selectively permitting or preventing data from being written to write-protected storage
CN1545657A (en) Computer hard disk data backup and recovery method
JP2006513490A (en) Protected and hidden emergency boot directory
KR20110050592A (en) Dynamic File System Constraints for Portable Storage Devices
US20150227743A1 (en) Portable media system with virus blocker and method of operation thereof
JP2009238153A (en) Malware handling system, method, and program
US6961833B2 (en) Method and apparatus for protecting data in computer system in the event of unauthorized data modification
US20110107047A1 (en) Enforcing a File Protection Policy by a Storage Device
US8725780B2 (en) Methods and systems for rule-based worm enforcement
CN101853338A (en) Safe computer system for system disk fixation
CN116611066B (en) Lesovirus identification method, device, equipment and storage medium
US20100122054A1 (en) Copy safe storage
US20040107357A1 (en) Apparatus and method for protecting data on computer hard disk and computer readable recording medium having computer readable programs stored therein
CN102054143A (en) Read-only protection method for removable storage medium
TWI414958B (en) Read - only protection of removable media
WO2023090297A1 (en) Storage device and program
CN104915266B (en) A kind of application program guard method and device
US20060136690A1 (en) Storage device having independent storage areas and password protection method thereof
US20030131112A1 (en) Computer firewall system
CN102222185B (en) Method for preventing operating system starting file from being infected

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20110511