Give a media file a permanent URL/alias

Because of the way our company sometimes promotes the Umbraco databases/our application, we cannot ensure that the media file IDs will be the same

If I have a file named /media/1010/blank-pdf.pdf in one environment, it may be /media/1010/blank-pdf.pdf in another

We have an external database where we wish to store the relative URLs of the media to be able to build a target for an href

Is it possible in any way to assign a permanent URL (in the same way as Cultures and Hostnames) to a file? So as well as /media/1010/blank-pdf.pdf, it could also be referenced as /media/blank-pdf.pdf (almost an alias)


This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/97918-give-a-media-file-a-permanent-urlalias