SShortSingh.
Back to feed

Backend Enforcement Rules for Seller Phone OTP Resends and Audit Evidence

0
·6 views

The guide explains how to gate SMS one-time code resends for seller phone logins on the server, logging why each attempt was permitted and issuing a session only after successful verification. It argues that the browser countdown is only a display, while the backend enforces the actual deadline. It also separates login verification evidence from order-notification evidence, since a sent SMS or a valid code does not prove the seller authenticated or received an order alert. The author recommends tracking challenge identifiers, routing-policy versions, and timestamps while keeping OTP values out of logs, and warns that country codes alone do not establish processing location or retention terms. Finally, it compares managed verification services with an application-owned approach, noting trade-offs in evidence access, contracts, and engineering cost.

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.