A filesystem is the structured storage layer that organizes files, folders, metadata, and application data on a device. It defines how software names, locates, reads, writes, and deletes information, whether the data is on a local disk, removable media, or a mounted network volume. Security issues often arise when a program trusts filesystem paths too much, exposing sensitive configuration files or allowing access outside the intended directory.
In cyber security, filesystem controls matter because many attacks target file handling. An arbitrary file read bug can reveal credentials, logs, or configuration secrets stored on disk, while path traversal or unsafe symbolic link handling can let an attacker reach unintended data. Defenders protect the filesystem by enforcing permissions, isolating services, validating paths, mounting sensitive areas read-only where possible, and monitoring access to critical files.


