5 ms·
When I was running usethesource.com (a job board that allowed only people with a certain HN karma to post) I worked around this authentication issue by having p
by jgrahamc 13y ago
When I was running usethesource.com (a job board that allowed only people with a certain HN karma to post) I worked around this authentication issue by having people place a magic string in their HN profile.
So, you'd register as say jgrahamc on my site and then place 'magic string' in your HN profile and usethesource.com would know that it was really you.
- andrewchoi 13y agoHow do you prevent people from just copying someone else's magic string?
- egwynn 13y agoIf you make the magic string an HMAC of the user's name and some secret, then they should be non-transferrable.
- malandrew 13y agoRequiring the user to HMAC to be able to post jobs is great and would help filter out recruiters that can't figure that stuff out. Or better yet, how about a job board that requires the person submitting the job to solve programming puzzles common in technical interviews. Also permit people posting the jobs to link to open-source projects that their company publishes and contributes to. It would be great if people could filter the job board to only show jobs from companies that have completed a challenging puzzle and/or publish/contribute actively to an existing open source project with X number of forks and Y number of followers. Searching companies by some sort of "github" rank based on the people on the company's organization page would be awesome too. i.e. between the 10 developers listed on a page, what is their average forks/dev and stars/dev?
- egwynn 13y agoIt wouldn't work to make the user perform the HMAC, since it requires having the secret, and then the user could share the secret. You need the server to calculate magic = HMAC(secret, username) and then give 'magic' back to the user. And then the server can decide whether the (username, magic) pair is valid.
- skrebbel 13y agoyou could still require the user to HMAC too, just for filter's sake :-) alternatively, make the 'submit job' feature only available as a (documented) HTTP POST operation without any matching HTML form.
- tracker1 13y agoThen the recruiting companies will just pay a dev to write a tool for them to bulk post job req's all day.
- mey 13y agoThe magic string doesn't need to be private, each user gets a randomly generated string. Either they can place it into their own profile or not.
- felideon 13y agoDidn't realize it was brought down. Which means I hadn't checked in quite a while. Which kind of makes sense as to why it was brought down (and it's not hard to imagine why), but did you ever write up a post-mortem or such? "usethesource site:jgc.org" on Google just gave me the original post.
- jgrahamc 13y agoThe post-mortem would likely be: "I don't have time to invest the necessary effort to make the site popular."
- malandrew 13y agoJust saw this after posting my solution. This is a much nicer approach.
- monological 13y agoAgreed. I will try implementing this asap.