JPH02100157A - File protecting system - Google Patents

File protecting system

Info

Publication number
JPH02100157A
JPH02100157A JP63252040A JP25204088A JPH02100157A JP H02100157 A JPH02100157 A JP H02100157A JP 63252040 A JP63252040 A JP 63252040A JP 25204088 A JP25204088 A JP 25204088A JP H02100157 A JPH02100157 A JP H02100157A
Authority
JP
Japan
Prior art keywords
write
file
area
storage medium
external storage
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
JP63252040A
Other languages
Japanese (ja)
Inventor
Chiaki Nozaki
野崎 千秋
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.)
NEC Solution Innovators Ltd
Original Assignee
NEC Solution Innovators Ltd
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 NEC Solution Innovators Ltd filed Critical NEC Solution Innovators Ltd
Priority to JP63252040A priority Critical patent/JPH02100157A/en
Publication of JPH02100157A publication Critical patent/JPH02100157A/en
Pending legal-status Critical Current

Links

Landscapes

  • Storage Device Security (AREA)

Abstract

PURPOSE:To prevent a file from being destroyed due to mis-write of a user by designating only a write prohibiting area as a protection area by setting the protection area at part of an external storage medium. CONSTITUTION:A generating means 2 inputs the range of the protection area designated by a designation means 1, and generates protection area information 5 based on the range of the protection area. A registration means 3 registers the protection area information 5 on the external storage medium 4, and a file area 6 is prohibited to write from a time when the registration of the protection area information 5 is completed. A protection means 9, when a write range designated by a request means 10 being overlapped on the file area 6 registered on the protection area table 8, prohibits the write on the file area 6 based on the protection area table 8. In such a way, it is possible to prevent a write prohibition file from being destroyed due to the mis-write, etc.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は磁気ディスク等の外部記憶媒体にファイルを登
録する電子計算機システムに用いられるファイル保護方
式に関し、特に指定されたプロテクト領域に登録されて
いるファイルへの書込みを禁止するファイル保護方式に
関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a file protection method used in a computer system in which files are registered in an external storage medium such as a magnetic disk. This document relates to a file protection method that prohibits writing to files that are currently in use.

〔従来の技術〕[Conventional technology]

従来、この種の電子計算機システムでは、磁気ディスク
等の外部記憶媒体に対する書込みの許可及び禁止は、外
部記憶媒体の全領域単位でなくては行えないようになっ
ている。このために、従来のファイル保護方式では、書
込み禁止ファイルを保護するためには、外部記憶媒体の
空き領域及び書込み許可ファイルをも含めたすべての領
域を書込み禁止とする必要がある。
Conventionally, in this type of computer system, permission or prohibition of writing to an external storage medium such as a magnetic disk can only be performed for the entire area of the external storage medium. For this reason, in the conventional file protection method, in order to protect a write-protected file, it is necessary to make all areas of the external storage medium, including free areas and write-enabled files, write-protected.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した従来のファイル保護方式では、書込み禁止ファ
イルを保護するためには、外部記憶媒体の空き領域及び
書込み許可ファイルをも含めたすべての領域を書込み禁
止としなければならず、空き領域あるいは書込み許可フ
ァイルにプログラムあるいはデータを書き込む必要があ
る場合には。
In the conventional file protection method described above, in order to protect a write-protected file, all areas of the external storage medium, including free space and write-permitted files, must be made write-protected. If you need to write a program or data to a file.

外部記憶媒体を書込禁止とすることができず、利用者の
書込みミス等によシ書込み禁止ファイルにプログラムあ
るいはデータが書き込まれて書込み禁止ファイルが破壊
される恐れがあるという間1題点がある。
One problem is that it is not possible to write-protect the external storage medium, and there is a risk that a program or data may be written to the write-protected file due to a writing error by the user, resulting in the write-protected file being destroyed. be.

本発明の目的は、上述の点に鑑み、同一外部記憶媒体に
書込み禁止ファイル、書込み許可ファイルおよび空き領
域が混在していても書込み禁止ファイルのみを書込み禁
止とすることができるファイル保護方式を提供すること
にある。
In view of the above-mentioned points, an object of the present invention is to provide a file protection method that can prohibit writing only to write-protected files even if write-protected files, write-permitted files, and free space coexist on the same external storage medium. It's about doing.

〔課題を解決するだめの手段〕[Failure to solve the problem]

本発明のファイル保護方式は、ファイルを外部記憶媒体
に登録する電子計算機システムに用いられ、前記外部記
憶媒体のプロテクト領域を指定したプロテクト領域情報
を作成する作成手段と、この作成手段によシ作成された
前記プロテクト領域情報を前記外部記憶媒体に登録する
登録手段と。
The file protection method of the present invention is used in a computer system that registers a file in an external storage medium, and includes a creation means for creating protected area information that specifies a protected area of the external storage medium, and a file created by the creation means. and registration means for registering the protected area information in the external storage medium.

