Jump to:

846 Posts in 226 Topics by 249 members

Forum Module

SilverStripe Forums » Forum Module » RSS-Feed for forum within basic authentication security

Discuss the Forum Module.

Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba

Page: 1
Go to End
Author Topic: 1271 Views
  • WalterW
    Avatar
    Community Member
    16 Posts

    RSS-Feed for forum within basic authentication security Link to this post

    Is there some recipe how to implement a rss feed for a forum which is a subpage under a protected site (basic authentication).

    This protected RSS is working with RSS-browsers (as Firefox, IE etc.), but users which use RSS-Readers have problems with the login, as they get no prompt

    Regards
    Walter

  • Pigeon
    Avatar
    Community Member
    228 Posts

    Re: RSS-Feed for forum within basic authentication security Link to this post

    Well, it sounds like you have the RSS feed 'protected' and requiring a log-in.

    The problem is that the user will have to log-in and set a session with the site to get the authentication to look at the RSS. Obviously an RSS reader can't do that. So, really, you can't password protect it. What you could do is add a requirement for a random hash to be on the end of the RSS feed (http://example.com/protected/rss?hash=whatever) and then assign that hash to a user and then there is *some* sort of authentication there.

    Otherwise you could look at implementing basic http authentication: http://user:password@example.com/protected/rss - http://php.net/manual/en/features.http-auth.php

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