Hacker News new | past | comments | ask | show | jobs | submit login
Ask HN: Should you roll your own auth?
1 point by ceezuns 65 days ago | hide | past | favorite | 2 comments
Hi folks,

I know this question has been asked many times, but I see a lot of conflicting opinions, across the internet. I'm in no means a professional developer (i'm just a high school student).

I'm asking specifically for Ruby on Rails, but feel free to leave your general opinion as well.


As with many questions the answer is "it depends"

If you are trying to learn authentication then yes go ahead and implement it.

But if you are trying to build a commercial grade product, then your best bet is to use a 3rd party library or commercial service that has been tested and it's stable and reviewed for security.

If you're dealing with production traffic and live credentials... NO!

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact