Welcome Guest, Not a member yet? Register   Sign In
Restricting /assets to non logged in users
#7

(09-05-2020, 10:22 PM)jreklund Wrote: @Omar Crespo: I can't see how that would work for images and files. You can't just say process it as normal if you have asked PHP to handle it.
Usually, you have the images posted on a view, so, if the user isn't loged in, then he will be redirected to the login page.

You won't be restricting the images, you'll be restricting the view that holds the images. After all, only loged users should access to the private pages of your website.
Reply


Messages In This Thread
RE: Restricting /assets to non logged in users - by Omar Crespo - 09-06-2020, 10:25 AM



Theme © iAndrew 2016 - Forum software by © MyBB