Hi,
Is it possible to keep certain sections of a file (ascii) non writable ?
Regards

Axial
Posted on 2001-11-22 07:33:22 by Axial
Definitly maybe. You might look up record locking.
Posted on 2001-11-24 05:49:31 by eet_1024
Files, in general, do not have records. Record level locking is enforced by applications. If you don't use a file with an enforcing application, the file is either entirely writable, or entirely nonwritable.

A database file can have secure record locking only if applications are not allowed to bypass the database software.
Posted on 2001-11-26 15:43:30 by tank
eet, have a look at the LockFile api function.
Posted on 2001-11-26 17:13:59 by f0dder
Wasn't aware of that function.

It works only as long as the file is open. Once you close it, the region will unlock, although there may be a delay in unlocking.

Once unlocked, it's still all or nothing write protection.
Posted on 2001-11-28 13:41:40 by tank