Greg Reinacker’s Weblog

Musings on just about everything.

Archive for December, 2008

Enterprise RSS and security

December 17th, 2008 by gregr

Peter Verhoeven wrote an article a few days ago talking about security features he feels are missing from Enterprise RSS tools, including NewsGator Enterprise Server. I wanted to address his concerns directly, explaining exactly why NGES handles secure feeds the way it does, and talk about how specifically one could address the issue he brings up.

Public feeds

So first, let’s discuss the general case where no security is involved. If user A and user B both subscribe to publicly accessible feed X, the feed content is the same for both – so there exists only one copy of the feed in the system, and everyone sees that same copy and the contents therein. This is highly efficient for all systems involved.

Secure feeds

Now on to the slightly more complicated case. When NGES encounters a secure feed (more specifically, a feed which requires user credentials to access), it treats the content from the feed as secure. When user A retrieves feed Y using his credentials, the contents will be stored specific to user A. When user B retrieves the same feed Y but using her own credentials, the contents will be stored for user B. So now we essentially have two copies of the feed.

Why, Greg, why would you do this? It’s the same feed, so you should only store it once. Right?

As it turns out, the answer it no. The issue is that NGES has no way of knowing if feed Y will return the same content for every user that has access to it. Just because the feed URL is the same, doesn’t mean user A and user B will see the same thing when they retrieve it using their own credentials. So, the system stores the content separately.

“Shared” secure feeds

Ah, but now we get to the heart of Peter’s issue. He has a case where he _knows_ the content for a given feed will be the same for every user that has access to it. The problem is, Peter knows, but NGES has no way of knowing.

The only part of the system that could possibly know this is the publisher of the feed – because it’s the application generating the feed, and it knows whether it would generate the same feed for everyone that has access. But it’s a valid case – there are indeed situations where the publishing system knows this is the case.

So, in NGES 3.x, it will actually look for a specific header in the feed that basically says “this feed will be the same for everyone.” If it sees that header, it will still individually authorize access for every user trying to access the feed, but it will only retrieve and store the content once. So essentially, authentication and authorization works the same way – we are just making the behavioral assertion that the content in the feed may be shared among the group of people who have access.

[note: I've slightly simplified here, but this is very close to what is actually required.]

This code was initially written to optimize some of the content-retrieval that goes on with our SharePoint-integrated Social Sites Enterprise product…but there are definitely use cases for this feature beyond just SharePoint.

Category: newsgator | 6 Comments »

TopStyle acquired

December 9th, 2008 by gregr

I’m pleased to announce that Stefan van As has acquired TopStyle, and is already planning a major release for Q1 2009.

As many of you know, NewsGator had TopStyle as a result of the acquisition of Bradbury Software a few years back. Since then, its development has been somewhat slow; the company’s focus was on RSS and social software, and TopStyle, while a very successful product, didn’t really fit directly into that mix.

So that’s why I’m so excited that Stefan will be taking this over, and putting some serious effort into TopStyle. To all the customers that stuck with the product, a big thank you! And now, sometime in the next few months, you’ll have a new release to look forward to…and I know that Stefan is eager to hear your feedback and feature requests, so don’t be shy. :-)

Announcement

Q&A with Stefan and more TopStyle information

Nick Bradbury’s take

Category: newsgator | No Comments »

NewsGator Related Content

December 3rd, 2008 by gregr

As you may have read by now, NewsGator has released the Related Content services as part of the media-targeted offerings. This is available either using a widget, or also available via API for data services customers. The widget (or API) will serve up content that is related to the content the user is reading; that content can be from across the web, or restricted to just your own site (or a set of sites you choose). In the latter cases, it can be used to drive additional traffic from existing visitors.

The system can also automatically create topics pages, whereby the user can see a list of articles matching a specific topic of the currently viewed content.

The system uses our online database of over 3 billion articles, which sees over 8 million new articles per day. At the moment, it matches content based on tags/categories, including categories derived from analyzing the content. You can also specify “fallback” tags to use in the case where you have, say, multiple unrelated articles displayed on one page, and still want to have relevant content.

Two blogs you can look at that are using the widget are the NewsGator Widget Blog, and the NewsGator Daily blog.

Give it a try, and let us know what you think!

Update: here is a tutorial on creating a related content widget!

Category: internet, newsgator | No Comments »