Scor­pio News

  

April–June 1988 – Volume 2. Issue 2.

Page 10 of 35

A label directory entry has the first byte as 20H, rather than the normal 00H or user number. The password is encrypted in the area normally occupied by the block information as shown below.

The important part, however, is entry 13 above which is the encryption “key” used to form the encrypted password stored in positions 16 to 23, In this case, the password was 1111.

File Protection

Password protection for a file has the user extent type 10H. An example is shown below where the file FRED.COM has been protected in a the following way.

A>SET FRED.COM [PASSWORD=FRED]

The main directory entry for FRED.COM is unaltered, but the CCP must scan the rest of the directory to find if an entry has the extent 10H. An example is is shown below:

DISK UTILITY v8.6
Universal Version under CP/M 3.1

Type ? for help
Type X to exit

G=00:03,​T=1,​S=4,​PS=0

Page 10 of 35