The discussion revolves around hiding uploaded files with specific extensions, like .tar, for non-admin users to prevent exposure of sensitive backup data. jordan1909 proposes a method to automatically hide such files, suggesting a way to detect and manage them. zogstrip suggests using private messages (PMs) for backups, but jordan1909 notes that this approach is unreliable due to staff forgetting to move or hide files, creating a liability risk. supermathie proposes a potential solution: a site setting to restrict certain file extensions in public topics, preventing them from being uploaded in the first place.
Using a similar path as found here, it is possible to hide a file with a specific file extension for users that are not staff?
In our install we frequently have customers upload backups which could include private information that we would like to auto-hide for non admin users. I was thinking something like this would work but I would have to capture the .tar extension?
This is actually how we are doing it now which does work however many customers frequently forget which then requires us to manually move them over or hide them in a staff whisper. In a perfect world this would work however we frequently have staff forget to do this which leads to a liability risk on our end.
At the risk of featureitis, would it be a useful thing to have another site setting allowed extensions in PMs? We could make it impossible for them to upload these files to public topics.