Welcome Guest, Not a member yet? Register   Sign In
Where to store user content (for eg. pics) so that its more secure? Under app/ OR under public/?
#9

[eluser]Dennis Rasmussen[/eluser]
[quote author="WanWizard" date="1286979993"]Blocking hot linking via .htaccess depends on the referrer link in the request.

Which can easily be forged, unless you only accept requests from a specific referrer, with some kind of session key that you can verify, but then it's beyond the capabilities of mod_rewrite.[/quote]

I used the wrong word when I wrote hotlinking.
I actually meant direct access instead of hotlinking.

.htaccess can be used to deny access to a folder, and then for this particular topic the OP could use a controller, library or any other form of code to reach and print the files/images.


Messages In This Thread
Where to store user content (for eg. pics) so that its more secure? Under app/ OR under public/? - by El Forum - 10-13-2010, 07:28 AM



Theme © iAndrew 2016 - Forum software by © MyBB