How to alter / hide Output Formats content


I’m working on a plugin (Hide Files) to help making private any file in the repository.

Output Formats are still exposing the original filename, thus making it possible to show the file with a direct URL call. So, I would like to edit the content of the Output Formats text, removing the original filename (I could probably use Regular Expressions to alter the content of the page before it got displayed, but if there was a neater way I’d go for that).

If that was not a possibility, is there any other way but for blocking access to the “original” files folder (via .htaccess or other way)? I figured that hiding the original file name could make it really hard to view a file…


Any help on this? I’m still stuck on this particular issue.