how to hide the actual download folder location

前端 未结 3 1534
没有蜡笔的小新
没有蜡笔的小新 2020-11-29 02:33

I want to hide the download folder location so that when the user downloads a file he cannot see the location. I think this can be done using an .htaccess file but how do I

3条回答
  •  既然无缘
    2020-11-29 03:21

    Perhaps you would want to look into either Mod Rewrite, or use your PHP script to be able to access the file by simply going to file.php?f=someHash and then using an octet stream to force the user to download the file.

提交回复
热议问题