JPH0713872A - Secrecy protecting method for file - Google Patents
Secrecy protecting method for fileInfo
- Publication number
- JPH0713872A JPH0713872A JP5177515A JP17751593A JPH0713872A JP H0713872 A JPH0713872 A JP H0713872A JP 5177515 A JP5177515 A JP 5177515A JP 17751593 A JP17751593 A JP 17751593A JP H0713872 A JPH0713872 A JP H0713872A
- Authority
- JP
- Japan
- Prior art keywords
- file
- fat
- cluster
- dos
- numeral
- 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
Links
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、MS−DOSと称せら
れるオペテーティングシステム上で動作するMS−DO
Sファイルの機密保護方法に関するものである。The present invention relates to an MS-DO operating on an operating system called MS-DOS.
The present invention relates to a security method for S files.
【0002】[0002]
【従来の技術】MS−DOSの標準機能として、ファイ
ルの存在そのものを隠してしまう隠しファイル機能は従
来から存在したが、表示保護という機能は存在しなかっ
た。そのために、機密にすべき文書ファイルやソースプ
ログラムを含めたテキストファイル等が常に表示可能と
いう無防備な状態にあった。一方、ファイルに対する不
法コピー防止策としては、事柄の性格上公表されない場
合が多いが、一般的にはコピー命令に対して保護対策が
とられているため、一度コピーに成功してしまえば、コ
ピーしたファイルの実行は可能となる。2. Description of the Related Art As a standard function of MS-DOS, a hidden file function for hiding the existence of a file has existed in the past, but a display protection function did not exist. Therefore, there is an unprotected state in which a document file to be kept confidential, a text file including a source program, etc. can always be displayed. On the other hand, as a measure to prevent illegal copying of files, there are many cases where it is not announced due to the nature of the matter, but in general, protection measures are taken against copy commands, so once you succeed in copying, copy The executed file can be executed.
【0003】また、特開昭64−82128号公報に
「コピープロテクト方法」と題して開示された方法で
は、情報処理装置内のROMに記憶された特定番号をプ
ログラムに登録して供給することにより、この情報処理
装置だけがそのプログラムを実行できるように制御して
コピープロテクトを行っている。しかし、この方法はM
S−DOS上で他のファイルと同様に動作するファイル
に対して適用することができない。Further, in the method disclosed in Japanese Patent Laid-Open No. 64-82128 entitled "Copy Protect Method", a specific number stored in a ROM in an information processing apparatus is registered in a program and supplied. The copy protection is performed by controlling so that only this information processing device can execute the program. However, this method is
It cannot be applied to files that behave like other files on S-DOS.
【0004】[0004]
【発明が解決しようとする課題】以上のように、従来は
MS−DOSの標準機能としては機密性の高いファイル
の機密保護機能を備えておらず、従来公知のファイル保
護方法は保護が充分でない。または、MS−DOS上で
動作するファイルに適用することが困難である等の問題
点があった。本発明の目的は従来の方法における上述の
問題点を解決し、MS−DOS上で動作するファイルの
機密保護方法を提供することを目的としている。As described above, conventionally, the standard function of MS-DOS does not have a confidentiality protection function for highly confidential files, and the conventionally known file protection method does not provide sufficient protection. . Alternatively, there is a problem that it is difficult to apply it to a file operating on MS-DOS. An object of the present invention is to solve the above-mentioned problems in the conventional method and to provide a security method for a file operating on MS-DOS.
【0005】[0005]
【課題を解決するための手段】本発明に係わるファイル
の機密保護方法では、MS−DOSファイルのディレク
トリエントリを書き換えるという手段によって機密性の
高いファイルの保護を行った。MS−DOSでは、ディ
スク上に存在するデータの読み書きをクラスタという単
位で行っている。1クラスタは、たとえば1メガバイト
型のフロッピーディスクの場合1024バイトとなる。
一つのファイル本体のデータサイズが一つのクラスタ上
に収まり切れない場合、次のクラスタに書き込まれる。
しかし、次のクラスタは必ずしも物理的に隣に位置する
とは限らない。そこで次のデータがどこのクラスタに存
在するかを管理するための領域として、FAT(fil
eallocation table:ファイルアロケ
ーションテーブル)が用意されている。In the file security method according to the present invention, a highly confidential file is protected by rewriting the directory entry of the MS-DOS file. In MS-DOS, reading / writing of data existing on the disk is performed in units of clusters. One cluster has 1024 bytes in the case of a 1-megabyte type floppy disk, for example.
If the data size of one file body cannot fit in one cluster, it is written in the next cluster.
However, the next cluster is not necessarily physically located next to it. Therefore, as an area for managing in which cluster the next data exists, FAT (fil
An allocation table (file allocation table) is prepared.
【0006】このFATの先頭とも称すべき場所にディ
レクトリエントリがある。ディレクトリエントリでは各
ファイルに対し、32バイトのメモリを割り当て、当該
ファイルに関する諸情報が記載されている。この諸情報
の中に、当該ファイルの最初の部分が格納されているク
ラスタ番号が記載されている。このクラスタ番号を書き
換えておくことにより、そのファイルへのアクセスを不
可能にし、特定の有資格者にだけ正しいクラスタ番号を
伝えておく。There is a directory entry at a position which should also be called the head of this FAT. In the directory entry, 32 bytes of memory are allocated to each file, and various information regarding the file is described. In this various information, the cluster number in which the first part of the file is stored is described. By rewriting this cluster number, access to the file is disabled, and the correct cluster number is given only to a specific qualified person.
【0007】[0007]
【実施例】以下、本発明の実施例を図面について説明す
る。図1はMS−DOSにおけるFATの構成を説明す
るための図で、図において、100はディレクトリエン
トリ、200はFAT、300は各クラスタを表す。デ
ィレクトリエントリ100は各ファイルに対し32バイ
トで構成され、図に示すとおりのバイト割り当てとなっ
ており、ファイル名によって検索できる。101(すな
わち1A=27番バイトと1B=28番バイト)には先
頭クラスタ番号(図1の例では6番)が格納されてい
る。Embodiments of the present invention will now be described with reference to the drawings. FIG. 1 is a diagram for explaining the structure of FAT in MS-DOS. In the figure, 100 is a directory entry, 200 is a FAT, and 300 is each cluster. The directory entry 100 is made up of 32 bytes for each file, has the byte allocation as shown in the figure, and can be searched by the file name. The head cluster number (6 in the example of FIG. 1) is stored in 101 (that is, 1A = 27th byte and 1B = 28th byte).
【0008】正常な記載がなされている場合の動作は次
のとおりになる。 (イ)ディレクトリエントリ100のファイル名がCO
MMAND、拡張子COMにアクセスし先頭クラスタ番
号101を読む。これは6番である。 (ロ)FAT No.(符号201)が6番の所へ進
み、次のFAT No(これはNo.7で符号102で
表す)を知る。 (ハ)クラスタNo.6(109)を読み、読み終わる
とFAT No.7へ行く。次のFAT No.はN
o.9である。クラスタNo.7(110)を読み読み
終わるとFAT No.9へ行く。 (ニ)FAT No.9では次のFAT No.はN
o.C(=No.12)である。クラスタNo.9(1
12)を読み終わるとFAT No.Cへ行く。 (ホ)FAT No.Cでは次のFAT No.はFF
Fであり、このファイルはクラスタNo.C(115)
で終わっている。クラスタNo.C(115)を読んで
ファイルを読み終わる。The operation in the case where a normal description is given is as follows. (B) The file name of the directory entry 100 is CO
Access the MMAND and the extension COM to read the first cluster number 101. This is number 6. (B) FAT No. (No. 201) goes to No. 6 and knows the next FAT No (this is No. 7 and denoted by No. 102). (C) Cluster No. 6 (109) is read, and when reading is completed, FAT No. Go to 7. Next FAT No. Is N
o. It is 9. Cluster No. After reading (7) (110), the FAT No. Go to 9. (D) FAT No. In FAT No. 9, the following FAT No. Is N
o. C (= No. 12). Cluster No. 9 (1
After reading 12), FAT No. Go to C. (E) FAT No. In C, the next FAT No. Is FF
F, and this file is cluster No. C (115)
It ends with. Cluster No. Read C (115) and finish reading the file.
【0009】本発明の方法では機密保護を必要とするフ
ァイルに対し、ディレクトリエントリ100内の先頭ク
ラスタ番号101の数値を変更しておく。この変更によ
って当該ファイルにアクセスできないことは明らかであ
る。特定の有資格者に対してだけ正しい数値を伝えてお
くか、変更後の数値から正しい数値を得る方法を伝えて
おく。例えば、101の1Aと1Bの数値を入れ替えて
おくだけでもよい。そのままでは、このファイルにアク
セスできないが、入れ替えられている事実を知っている
有資格者は、入れ直しをして簡単にアクセスすることが
できる。In the method of the present invention, the numerical value of the leading cluster number 101 in the directory entry 100 is changed for a file requiring security protection. Obviously, this change makes the file inaccessible. Tell only the specific qualified person the correct number, or tell how to get the correct number from the changed number. For example, the numerical values of 1A and 1B of 101 may be exchanged. Out of the box, this file is inaccessible, but a qualified person who knows that it has been replaced can easily be re-accessed to gain access.
【0010】[0010]
【発明の効果】以上説明したように本発明では、MS−
DOS上で動作するファイルの機密保護を簡単な方法で
達成することができる。As described above, according to the present invention, the MS-
Security of files running on DOS can be achieved in a simple way.
【図1】MS−DOSのFATの構成例を説明するため
の図である。FIG. 1 is a diagram for explaining a configuration example of a FAT of MS-DOS.
100 ディレクトリエントリ 101 先頭クラスタ番号 200 FAT 201 FAT番号 300 クラスタ 100 directory entry 101 first cluster number 200 FAT 201 FAT number 300 cluster
─────────────────────────────────────────────────────
─────────────────────────────────────────────────── ───
【手続補正書】[Procedure amendment]
【提出日】平成6年1月18日[Submission date] January 18, 1994
【手続補正1】[Procedure Amendment 1]
【補正対象書類名】明細書[Document name to be amended] Statement
【補正対象項目名】特許請求の範囲[Name of item to be amended] Claims
【補正方法】変更[Correction method] Change
【補正内容】[Correction content]
【特許請求の範囲】[Claims]
Claims (1)
ングシステム上で動作するファイルの内容を特定の有資
格者以外に対し秘密に保つためのファイルの機密保護方
法において、 当該ファイルのディレクトリエントリ(directo
ry entry)内の先頭クラスタ番号を書き換え、
書き換え前の正しい番号を前記特定の有資格者にだけ伝
えることを特徴とするファイルの機密保護方法。1. A file security method for keeping the contents of a file operating on an operating system called MS-DOS secret to anyone other than a specific qualified person, in which a directory entry of the file is stored.
rewrite the first cluster number in (ry entry),
A file security method characterized in that the correct number before rewriting is transmitted only to the specific qualified person.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP5177515A JPH0713872A (en) | 1993-06-25 | 1993-06-25 | Secrecy protecting method for file |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP5177515A JPH0713872A (en) | 1993-06-25 | 1993-06-25 | Secrecy protecting method for file |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0713872A true JPH0713872A (en) | 1995-01-17 |
Family
ID=16032264
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP5177515A Pending JPH0713872A (en) | 1993-06-25 | 1993-06-25 | Secrecy protecting method for file |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0713872A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0997139A (en) * | 1995-09-28 | 1997-04-08 | Canon Inc | Flush rom management method and device, and computer controller |
JP2000181772A (en) * | 1998-12-15 | 2000-06-30 | Dell Usa Lp | Method and device for restoring computer system hard drive |
KR100400546B1 (en) * | 2001-05-18 | 2003-10-08 | 엘지전자 주식회사 | Recording and access method for digital file |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS58108571A (en) * | 1981-12-23 | 1983-06-28 | 富士通株式会社 | Volume contents confidential protection system |
JPS62137650A (en) * | 1985-12-10 | 1987-06-20 | Nec Corp | Program protecting system |
JPH0221344A (en) * | 1988-07-11 | 1990-01-24 | Hitachi Ltd | File copy preventing method |
JPH036639A (en) * | 1989-06-02 | 1991-01-14 | Hitachi Ltd | Storage system, file control system, and operating system and information processor adopting the same operating system |
-
1993
- 1993-06-25 JP JP5177515A patent/JPH0713872A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS58108571A (en) * | 1981-12-23 | 1983-06-28 | 富士通株式会社 | Volume contents confidential protection system |
JPS62137650A (en) * | 1985-12-10 | 1987-06-20 | Nec Corp | Program protecting system |
JPH0221344A (en) * | 1988-07-11 | 1990-01-24 | Hitachi Ltd | File copy preventing method |
JPH036639A (en) * | 1989-06-02 | 1991-01-14 | Hitachi Ltd | Storage system, file control system, and operating system and information processor adopting the same operating system |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0997139A (en) * | 1995-09-28 | 1997-04-08 | Canon Inc | Flush rom management method and device, and computer controller |
JP2000181772A (en) * | 1998-12-15 | 2000-06-30 | Dell Usa Lp | Method and device for restoring computer system hard drive |
KR100400546B1 (en) * | 2001-05-18 | 2003-10-08 | 엘지전자 주식회사 | Recording and access method for digital file |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3243331B2 (en) | Method for creating layered medium for software management, apparatus for creating layered medium for software management, and layered medium for software management | |
US6378071B1 (en) | File access system for efficiently accessing a file having encrypted data within a storage device | |
JPH07287655A (en) | Information processor | |
JP2002032141A (en) | Method for preventing unapproved application of software constitutional element | |
JPH04357558A (en) | Document preparation managing system | |
JPH0713872A (en) | Secrecy protecting method for file | |
CN101101622A (en) | Method for constructing transparent coding environment | |
Flink et al. | System V/MLS labeling and mandatory policy alternatives | |
JPH02181846A (en) | File protecting method | |
JPS61114355A (en) | Secrecy protecting method of file | |
CA2165649C (en) | File encryption scheme | |
JPH01296363A (en) | System for protecting storing medium | |
JP2960432B2 (en) | Image processing system | |
JPS5887631A (en) | Management system for period of onerous software | |
JPH113349A (en) | Data protecting system, data preparing device and data processing device | |
JPH06236310A (en) | Output data protecting method | |
JPH08202659A (en) | Common information processing system | |
CN112084528B (en) | Customer privacy data identification and protection method based on data model | |
JPS63153633A (en) | Use limitation system for program | |
JPH036639A (en) | Storage system, file control system, and operating system and information processor adopting the same operating system | |
JPH03296842A (en) | Data writing method and ic card | |
JPS63132336A (en) | Program execution inhibiting system | |
JP2001022739A (en) | Simple type document protecting device | |
JPH0659961A (en) | File management system | |
JPH01258052A (en) | Method for protecting file |