
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

ECS 153, Introduction to Computer Security Spring Quarter 2005
Last changed on April 21, 2005 at 10:57 pm Page 1 of 1
/* allocate space for nchars char / p = malloc(nchars * sizeof(char)); / open the file / fp = fopen(filename, "r"); / read nchars characters from the file that / / fp points to, and put it in the memory that / / begins at address p / (void) fread(p, sizeof(char), nchars, fp); / close the file / (void) fclose(fp); / return the address of the allocated memory */ return(p); }
a. The UNIX root account? b. A user whose function is to maintain and install system software. This user has access to the source files and directories, access to only those programs needed to build and maintain software, and can copy executables into system directories for other users. This user has no other special privileges.
a. public key cryptosystem b. separation of duty c. ciphertext d. constrained data item e. principle of fail-safe defaults f. The principle of fail-safe defaults states that access should be denied unless explicitly granted. It also requires that, should an operation be attempted and fail, the system’s security state must be restored to the one before the operation was attempted.