Yes, move the file out of the public web directory and use a script to download the file. Post again if you need help with the code.
Make sure you santize the input and don't rely on passing
yourfile.php?file1.jpg as someone could use it as an insertion point for an exploit
Google or search for file download script php as an example.
Andrew