Welcome Guest, Not a member yet? Register   Sign In
How can I prohibit direct access to a file in the download?
#1

[eluser]Hermes Alves[/eluser]
I want a make system that will release the download only to registered users, so I would like to prohibit direct access to the files in my folder /download/.

How do I program something that you can just download for users duly registered?

Even with the direct link does not work direct download.
#2

[eluser]Aidy[/eluser]
I would move the downloads folder out of the web root or you could protect with "deny from all" in a .htaccess file. Then take a look at codeigniter's download helper.




Theme © iAndrew 2016 - Forum software by © MyBB