网站短信验证

发布于 2025-01-08 18:42:23 字数 287 浏览 0 评论 0 原文

我希望为我的一个项目实现短信身份验证,基本上在用户能够向我们注册帐户之前,我们希望通过向用户的手机发送包含代码的短信来对用户进行身份验证,并让他在我们的表格中输入代码,然后他才能继续。

我环顾四周,发现 onVerify 是一个很好的方法 http://www.onverify.com/

但我想知道是否还有其他选择与 onVerify 类似,因为它有点贵,所以如果我能选择更便宜的,那就太好了。

谢谢!

I'm looking to implement an SMS authentication for one of my projects, basically before a user is able to register an account with us, we would like to authenticate the user by sending sms containing a code to his mobile phone, and get him to put in the code in our form before he can proceed.

I've been looking around and found onVerify to be a pretty good way to go
http://www.onverify.com/

But I'd like to know if there're any other alternatives similar to onVerify as it is a bit expensive, so if I could go with cheaper one, that'd be great.

Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

梦境 2025-01-15 18:42:23

如果您可以访问短信提供商,则可以轻松完成此操作。

通常,您通过发出 HTTP 请求来向用户发送包含验证码的 SMS。您可以将此代码和收件人号码存储在某个持久数据库中,当他们在表单上填写详细信息时,您可以与这些数据库进行比较。

您没有提及您希望用户位于哪些地理区域,考虑到某些市场的交付质量参差不齐,这一点可能很重要。

查看BulkSMS HTTP API,消息定价覆盖范围

请注意,如果您想以美元定价,您可以在不同地区注册

披露:我在 BulkSMS 工作

You can do this easily enough if you have access to an SMS provider.

Typically you send an SMS to the user by making an HTTP request, containing the verification code. You'd store this code, and the recipient number, in some persistent database, against which you can compare when they fill in the details on the form.

You don't mention which geographic regions you expect your users to be in, which can be important given the variable delivery quality in some markets.

Have a look at the HTTP API for BulkSMS, message pricing and coverage.

Note that you can register in various regions, if you, for example, want to price in USD.

Disclosure: I work at BulkSMS

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文