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/?
#4

[eluser]Dennis Rasmussen[/eluser]
[quote author="Twisted1919" date="1286907081"][quote author="Dennis Rasmussen" date="1286906570"]Use .htaccess to deny direct access to your folders/files.
And then maybe create a class or library to retrieve the files for you when needed.[/quote]
Oh come on ...

For the OP, under your doc root, create a pub/public folder and store them there, i see no problem whatsoever.
http://domain.com/pub/images/blah.png[/quote]

"Oh come on ..." what?
How does your solution make the files secure against hotlinking?


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-12-2010, 08:16 AM



Theme © iAndrew 2016 - Forum software by © MyBB