{
  "@context": "https://schema.org",
  "@type": "WebPage",
  "name": "Securing login &amp; signup flows | Edge Academy",
  "headline": "Securing login &amp; signup flows | Edge Academy",
  "description": "Stop credential stuffing and fake sign-ups without hurting real users: combine Edge Shield's humanity score with rate limits, step-up checks and password rules.",
  "url": "https://edge.network/academy/securing-login-signup-flows",
  "image": "https://edge.network/og/academy__securing-login-signup-flows.png",
  "inLanguage": "en",
  "publisher": {
    "@type": "Organization",
    "name": "Edge Network",
    "url": "https://edge.network",
    "logo": "https://edge.network/favicon.svg"
  },
  "isPartOf": {
    "@type": "WebSite",
    "name": "Edge Network",
    "url": "https://edge.network"
  },
  "breadcrumb": {
    "@type": "BreadcrumbList",
    "itemListElement": [
      {
        "@type": "ListItem",
        "position": 1,
        "name": "Home",
        "item": "https://edge.network"
      },
      {
        "@type": "ListItem",
        "position": 2,
        "name": "Academy",
        "item": "https://edge.network/academy"
      },
      {
        "@type": "ListItem",
        "position": 3,
        "name": "Securing login signup flows",
        "item": "https://edge.network/academy/securing-login-signup-flows"
      }
    ]
  },
  "section": "academy",
  "articleBody": "Security \n\n What you’re actually defending against # \n\n Credential stuffing is the replay of username/password pairs leaked from other sites. Because people reuse passwords, a list that’s 0.1% effective against your login form is still a profitable attack. It looks like thousands of individually plausible login attempts, not one obvious flood.\n\n Fake account creation feeds everything downstream: spam, referral fraud, free-tier abuse, review manipulation. By the time you notice it in your metrics, the accounts already exist and cleanup is expensive.\n\n Both attacks share one property: they’re automated. That’s the property to test for at the door, before a single credential is checked or a single row is written.\n\n 1. Gate the form with Edge Shield # \n\n Add the Edge Shield widget to your login and signup forms, and verify the token server-side before your authentication logic runs. Tokens are single-use and expire after five minutes, so a bot can’t harvest one token and replay it across a credential list.\n\n JavaScript Copy // Login route: verify the Shield token before touching credentials \n const res = await fetch ( 'https://shield.edge.network/siteverify' , { \n method: 'POST' , \n headers: { 'Content-Type' : 'application/json' }, \n body: JSON . stringify ({ \n secret: process.env. SHIELD_SECRET , \n response: req.body[ 'edge-shield-response' ], \n remoteip: req.ip, \n }), \n }) \n const { success , score } = await res. json () \n \n if ( ! success) return res. status ( 403 ). send ( 'Verification failed' ) \n if (score < 40 ) return requireEmailConfirmation () // step up, don't hard-block \n \n // Only now check the password: bots never reach your auth logic \n const user = await authenticate (req.body.email, req.body.password) \n Two details matter here. First, pass remoteip , which lets Shield corroborate the client’s network reputation. Second, the ordering: rejecting before authenticate() means stuffing attempts never touch your user table, which also keeps them out of your failed-login metrics and lockout logic.\n\n If you haven’t set up a widget yet, the Bot protection with Edge Shield guide covers it end to end. It’s two lines of markup and free forever.\n\n 2. Use the score for step-up checks # \n\n Every verification returns a 1–100 humanity score . A hard pass/fail gate wastes that signal. For signups in particular, a graduated policy converts uncertain traffic instead of losing it:\n\n Signal \n Signup policy \n\n Score 70–100 \n Create the account normally. \n\n Score 40–69 \n Create the account, but require email confirmation before first use. \n\n Score 1–39 \n Reject, or hold for review. Watch for verified agents, as they may be legitimate automation. \n\n For logins, treat a low score on a correct password as its own signal. That’s the signature of a stuffed credential that happens to be valid. Step up to email confirmation or 2FA rather than letting the session through, and you’ve turned a successful account takeover into a failed one.\n\n 3. Keep the boring layers too # \n\n Shield removes the bulk automation, but defence in depth still applies:\n\n Rate-limit per account as well as per IP: stuffing attacks rotate IPs cheaply, so five failed attempts against one account is a better tripwire than fifty from one address.\n\n Return identical errors for “wrong password” and “no such user”, on the same response timing, so the form can’t be used to enumerate accounts.\n\n Check passwords against known-breach lists at signup and password change. Most stuffing lists are built from exactly those breaches.\n\n Offer 2FA: it’s the single strongest control against account takeover, and you should enable it on your own Edge account as well.\n\n Next steps\n\n Academy Bot protection with Edge Shield \n Academy Protecting APIs from bot abuse \n Coming soon Edge Accreditation\n\n Become a certified Edge practitioner: a structured programme across the platform, with a verifiable certificate. Sign up for updates.\n\n Email address Sign up for updates Learn more about accreditation Keep learning\n\n Security 3 min read \n\n Bot protection with Edge Shield\n\n Stop form spam, credential stuffing and fake signups without ever showing a human a puzzle. Two lines on the page, one HTTP call on the server. Free forever.\n\n Security 3 min read \n\n Protecting APIs from bot abuse\n\n Scraping, enumeration and free-tier abuse don&#x27;t come through your forms. They hit your endpoints directly. Edge Shield&#x27;s tokens work there too, with a verification path fast enough for API traffic.\n\n Security 5 min read \n\n Security hardening\n\n Step-by-step practices to harden your Edge infrastructure: authentication, firewalls, API security and agent access control.",
  "headings": [
    {
      "level": 1,
      "text": "Securing login &amp; signup flows"
    },
    {
      "level": 2,
      "text": "Next steps"
    },
    {
      "level": 2,
      "text": "Edge Accreditation"
    },
    {
      "level": 2,
      "text": "Keep learning"
    },
    {
      "level": 3,
      "text": "Bot protection with Edge Shield"
    },
    {
      "level": 3,
      "text": "Protecting APIs from bot abuse"
    },
    {
      "level": 3,
      "text": "Security hardening"
    }
  ],
  "relatedLinks": [
    {
      "@type": "WebPage",
      "name": "Network",
      "url": "https://edge.network/network"
    },
    {
      "@type": "WebPage",
      "name": "Pricing",
      "url": "https://edge.network/pricing"
    },
    {
      "@type": "WebPage",
      "name": "Docs",
      "url": "https://edge.network/docs"
    },
    {
      "@type": "WebPage",
      "name": "Sign in",
      "url": "https://edge.network/console/access"
    },
    {
      "@type": "WebPage",
      "name": "Shield",
      "url": "https://edge.network/shield"
    },
    {
      "@type": "WebPage",
      "name": "Bot protection with Edge Shield",
      "url": "https://edge.network/academy/bot-protection-shield"
    },
    {
      "@type": "WebPage",
      "name": "Edge account",
      "url": "https://edge.network/academy/security-hardening"
    },
    {
      "@type": "WebPage",
      "name": "Learn more about accreditation",
      "url": "https://edge.network/accreditation"
    },
    {
      "@type": "WebPage",
      "name": "CDN",
      "url": "https://edge.network/cdn"
    },
    {
      "@type": "WebPage",
      "name": "Compute",
      "url": "https://edge.network/compute"
    },
    {
      "@type": "WebPage",
      "name": "Storage",
      "url": "https://edge.network/storage"
    },
    {
      "@type": "WebPage",
      "name": "DNS",
      "url": "https://edge.network/dns"
    },
    {
      "@type": "WebPage",
      "name": "Assist",
      "url": "https://edge.network/assist"
    },
    {
      "@type": "WebPage",
      "name": "Pulse",
      "url": "https://edge.network/pulse"
    },
    {
      "@type": "WebPage",
      "name": "Agent API &amp; MCP",
      "url": "https://edge.network/docs/agent"
    },
    {
      "@type": "WebPage",
      "name": "Academy",
      "url": "https://edge.network/academy"
    },
    {
      "@type": "WebPage",
      "name": "Case Studies",
      "url": "https://edge.network/case-studies"
    },
    {
      "@type": "WebPage",
      "name": "Releases",
      "url": "https://edge.network/releases"
    },
    {
      "@type": "WebPage",
      "name": "Roadmap",
      "url": "https://edge.network/roadmap"
    },
    {
      "@type": "WebPage",
      "name": "Status",
      "url": "https://edge.network/status"
    },
    {
      "@type": "WebPage",
      "name": "About",
      "url": "https://edge.network/about"
    },
    {
      "@type": "WebPage",
      "name": "Environment",
      "url": "https://edge.network/environment"
    },
    {
      "@type": "WebPage",
      "name": "Latest",
      "url": "https://edge.network/latest"
    },
    {
      "@type": "WebPage",
      "name": "Blog",
      "url": "https://edge.network/blog"
    },
    {
      "@type": "WebPage",
      "name": "Careers",
      "url": "https://edge.network/careers"
    },
    {
      "@type": "WebPage",
      "name": "Contact",
      "url": "https://edge.network/contact"
    },
    {
      "@type": "WebPage",
      "name": "Terms of Service",
      "url": "https://edge.network/terms"
    },
    {
      "@type": "WebPage",
      "name": "Privacy Policy",
      "url": "https://edge.network/privacy"
    },
    {
      "@type": "WebPage",
      "name": "Security",
      "url": "https://edge.network/security"
    },
    {
      "@type": "WebPage",
      "name": "SLA",
      "url": "https://edge.network/sla"
    }
  ],
  "alternateFormats": [
    {
      "@type": "MediaObject",
      "contentType": "text/html",
      "url": "https://edge.network/academy/securing-login-signup-flows",
      "name": "HTML version"
    }
  ],
  "dateModified": "2026-11-28T22:16:38.575Z"
}