TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Should you roll your own auth?

1 点作者 ceezuns将近 5 年前
Hi folks,<p>I know this question has been asked many times, but I see a lot of conflicting opinions, across the internet. I&#x27;m in no means a professional developer (i&#x27;m just a high school student).<p>I&#x27;m asking specifically for Ruby on Rails, but feel free to leave your general opinion as well.<p>Cheers!

2 条评论

tarun_anand将近 5 年前
As with many questions the answer is &quot;it depends&quot;<p>If you are trying to learn authentication then yes go ahead and implement it.<p>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&#x27;s stable and reviewed for security.
devillius将近 5 年前
If you&#x27;re dealing with production traffic and live credentials... NO!