Hej there!
Is there a way to check via an .htaccess file inside a folder, if the user visiting this folder ist logged in to the system and if not he gets forwarded to another (login) page?
Thanks, Mario
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
Hej there!
Is there a way to check via an .htaccess file inside a folder, if the user visiting this folder ist logged in to the system and if not he gets forwarded to another (login) page?
Thanks, Mario
did anyone get any where on this one?
i'd like to change some settings so logged in users get more permissions...
Cheers
Try the secure files module if you want to protect assets.
actually that's not the issue. the issue is i have .htaccess with some strong security settings that block any bulk uploads - which means I can't use the swfupload / uploadify modules. I can turn off the security settings- but this is a risk, so i'd like to detect if the user is logged in and then turn the security settings off, so that the admin users of the site can upload files quicker...