摘要 |
A locking mechanism for an electronic file creates a key file for each electronic file stored on a file system. The key file is created when the electronic file is loaded or first created on the system. As a user requests to edit the electronic file, the file system is requested to rename the key file with a lock. If the file system returns an error in response to the request to rename, the user is informed that the electronic file is locked or inaccessible. If the system successfully renames the key file, the user is allowed access to the electronic file.
|