Restricting /assets to non logged in users |
(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. |
Messages In This Thread |
Restricting /assets to non logged in users - by paulfst - 08-29-2020, 11:46 AM
RE: Restricting /assets to non logged in users - by jreklund - 08-29-2020, 12:18 PM
RE: Restricting /assets to non logged in users - by paulfst - 08-30-2020, 12:49 AM
RE: Restricting /assets to non logged in users - by jreklund - 08-30-2020, 02:02 AM
RE: Restricting /assets to non logged in users - by Omar Crespo - 09-05-2020, 08:18 PM
RE: Restricting /assets to non logged in users - by jreklund - 09-05-2020, 10:22 PM
RE: Restricting /assets to non logged in users - by Omar Crespo - 09-06-2020, 10:25 AM
|