ok, this will probably make no sense whatsoever, but:
i am trying to hide like, .mp3 and .mp4 files in my site (think of like an arg), and i would like to know how using the file directory in the site, you could find them?
the following is by no means maximum security, but you can add an index.html file in that directory. that way, when someone goes to your-site.whatever/evidence/, it’ll show that page instead of the default listing of all the files in there
well what i meant is if i create like… test.mp4 for example, i could make it so it shows up in the actual website directory. dunno if thats possible tho..
you upload the .mp4 as an asset, then you run a command in the project terminal to download the asset into the project container (in the tutorial it’s a .zip file that they then extract, which you’d stop before doing that for a media file)
other doing that, maybe it’s easier to hide an html page that plays the asset in an <audio> or <video>. that way it doesn’t use up project space storing these .mp3/.mp4 files
and if these are meant to be hidden, make sure to upload them with unguessable names if you use this approach, as assets by default don’t have a directory structure