この登録手段により前記外部記憶媒体に登録されている
前記プロテクト領域情報を入力する入力手段と、この入
力手段によシ入力された前記プロテクト領域に登録され
ているファイルへの書込みを禁止するプロテクト手段と
を有することを特徴としている。
an input means for inputting the protected area information registered in the external storage medium by the registration means; and a protect means for prohibiting writing to the file registered in the protected area inputted by the input means. It is characterized by having the following.

〔実施例〕〔Example〕

以下本発明について実施例によって説明する。 The present invention will be explained below with reference to Examples.

第1図を参照して1本発明が適用される電子計算機シス
テムは、外部記憶媒体4を備えている。
Referring to FIG. 1, an electronic computer system to which the present invention is applied includes an external storage medium 4. As shown in FIG.

この外部記憶媒体4にはプロテクト領域情報5が格納さ
れるとともにファイル領域6が設けられている。
This external storage medium 4 stores protected area information 5 and is provided with a file area 6.

本発明によるファイル保護方式は、書込み禁止とするプ
ロテクト領域を指定する指定手段1と。
The file protection method according to the present invention includes a specifying means 1 for specifying a protected area in which writing is prohibited.

プロテクト領域情報を作成する作成手段2と、ゾロテク
ト領域情報を外部記憶媒体4に登録する登録手段3と、
プロテクト領域情報5を入力し、プロテクト領域テーブ
ル8に登録する入力手段7と。
a creation means 2 for creating protected area information; a registration means 3 for registering Zorotect area information in an external storage medium 4;
an input means 7 for inputting the protected area information 5 and registering it in the protected area table 8;

