Jump to:

23490 Posts in 18996 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » Validate logged in user via .htaccess?

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 650 Views
  • theGermaniac
    Avatar
    Community Member
    82 Posts

    Validate logged in user via .htaccess? Link to this post

    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

  • Futureweb
    Avatar
    Community Member
    232 Posts

    Re: Validate logged in user via .htaccess? Link to this post

    did anyone get any where on this one?
    i'd like to change some settings so logged in users get more permissions...

    Cheers

  • Willr
    Avatar
    Forum Moderator
    5508 Posts

    Re: Validate logged in user via .htaccess? Link to this post

    Try the secure files module if you want to protect assets.

  • Futureweb
    Avatar
    Community Member
    232 Posts

    Re: Validate logged in user via .htaccess? Link to this post

    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...

    650 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.