mirror of
https://0xacab.org/jvoisin/mat2-web.git
synced 2025-07-29 17:28:40 -04:00
Document how to get rid of stale files
This commit is contained in:
parent
1b0333fdd5
commit
3d21f613d2
1 changed files with 4 additions and 0 deletions
|
@ -56,6 +56,10 @@ systemctl restart nginx/apache/…
|
||||||
|
|
||||||
It should now be working.
|
It should now be working.
|
||||||
|
|
||||||
|
You should add `find /var/www/mat2-web/uploads/* -mtime +1 -exec rm {} \;`
|
||||||
|
in a crontab to remove files that people might have uploaded but never
|
||||||
|
downloaded.
|
||||||
|
|
||||||
# Threat model
|
# Threat model
|
||||||
|
|
||||||
- An attacker in possession of the very same file that a user wants to clean,
|
- An attacker in possession of the very same file that a user wants to clean,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue