Firmware

Controlling CD-ROM Access

Search

Controlling CD-ROM Access (sw <2.10)

Directory structure of the CD-ROM Server

When you insert a CD-ROM disk with a file system supported by the CD-ROM Server , then a text file with the name of the disk is created in the VOLUMES directory (max. 25 entries). E.g. TNET9505.TXT.

Here is an example of a file for a CD disk with the name TNET9505

Name = TNET9505
Alias = TNET9505
UserLimit = 0
SessionTimeout = 0
NFSIPAddress = *
NFSGroup = *
NFSUser = *
SMBUser = *
SMBPassword = *

[END]

Default settings

The file DEFAULT.TXT in the VOLUMES directory is used as a template for all new CD disk control files. Here you can make your own default settings. The Name and Alias cannot be changed.

This is how the DEFAULTS.TXT looks like

Name = DEFAULT
Alias = DEFAULT
UserLimit = 0
SessionTimeout = 0
NFSIPAddress = *
NFSGroup = *
NFSUser = *
SMBUser = *
SMBPassword = *

[END]

CD-ROM Server access control

The files CD.TXT, CONFIG.TXT, ROOT.TXT and VOLUMES.TXT in the VOLUMES directory, control access to directories with the same name in the same way as for the CD disks. If you want access control of your CD-ROM Se then you must change these files, otherwise everyone can change the access control.

Explanation of the parameters

Name

The name of the CD disk. If the name is longer than 8 characters it will be reduced to 8 characters.

Alias

The same as Name, but can be changed. The name must be unique. If the name already exists the 2 last characters are changed to 01, 02 ..and so on. Maximum 8 characters for NetBEUI (SMB) and the whole name for NFS.

UserLimit

The maximum number of simultaneous users of the CD disk. If set to "0" there is no limit (default).

SessionTimeout

Specifies how many seconds a user is considered to be active after the last access to the disk. After time-out a new user can connect to the disk. Only in use if UserLimit is set. If set to "0" there is no time-out (default).

NFSIPAddress

When the IP address is set only the user with the specified address has access to the disk. Note: NFSUser and NFSGroup must be set or removed, otherwise everyone still has access. If you want to specify more addresses you will have to add a new line: NFSIPAddress = for each address. If set to "*" everyone has access (default). Note: NFSUser and NFSGroup must be set or the line(s) removed, otherwise everyone still has access. If you use PC/NFS you'll have to set access limits here because PC/TCP does not support NFSUser or NFSGroup.

NFSGroup

Set access for an NFS group. Use the group number from the /etc/passwd file. If you want to specify more groups you will have to add a new line: NFSGroup = for each group. If set to "*" everyone has access (default). Note: NFSIPAddress and NFSUser must be set or the line(s) removed, otherwise everyone still has access.

NFSUser

Set access for an NFS user. Use the user number from the /etc/passwd file. If you want to specify more users you will have to add a new line: NFSUser = for each user. If set to "*" everyone has access (default). Note: NFSIPAddress and NFSGroup must be set or the line(s) removed, otherwise everyone still has access.

SMBUser

Set access for an SMB user. Use the Workstation name. If you want to specify more users you will have to add a new line: SMBUser = for each user. If set to "*" everyone has access (default). Note: SMBPassword must be set or the line removed, otherwise everyone still has access.

SMBPassword

Here you can give access to a group by giving a password to the group. If you want to specify more passwords you will have to add a new line: SMBPassword = for each password. If set to "*" everyone has access (default). Note: SMBUser must be set or the line removed, otherwise everyone still has access


Axis specializes in professional network video and printing solutions

    Glossary  |  Contact  |  Sites  |  Privacy Statement