News for hackers. Stuff that matters.
Re:Jig, the first product from Tasty Labs by irahul on Friday August 26, 2011 @03:28AM (#2927719)
I think you meant "registered" instead of "registering". I clicked it after I already had registered, and it showed me notification about being part of hacker news group.

> You are now a member of Hacker News Reader. Other Hacker News Reader members will see a special badge near your profile picture so they'll know that you're as special as they are.

Yep. I am special and unique, just like everyone else:)

Re:Jig, the first product from Tasty Labs by cfinke on Friday August 26, 2011 @08:29AM (#2928234)
> I clicked it after I already had registered, and it showed

> me notification about being part of hacker news group.

So adding someone to an affiliation is as simple as getting them to ping a URL with a GET request? That doesn't seem especially secure.

Re:Jig, the first product from Tasty Labs by scq on Friday August 26, 2011 @09:55AM (#2928468)
Not secure at all. It's vulnerable to CSRF.

Embedding an iframe with the url in a html page will cause all visitors to the page to get the affiliation.

Proof of concept: http://s.dpth.tk/files/jigcsrf.html

Simply visiting the above page while logged in is sufficient to get the affiliation.

Re:Jig, the first product from Tasty Labs by irahul on Friday August 26, 2011 @12:34PM (#2928967)
> Embedding an iframe with the url in a html page will cause all visitors to the page to get the affiliation.

Won't a simple <img src=...> work? Why go the iframe route?

I don't think this is going to be the final affiliation implementation they are going to use. It's more like adding special touches for a community where he is showcasing, and they will turn it off in a day or two.

Re:Jig, the first product from Tasty Labs by joshu on Friday August 26, 2011 @02:14PM (#2929342)
we'll fix this later. we have big plans for affiliations, but for now they are mostly just about the little badges :)
Re:Jig, the first product from Tasty Labs by scq on Friday August 26, 2011 @09:09PM (#2930515)
Yes, that would work. Including it as a script or css stylesheet would work also.