Protection in operating System

Reliability is generally provided by duplicate copies of files. Many computers have systems programs that automatically (or through computer-operator intervention) copy disk files to tape at regular intervals (once per day or week or month) to maintain a copy should a file system be accidentally destroyed. File systems can be damaged by hardware problems (such as errors in reading or writing), power surges or failures, head crashes, dirt, temperature extremes, and vandalism. Files may be deleted accidentally. Bugs in the file-system software can also cause file contents to be lost

Types of Access

Protection mechanisms provide controlled access by limiting the types of file access that can be made. Access is permitted or denied depending on several factors, one of which is the type of access requested. Several different types of operations may be controlled:

  • Read. Read from the file.
  • Write. Write or rewrite the file.
  • Execute. Load the file into memory and execute it
  • Append. Write new information at the end of the file.
  • Delete. Delete the file and free its space for possible reuse
  • List. List the name and attributes of the file.

Leave a Comment