i have these files to be shared with users online
they are sensitive files
i am storing them in a non http accessible location
when the user requests a download
a script makes a symbolic link
and i want to have an "at" job schedule symlink deletion according to
filesize and connection
(note: i do not take tainted data for this transaction. at this point in my program, the file selected has been already checked for user permissions, etc at a previous step, don't need help with that either)
i can figure out how to pass "at" a job from a text file. but how on earth do i do something like ..
at now + 1 minute rm symlink?Also, if anybody has any comments about this method, that it is stupid and why, please tell me. I also considered making a named pipe or something.. also considered a script that would stream the file line by line.. but i am sketched out by the variety of files there may be, etc
In reply to at job help ? by leocharre
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |