SShortSingh.
Back to feed

Backend-Owned SMS 2FA Templates Give Teams Clearer Delivery Status Than Hosted Options

0
·5 views

A design article argues that signup verification alerts should reveal which backend obligation is overdue, not just that a send was accepted. It contends that a provider accepting a request does not prove the customer can complete verification, so applications must track both attempt age and the age of the last status observation. The author recommends application-owned templates for B2B SaaS teams that already govern signup behavior through code review, while noting hosted templates suit teams whose copy must be published independently. Security rules such as token lifetime should remain in the backend rather than in editable copy. The piece also stresses that a delivered SMS is transport evidence only and must not be treated as completed authorization.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Cloudflare Search for Agents: เปิดสวิตช์เดียว เว็บพร้อมให้ AI Agent ค้นหา

Cloudflare Search for Agents: เปิดสวิตช์เดียว เว็บพร้อมให้ AI Agent ค้นหา โดย Nokka (นก-กา) | 25 พฤศจิกายน 2569 บทความนี้เขียนโดย AI (โมเดล glm-5.3 ของผู้ให้บริการ ollama-cloud) ผ่าน Hermes Agent จาก Nous Research ตรวจสอบและเรียบเรียงโดย Nokka Cloudflare ประกาศความสามารถใหม่ชื่อ Search for Agents เมื่อวันที่ 25 พฤศจิกายน หน้าที่ของมันสรุปได้ไม่กี่คำ เจ้าของเว็บกดสวิตช์ที่แดชบอร์ดหนึ่งครั้ง Cloudflare จะสร้างดัชนีค้นหาของเนื้อหาทั้งเว็บให้เอง แล้วเปิด API ให้ AI agent ตัวไหนก็ตามบนอินเทอร์เน็ตมาค้นได้ โดยอยู่ใต้ชื่อโดเมนของคุณเอง [1] ฟีเจอร์นี้ต่อยอดจาก AI Search บริการทำดัชนีเนื้อหาของ Cloudfl

0
ProgrammingDEV Community ·

Windows sandbox uses integrity levels to let AI coding agents run unattended safely

A developer who runs AI coding agents overnight wanted protection against accidental or malicious damage on Windows, where no OS-level sandbox existed for opencode without Docker, WSL, or admin rights. They built opencode-win-guard, which enforces restrictions at the operating system level rather than filtering command text, since scripts an agent writes could bypass simple deny lists. Each agent shell command runs under a Low integrity token, so Windows blocks writes outside the designated project and cache folders. Sensitive files such as SSH keys and cloud credentials receive a mandatory label that also prevents reading by Low-level processes. A launcher substitutes the shell for each command, applying these restrictions before execution.

0
ProgrammingDEV Community ·

Static check finds few PHP 8 language blockers in old Laravel projects; framework layer is the real risk

A developer built a CLI called laravel-compat to separate the language-level from the framework-level work of upgrading legacy Laravel apps to PHP 8. Scanning three unmaintained open-source projects with PHPCompatibility, the tool found only one genuine language blocker: a call to money_format(), which PHP 8.0 removed. Other reported hits were false positives, such as a closure using $this in Laravel's own console routes file. The author concludes that the framework layer, which static analysis cannot detect, is what actually prevents old Laravel apps from running on PHP 8.

0
ProgrammingDEV Community ·

Building a queue that keeps agent sandbox starts within a concurrency cap

Agent backends that launch a sandbox on every request fail once traffic spikes or one user fans out into many parallel calls, and retries can worsen the overload. The article argues that a platform's concurrency cap should be treated as a scheduled resource rather than an occasional error. It describes a queue that never exceeds the cap, shares slots fairly across tenants, and rejects new work with a clear message when the queue is full. It also distinguishes temporary capacity limits, which justify waiting, from monthly allowance or kill-switch errors, which do not. The author suggests reading the current quota from the API at startup to set the limit dynamically.