プロテクト領域テーブル8に登録されているファイル領
域6への書込みを禁止するプロテクト手段9と、プロテ
クト手段9に対して書込みを要求する要求手段10とを
備えている。そして2作成手段2.登録手段3.入力手
段7.7″′ロテクト領域テーブル8及びプロテクト手
段9は、ファームウェアで構成されている。
It includes a protect means 9 for prohibiting writing to the file area 6 registered in the protect area table 8, and a request means 10 for requesting the protect means 9 to write. and 2 creation means 2. Registration means 3. The input means 7.7''' protect area table 8 and protect means 9 are constituted by firmware.

第2図を参照して、指定手段1における処理は。Referring to FIG. 2, the processing in the specifying means 1 is as follows.

プロテクト領域範囲指定ステップ11と1作成手段起動
ステップ12とからなる。
The process includes a protect area range designation step 11 and a 1 creation means activation step 12.

第3図を参照して1作成手段2における処理は。Referring to FIG. 3, the processing in 1 creating means 2 is as follows.

プロテクト領域範囲指定入力ステップ21と、プロテク
ト領域情報作成ステップ22と、登録手段起動ステップ
23とからなる。
The step includes a protect area range designation input step 21, a protect area information creation step 22, and a registration means activation step 23.

第4図を参照して、登録手段3における処理は。Referring to FIG. 4, the processing in the registration means 3 is as follows.

プロテクト領域情報人カステッf31と、外部記憶媒体
登録ステラf32とからなる。
It consists of a protected area information person cast f31 and an external storage medium registration stella f32.

第5図を参照して、入力手段7における処理は。Referring to FIG. 5, the processing in the input means 7 is as follows.

プロテクト領域情報入力判定ステップ71と、プロテク
ト領域情報入力ステップ72と、プロテクト領域テーブ
ル登録ステップ73とからなる。
The process includes a protect area information input determination step 71, a protect area information input step 72, and a protect area table registration step 73.

第6図を参照して、7″ロテクト段9における処理は、
プロテクト領域テーブル検索ステップ91と、プロテク
ト領域判定ステップ92と、外部記憶媒体書込みステッ
プ93とからなる。
Referring to FIG. 6, the processing at the 7″ protect stage 9 is as follows:
It consists of a protected area table search step 91, a protected area determination step 92, and an external storage medium writing step 93.

次に、このように構成されたファイル保護方式の動作に
ついて第1図から第6図を説明する。
Next, the operation of the file protection system configured as described above will be explained with reference to FIGS. 1 to 6.

指定手段1は、プロテクト領域範囲指定ステップ11で
書込み禁止ファイルが登録されているファイル領域6の
範囲を指定し9作成手段起動ステップ12で作成手段2
を起動する。
The specifying means 1 specifies the range of the file area 6 in which the write-protected file is registered in the protected area range specifying step 11, and the creating means 2 in the step 12 of starting the creating means
Start.

作成手段2は、プロテクト領域範囲指定入力ステップ2
1で指定手段1により指定されたプロテクト領域範囲を
入力し、プロテクト領域情報作成ステラf22でこのプ
ロテクト領域範囲を基にしてプロテクト領域情報5を作
成し、登録手段起動ステップ23で登録手段3を起動す
る。
The creation means 2 includes a protection area range specification input step 2.
In step 1, the protected area range specified by the specifying means 1 is input, and in the protected area information creation Stella f22, protect area information 5 is created based on this protected area range, and in the registration means starting step 23, the registration means 3 is started. do.

登録手段3は、ゾロテクト領域情報入力ステップ31で
作成手段2により作成されたゾロテクト領域情報5を入
力し、外部記憶媒体登録ステップ32でこのプロテクト
領域情報5を外部記憶媒体4に登録する。プロテクト領
域情報5の登録が完了した時点より、ファイル領域6は
書込み禁止となる。
The registration means 3 inputs the Zolotect area information 5 created by the creation means 2 in the Zolotect area information input step 31, and registers this protected area information 5 in the external storage medium 4 in the external storage medium registration step 32. From the time when the registration of the protected area information 5 is completed, the file area 6 becomes write-protected.

要求手段8は、外部記憶媒体4のある領域にプログラム
あるいはデータを書き込むための書込み範囲を指定して
ゾロテクト手段7に対して書込を要求する。
The request means 8 specifies a write range for writing a program or data to a certain area of the external storage medium 4, and requests the Zolotect means 7 to write the program or data.

入力手段7は、外部記憶媒体4に登録されているプロテ
クト領域情報5を入力するためにプロテクト領域情報入
力判定ステップ71でプロテクト領域情報5を入力可能
か否かを判定する。プロテクト領域情報入力判定ステッ
プ71で入力可能と判定されればプロテクト領域情報入
力ステップ72では、プロテクト領域情報5を入力し、
プロテクト領域テーブル8に登録する。
In order to input the protected area information 5 registered in the external storage medium 4, the input means 7 determines whether the protected area information 5 can be inputted in a protected area information input determination step 71. If it is determined in the protect area information input determination step 71 that input is possible, in the protect area information input step 72, the protect area information 5 is input,
It is registered in the protected area table 8.

プロテクト手段9は、要求手段lOからの書込み要求の
通知を受けると、プロテクト領域テーブル検索ステッ7
’91でプロテクト領域テーブル8を検索し、プロテク
ト領域判定ステップ92でプロテクト領域テーブル8を
基にして要求手段10によシ指定された書込み範囲がプ
ロテクト領域テーブル8に登録されたファイル領域6に
重なるか否かを判定する。書込み範囲が書込みが禁止さ
れたファイル領域6と重ならない(fロテクト領域外)
場合には、そのファイル領域6への書込みを許可し、外
部記憶媒体書込みステップ93でデータあるいはプログ
ラムを外部記憶媒体4に書き込む。
When the protect means 9 receives the notification of the write request from the request means IO, the protect means 9 performs a protect area table search step 7.
'91, the protected area table 8 is searched, and in the protected area determination step 92, the write range specified by the requesting means 10 based on the protected area table 8 overlaps with the file area 6 registered in the protected area table 8. Determine whether or not. The write range does not overlap with the write-prohibited file area 6 (outside the f-protect area)
If so, writing to the file area 6 is permitted, and data or programs are written to the external storage medium 4 in an external storage medium writing step 93.

書込み範囲が書込みが禁止されたファイル領域6と重な
る(fロテクト領域内)場合には、そのファイル領域6
への書込みを禁止し、外部記憶媒体書込みステップ93
を実行しない。
If the writing range overlaps the file area 6 for which writing is prohibited (within the f-protect area), that file area 6
External storage medium write step 93
do not execute.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明では、ゾロテクト領域情報を
作成する作成手段、プロテクト領域情報を登録する登録
手段、登録されたゾロテクト領域情報を入力する入力手
段およびプロテクト領域に登録されているファイルへの
書込みを禁止するプロテクト手段とを設けて外部記憶媒
体の一部にプロテクト領域を設定できるようにしたから
、同一外部記憶媒体に書込み禁止ファイル、書込み許可
ファイルおよび空き領域が混在していても書込み禁止フ
ァイルのみをプロテクト領域にすることができ、利用者
の書込みミスなどによるファイル破壊を防止できるとい
う効果がある。
As explained above, the present invention includes a creation means for creating Zolotect area information, a registration means for registering protected area information, an input means for inputting registered Zolotect area information, and writing to a file registered in the protected area. Since we have created a protection method that prohibits writing, it is now possible to set a protected area on a part of an external storage medium, so even if write-protected files, write-enabled files, and free space are mixed on the same external storage medium, write-protected files will not be protected. This has the effect of preventing file destruction due to writing errors by the user.

また、プロテクト領域の範囲は任意に設定できるので、
書込み禁止ファイルが増減しても対応できる。
In addition, the range of the protected area can be set arbitrarily, so
It can handle even if the number of write-protected files increases or decreases.

第1図Figure 1

【図面の簡単な説明】[Brief explanation of drawings]

第1図は本発明によるファイル保護方式の一実施例を示
す構成図、第2図は第1図中に示した指定手段における
処理を示す流れ図、第3図は第1図中に示した作成手段
における処理を示す流れ図。 第4図は第1図中に示した登録手段における処理を示す
流れ図、第5図は第1図中に示した入力手段における処
理を示す流れ図、第6図は第1図中に示したプロテクト
手段における処理を示す流れ図である。 ファームウェア ・・・ファイル領域、7・・・入力手段、8・・・プロ
テクト領域テーブル、9・・・プロテクト手段、10・
・・要求手段。 第 図 第 3図 第 5図 第 図
FIG. 1 is a block diagram showing an embodiment of the file protection method according to the present invention, FIG. 2 is a flowchart showing the processing in the specifying means shown in FIG. 1, and FIG. Flowchart showing processing in the means. 4 is a flow chart showing the processing in the registration means shown in FIG. 1, FIG. 5 is a flow chart showing the processing in the input means shown in FIG. 1, and FIG. 6 is a flow chart showing the processing in the input means shown in FIG. It is a flowchart which shows the processing in a means. Firmware...File area, 7...Input means, 8...Protect area table, 9...Protect means, 10.
... Request means. Figure 3 Figure 5 Figure 5

Claims (1)

【特許請求の範囲】[Claims] 1、ファイルを外部記憶媒体に登録する電子計算機シス
テムに用いられ、前記外部記憶媒体のプロテクト領域を
指定するプロテクト領域情報を作成する作成手段と、前
記プロテクト領域情報を前記外部記憶媒体に登録する登
録手段と、前記プロテクト領域情報を入力する入力手段
と、該入力手段により入力された前記プロテクト領域情
報に対応するプロテクト領域に登録されているファイル
への書込みを禁止するプロテクト手段とを有することを
特徴とするファイル保護方式。
1. Creation means used in a computer system that registers files in an external storage medium, that creates protected area information that specifies a protected area of the external storage medium; and registration that registers the protected area information in the external storage medium. and input means for inputting the protected area information, and protect means for prohibiting writing to a file registered in a protected area corresponding to the protected area information input by the input means. File protection method.
JP63252040A 1988-10-07 1988-10-07 File protecting system Pending JPH02100157A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63252040A JPH02100157A (en) 1988-10-07 1988-10-07 File protecting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63252040A JPH02100157A (en) 1988-10-07 1988-10-07 File protecting system

Publications (1)

Publication Number Publication Date
JPH02100157A true JPH02100157A (en) 1990-04-12

Family

ID=17231739

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63252040A Pending JPH02100157A (en) 1988-10-07 1988-10-07 File protecting system

Country Status (1)

Country Link
JP (1) JPH02100157A (en)

Similar Documents

Publication Publication Date Title
US9881013B2 (en) Method and system for providing restricted access to a storage medium
US5289540A (en) Computer file protection system
JP4145365B2 (en) File access control device
US8452740B2 (en) Method and system for security of file input and output of application programs
JPH06103058A (en) Data structure for program authorization information
JP2006099784A (en) Computer backup system operable in opened state of file
JP2005216305A (en) Providing flexible protection model for computer system based on separation of protection from computer privilege level
JPH08272625A (en) Device and method for multiprogram execution control
KR980010772A (en) How to prevent copying of computer software
JP2001005726A (en) Memory address space expanding device and storage medium stored with program
JPH02100157A (en) File protecting system
JPS62278650A (en) File protection system
JPH0229823A (en) Software copyright protection system
JPH0581135A (en) File protective system
JPS5887631A (en) Management system for period of onerous software
JPH04373040A (en) File managing system
JPH05113932A (en) Personal computer
JPS63214854A (en) Protection system for file
US11960617B2 (en) Hardware protection of files in an integrated-circuit device
JPS62276648A (en) Copy prevention system for floppy disk
JPH09185540A (en) Multi-process system
JP2001202279A (en) File managing method and file managing program recording medium
JPH02183461A (en) Data input/output device
JPH03127142A (en) File protecting method
JPH02138622A (en) Microprocessor