CISSP Exam QuestionsBrowse all questions from this exam

CISSP Exam - Question 165


A developer is creating an application that requires secure logging of all user activity. What is the BEST permission the developer should assign to the log file to ensure requirements are met?

Show Answer
Correct Answer: D

To ensure secure logging of all user activity, the developer should assign the 'Append' permission to the log file. Append permissions allow new data to be added to the end of a file without overwriting or deleting existing data. This is essential for maintaining the integrity of the log file, as it prevents any modification or deletion of previous log entries, ensuring the security and accuracy of the logged information. Other permissions like 'Write' could allow the modification or deletion of log data, which could compromise the integrity of the log file.

Discussion

17 comments
Sign in to comment
RollizoOption: D
Oct 1, 2022

I think that it is D: Append Data allows or denies making changes to the end of the file but not changing, deleting, or overwriting existing data (applies to files only). You are no interested in the application delete previous logs.

jackdryan
May 13, 2023

D is correct

ataafOption: C
Oct 11, 2022

the answer is correct. log files should be write only so the application can write to it.

Loveguitar
Oct 12, 2022

I get it now, the focus is on the application's permission not the users of the application. Thanks

DMOD
May 13, 2023

Why? Append permissions apply to applications, too.

HughJassoleOption: C
Jun 2, 2023

I am a Linux admin and there is no "append" in Linux. The developer doesn't assign permissions; sysadmins do. The app would need write permission but for everyone else it should be probably no access or just read.

GPrepOption: C
Jan 7, 2024

C - I've found no evidence that "append" is actually a file system permissions option. Write would be the right option here. The ability to delete/modify data is included in that, however, if Append isn't a valid option, write is the only option left. If anyone has direct evidence of append being a permission option, I'd like to learn, please share it. Windows has the "create folder / append data" option, though my testing doesn't show it does what I would assume it can do.

Alex71Option: D
Feb 27, 2023

The BEST permission the developer should assign to the log file to ensure secure logging of all user activity is the "Append" permission. The "Append" permission allows new data to be added to the end of a file without overwriting or modifying any existing data in the file. This is important for secure logging of user activity because it ensures that the log file cannot be tampered with or modified by anyone, including the application itself. If the log file had the "Write" permission, then it would be possible for someone or something to modify or overwrite existing log data, which could compromise the integrity and security of the log file. The "Read" permission is not relevant for this use case since it only allows someone to view the contents of the file. The "Execute" permission is also not relevant since it only applies to executable files, which the log file is not. Therefore, the "Append" permission is the BEST permission to ensure secure logging of all user activity.

LoveguitarOption: B
Oct 10, 2022

Shouldn't it be read access, like in WORM (write once and read many) so no one can modify the logs?

Nickolos
Nov 28, 2022

Read access in computing is a permission to access files or directories where the user (or application in this case) is only allowed to read or view, not to make changes. So no, read access would be incorrect for this question.

[Removed]Option: D
Oct 26, 2022

Approaching this from the perspective of least privilege, D > C in this regard.

BhurawOption: D
Oct 29, 2022

Append is stricter than write

projtferOption: D
Oct 8, 2022

I concur with Rollizo, write permission would enable someone to modify, append is the best answer!

franbarpro
Oct 21, 2022

Appending data to a file requires write permission on the file itself.

YokotaOption: C
Jul 6, 2023

This permission allows writing or modifying the contents of the file, making it essential for the application to log user activity securely.

74gjd_37Option: D
Sep 23, 2023

There is the append permission in Windows and in many cloud storage types, see https://en.wikipedia.org/wiki/Append-only

SoleandheelOption: D
Dec 11, 2023

D. Append To ensure secure logging of all user activity, the developer should assign the "Append" permission to the log file. This permission allows new log entries to be added to the existing log file without overwriting or deleting the previous entries, ensuring that a complete record of user activity is maintained. It prevents users from modifying or deleting log entries, which is essential for maintaining the integrity of the log file for security and auditing purposes.

GuardianAngelOption: D
Feb 7, 2024

The following are the common types of rights that can be assigned to log files: Read: This permission allows users or processes to view the contents of the log file. Reading from log files is essential for monitoring system activity, troubleshooting issues, and analyzing historical data. Write: This permission allows users or processes to modify or append to the contents of the log file. Writing to log files is necessary for recording new events, updating log entries, or adding additional information. Execute: In some cases, log files may have execute permissions, allowing them to be executed as scripts or programs. However, this is less common for log files and is typically reserved for executable files.

homeyslOption: C
Mar 17, 2024

It needs to write file

klarakOption: D
Apr 19, 2024

I'm not sure if this question is accurate but I think what they're getting at is D because best practice is to set your log files to Append rather than overwrite previous entries in their log files. The first 3 are irrelevant.

klarak
Apr 23, 2024

Other commenters have me convinced this should be write

CCNPWILLOption: C
Jun 4, 2024

read write execute.. these are PERMISSIONS. append isnt a permission.. read write execute 3x.. 777.. right? what is the number for append? Answer is C.

JarnOption: C
Jun 9, 2024

Answer is C, there is no "Append" permission.