security FTP storage
helloI need an FTP security strategy like this (after connection is estabelished):
- user can send as many files as he wants
- user can delete/rewrite only files last modified more than 2 hours ago
any suggestion on how this can be implemented?
the only thing I could think is to don't use the FTP server to do that, but a cronjob running with privileges that change the owner of new files to readonly:readonly (for example) and change it back to user:user after 2 hours