6 ms·
It's pretty bad that I have to enter my HN password.
by nilsjuenemann 13y ago
It's pretty bad that I have to enter my HN password.
- jrubinovitz 13y agoYes, I do not feel comfortable giving this site my HN credentials.
- eterm 13y agoWTF that's horrifying, this should be taken down it's a honey trap!
- kbojody 13y agoI think a better approach would be to have the user enter a token into their "about" section, then when the have the site could scrape their profile and then the token could be removed after.
- loumf 13y agoA better way to verify that I own the username is to make me put a token in the about of my profile.
- memset 13y agoI tried registering by using my HN username with a different, non-HN password. It seemed to work.
- jgrahamc 13y agoWhen 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.
- 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.
- mike-cardwell 13y agoIt is downright stupid. The author is an idiot for doing this. And I don't call people idiots lightly. Presumably PG will block this site from accessing HN shortly.
- hnriot 13y agoI think you mean't to say something like naive about alternative approaches right? Because calling someone an idiot will more than likely make pg block you.
- mike-cardwell 13y agoSometimes actions are not just naive, but plainly idiotic.
- shwinnabego 13y agoya, life could get pretty rough if you had to enter your HN username too
- malandrew 13y agoHow about making a thread that doesn't get upvoted so it's not on the front page, but that you can link to where users post an authentication code you provide. You then scrape that page and match the username to the auth code.
- lucb1e 13y agoOr a comment in this thread. People could reply to one of the posts here as proof-of-username. No need to make a dedicated thread; all comments got their own static url.
- monological 13y agoThe other option is simply not linking it with HN. Later on, I'm going to allow for filtering by karma if you're looking for potential employees. Another thought I had was putting a token in your profile which I can scan for. What do you think?