Operations Manual
Disabling File Access
DuckDB can list directories and read arbitrary files via its CSV parser’s [`read_csv` function](#docs:data:csv:overview) or read text via the [`read_text` function](#docs:sql:functions:char::read_textsource). For example:  
```sql
SELECT *
FROM read_csv('/etc/passwd', sep = ':');
```  
This can be disabled either by disabling external access altogether (` enable_external_access`) or disabling individual file systems. For example:  
```sql
SET disabled_filesystems = 'LocalFileSystem';
```