<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Nkiru Nwanolue on Medium]]></title>
        <description><![CDATA[Stories by Nkiru Nwanolue on Medium]]></description>
        <link>https://medium.com/@nwanoluenkiru?source=rss-c1d72d0046c6------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*g_g8ZlITXQRfuVEl8fooJw.jpeg</url>
            <title>Stories by Nkiru Nwanolue on Medium</title>
            <link>https://medium.com/@nwanoluenkiru?source=rss-c1d72d0046c6------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 12:35:08 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@nwanoluenkiru/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[The Real Reason Websites Want You to Accept All Cookies]]></title>
            <link>https://medium.com/@nwanoluenkiru/the-real-reason-websites-want-you-to-accept-all-cookies-3d409785e994?source=rss-c1d72d0046c6------2</link>
            <guid isPermaLink="false">https://medium.com/p/3d409785e994</guid>
            <category><![CDATA[advertisers]]></category>
            <category><![CDATA[website-cookies]]></category>
            <category><![CDATA[gdpr-data-protection]]></category>
            <category><![CDATA[browsing-data]]></category>
            <category><![CDATA[online-privacy-tips]]></category>
            <dc:creator><![CDATA[Nkiru Nwanolue]]></dc:creator>
            <pubDate>Mon, 01 Dec 2025 11:45:56 GMT</pubDate>
            <atom:updated>2025-12-01T11:45:56.017Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7-pbVIHBvICKnE2tO9fmuw.jpeg" /></figure><p>You visit a website, and before you can even scroll down to see what you came for, a giant banner blocks everything, saying: “We value your privacy. Accept all cookies to continue.” There’s a big, “Accept All” button staring at you while the “Reject” option is barely visible. Sometimes you have to click through three menus just to say no.</p><p>So you do what everyone does and click that “Accept All” button just to make it disappear.</p><p>But what did you actually just agree to, and why are websites so insistent about it? The real reason websites want you to accept all cookies isn’t about improving your experience. It’s about money.</p><h3>Here’s the deal</h3><p>When you click “Accept All,” you’re not just letting the website work. You’re handing over permission to dozens of companies to track everything you do online. <em>Everything.</em> Things such as: Where you browse, what you click on, what you buy, what you almost bought but didn’t.</p><p>Every single scrape of that data gets packaged and sold. Companies then go on to build detailed profiles about you, your interests, your income, your political beliefs, and your health concerns just from watching how you browse.</p><p>Websites desperately want you to click “Accept All” because that data is worth money. <strong><em>A lot</em></strong> of it, and that is what the entire free internet basically runs on.</p><h3>What We’ll Cover</h3><p>I’ll show you exactly what happens when you click that button. What cookies actually are, where your data goes, who gets it, and why websites make rejecting them such a hassle. Then we’ll talk about what you can do about it, practical stuff that doesn’t require deleting the internet.</p><p>By the end, you’ll know what trade you’re making when you click that button. And you can decide if it is really worth it.</p><h3>What You See</h3><p>When you click a link, the page loads, and within seconds, a banner appears. A huge one blocking everything, claiming.</p><p><em>“We care about your privacy.”</em></p><p>Sure you do.</p><h3>The Buttons</h3><p><strong>“Accept All”</strong> — Big, bright, colorful, and is right where you’re already looking. Promises that one click will have your problem solved.</p><p><strong>“Reject All”</strong> — Tiny. Gray. Hidden, and sometimes, it doesn’t even exist as a button. It’s just buried text somewhere.</p><p><strong>“Manage Preferences”</strong> — Opens a nightmare of toggles. Hundreds of companies you’ve never even heard of, all of them turned on by default, and you’d need at least 10 minutes just to turn them all off.</p><p>Most people click “Accept All” immediately. Not because they read everything and agreed. But because the page is blocked, they want to see the content, and the design screams, “Just click this one.”</p><p>That is very intentional.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uGKAifs4ey2KP68TVZScJQ.png" /></figure><h3>What Cookies Actually Are</h3><p>Cookies are just small bits of data that websites save in your browser. Think of it like a sticky note saying “Remember this person.”</p><p>When you log in somewhere, a cookie remembers you’re logged in. When you come back tomorrow, it will still be logged in. That’s the purpose of cookies.</p><p>Without them, you’ll have to log in every time you click on anything. Your shopping cart would empty constantly. The web would be unusable.</p><h3>Different Types Of Cookies</h3><p><strong>Session cookies</strong> — These are temporary and disappear when you close your browser.</p><p><strong>Persistent cookies</strong> — They remember your login and can stick around for weeks, months even.</p><p><strong>First-party cookies</strong> — They’re from the website you’re visiting and are usually fine. They generally help the site to work.</p><p><strong>Third-party cookies</strong> — Usually from other companies. Facebook, Google, and ad networks. These track you everywhere.</p><h3>The Problem</h3><p>First-party cookies? They are mostly harmless.</p><p>Third-party cookies? That’s the issue. They follow you across the internet, watching everything you do, building a profile of you.</p><p>Have you ever looked at something online and then minutes later, you see ads for it everywhere? Third-party cookies are the culprit.</p><p>When you click “Accept All,” you’re accepting <em>all</em> of them. Which is exactly what websites want.</p><h3>What Happens When You Click “Accept All”</h3><p>You click the button. The banner disappears. You go about your business. But in that split second, a lot just happened.</p><h3>Cookies Get Dropped</h3><p>The website immediately starts setting cookies in your browser. Not just one or two but dozens, sometimes hundreds.</p><p>Your browser now has cookies from the main website, plus cookies from Google Analytics, Facebook Pixel, advertising networks, data brokers, and companies you’ve never even heard of. Each one is a little tracker, and its job is to log everything that you do.</p><h3>Third-Party Scripts Activate</h3><p>Those cookies aren’t just sitting there. They’re connected to scripts; little bits of code that run in the background while you browse.</p><p>These scripts watch everything:</p><ul><li>Which articles you read</li><li>How long you spent on each page</li><li>What you hover your mouse over</li><li>What you added to cart but ended up not buying</li><li>Where you click</li><li>When you leave</li></ul><p>All of this gets recorded and sent back to the owner of that tracking cookie.</p><h3>Your Data Starts Flowing</h3><p>Every action you take now generates data that gets sent to multiple companies simultaneously. You’re reading an article about different brands of cooking oil. In the background:</p><ul><li>Google now knows you’re interested in cooking</li><li>Facebook logs it for ad targeting later</li><li>An ad network notes down your browsing patterns</li><li>A data broker adds “cooking enthusiast” to your profile</li></ul><p>You didn’t interact with any of those companies directly. But they all just learned something about you in that moment.</p><h3>The Profile Builds</h3><p>This happens on every site you visit that has these trackers. Over time, they put together a detailed picture of who you are:</p><ul><li>Your interests and hobbies</li><li>Your income bracket (based on sites you visit)</li><li>Your political affiliations</li><li>Whether you’re in the market for a car, a house, or a vacation</li><li>Your health concerns (based on the medical sites you’ve visited)</li><li>Your relationship status</li></ul><p>Nobody asked you for this information. They simply got it from what you browse.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZXgnR5knheI8qKlUzfdo_Q.png" /></figure><h3>Why Websites Push This So Hard</h3><p>So why are websites so aggressive about getting you to accept cookies? Why the manipulative button designs?</p><p>Simple: money.</p><h3>The Business Model</h3><p>Most websites are free to use. You don’t pay to read articles, watch videos, or browse products. So how then do they make their money?</p><p>Advertising. And not just any advertising: <strong>targeted advertising</strong>.</p><p>A random ad shown to anyone is worth little, but an ad shown to exactly the right person at exactly the right time? It’s worth a lot.</p><h3>Data Is the Product</h3><p>When you click “Accept All,” you essentially become the product. Your browsing data gets sold to advertisers who use it to target you with specific ads. The more data they have, the better they can target, the more they’ll pay for ad space.</p><p>A website that can tell advertisers “our visitors are 25–35 year old males interested in gaming and technology” can charge way more than the one that says “people visit our site.”</p><h3>The Real Numbers</h3><p>A visitor who accepts all cookies is worth significantly more to a website than someone who rejects them.</p><p>We’re talking potentially 10–50x more valuable in ad revenue. For a large site with millions of visitors, that’s the difference between profitable and bankrupt. That’s why they make “Accept All” so easy and “Reject All” so complicated.</p><h3>Dark Patterns</h3><p>Cookie consent design often use what is called <strong>“dark patterns,”</strong> which are intentionally manipulative design choices and some of them include:</p><ul><li>Making accept buttons bright and reject buttons gray</li><li>Hiding the reject option behind multiple menus</li><li>Pre-selecting all tracking options</li><li>Using confusing language</li><li>Making you toggle off hundreds of switches individually</li><li>Auto-scrolling equals acceptance on some sites</li></ul><p>These are not accidents. They’re carefully designed to get you to click what makes them the most money.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8QrtTbELl14PvccFpZ12eQ.png" /></figure><h3>What Data They’re Actually Collecting</h3><p>Let’s talk about what information these cookies and trackers actually grab.</p><h3>Browsing History</h3><p>Every page you visit on their site gets logged. What you read, in what order, and how long you spent on each page. But it goes beyond that single site. Third-party trackers can see you across multiple sites. They know you went from an article about electric cars to a car review site to an auto loan calculator.</p><p>That’s not just random browsing; that’s purchase intent.</p><h3>Device Information</h3><p>They collect details about your device:</p><ul><li>What kind of phone or computer you’re using</li><li>Your screen size and resolution</li><li>Your operating system</li><li>Your browser type and version</li><li>Your installed fonts (yes, trust me, this helps fingerprint your device)</li></ul><h3>Location Data</h3><p>If you’ve allowed location permissions, they get your precise GPS coordinates.</p><p>Even without that, they can approximate your location from:</p><ul><li>Your IP address (which gives them your city/region)</li><li>Your timezone</li><li>Your language settings</li></ul><h3>Cross-Site Tracking</h3><p>This is the creepy one. Third-party cookies can track you across different websites.</p><p>You visit a recipe blog, a news site, and an online store, all completely unrelated. But if they all use the same ad network or tracking service, that company sees all three visits and connects them to the same person. They’re building a timeline of your internet activity across the entire web.</p><h3>Behavior Patterns</h3><p>They’re not just collecting what you do, they’re also analyzing how you do it:</p><ul><li>Do you browse on weekday mornings or weekend evenings?</li><li>Do you compare things when you shop or buy impulsively?</li><li>What kind of content makes you click?</li><li>What makes you leave a site?</li><li>Are you using an ad blocker?</li></ul><p>All of this goes into the algorithms that predict what you’ll do next.</p><h3>What They Find Out</h3><p>From all this data, they can make educated guesses about:</p><ul><li>Your income level</li><li>Your education</li><li>Your family situation</li><li>Your health concerns</li><li>Your political beliefs</li><li>Your shopping habits</li><li>Whether you’re about to make a major purchase</li></ul><p>You didn’t tell them any of this directly. They simply figured it out from your patterns.</p><h3>The Legal Side: Why Cookie Banners Exist</h3><p>You’ve probably noticed these cookie banners only became annoying in the last few years. So what changed?</p><h3>GDPR Happened</h3><p>In 2018, the European Union enacted the GDPR: <strong>General Data Protection Regulation</strong>. It’s a privacy law that says, among other things, that websites need your explicit consent before tracking you.</p><p>Before GDPR, websites just tracked everyone by default. There was no permission, no notification, nothing. The emergence of GDPR forced them to ask first.</p><h3>What the Law Actually Requires</h3><p>GDPR says:</p><ul><li>You must be informed about data collection</li><li>You must give explicit consent</li><li>Consent must be freely given (not forced)</li><li>Rejecting should be as easy as accepting</li><li>You should be able to withdraw consent anytime</li></ul><p>It sounds good in theory, right?</p><h3>How Websites Work Around It</h3><p>The problem is that the law has loopholes, and enforcement is inconsistent.</p><p>Websites technically comply by showing the banner, but they:</p><ul><li>Make rejection deliberately annoying and sometimes hard</li><li>Use confusing language about “legitimate interest.”</li><li>Claim some tracking is “necessary” when it’s not</li><li>Set some cookies before you even respond to the banner</li><li>Hope you just click accept without reading</li></ul><h3>Other Privacy Laws</h3><p>GDPR is European, but it affects the whole internet because big websites also serve European users.</p><p>Other regions have followed:</p><ul><li><strong>CCPA</strong> in California (is similar but weaker)</li><li><strong>LGPD</strong> in Brazil</li><li>Various laws in other countries</li></ul><p>But enforcement is patchy. Big companies get fined occasionally, but most small sites just do whatever they want.</p><h3>The Future</h3><p>Some browsers are taking matters into their own hands:</p><ul><li>Safari blocks third-party cookies by default</li><li>Firefox has enhanced tracking protection</li><li>Chrome announced plans to phase out third-party cookies (even though they keep delaying it)</li></ul><p>Laws are getting stricter, too. But for now, we’re stuck with annoying cookie banners that don’t really protect privacy the way they’re supposed to.</p><h3>What Happens If You Reject Cookies?</h3><p>So what actually happens if you take the time to reject all those tracking cookies? Will the website still work?</p><h3>The Website Still Works</h3><p>Here’s the thing most sites don’t want you to know: Rejecting cookies almost never breaks core functionality.</p><p>You can still:</p><ul><li>Read articles</li><li>Browse products</li><li>Watch videos</li><li>Use search functions</li><li>Navigate the site normally</li></ul><p>The website works just fine because the tracking cookies were never necessary for functionality in the first place.</p><h3>What You Might Lose</h3><p>There are some legitimate things that might not work without cookies. For example:</p><p><strong>Login persistence</strong> — You might have to log in more often, so session cookies are actually necessary for this.</p><p><strong>Personalization</strong> — The site won’t remember your preferences, language settings, or theme choices.</p><p><strong>Shopping carts</strong> — Some sites use cookies for this, though many use server-side storage now.</p><p><strong>Video progress</strong> — Might not remember where you stopped.</p><p>But do you notice what’s missing from that list? All that tracking, profiling, and ad targeting. That’s what you’re actually rejecting.</p><h3>The Annoying Part</h3><p>Some websites get irrationally petty when you reject cookies:</p><ul><li>They show the banner again and again on every page</li><li>They claim the site “won’t work properly” (it will)</li><li>They make you re-select your preferences constantly to annoy you,</li><li>Some even soft-block content behind the cookie wall</li></ul><p>They do this intentionally to make you give up and just accept.</p><h3>The Middle Ground</h3><p>Most cookie banners have a third option, which is: “Necessary cookies only” or “Essential cookies.”</p><p>This usually gives you:</p><ul><li>Cookies needed for the site to function</li><li>Login and session management</li><li>Shopping cart functionality</li><li>Security features</li></ul><p>But it blocks:</p><ul><li>Advertising cookies</li><li>Analytics trackers</li><li>Social media pixels</li><li>Third-party data collection</li></ul><p>This is the better option for most people because the site works, but you’re not being tracked across the internet.</p><h3>How to Take Control of Your Privacy</h3><p>Okay, so what can you actually do about all of this? Here are some practical steps that don’t require becoming a privacy hermit.</p><h3>Change Your Default Response</h3><p>Stop automatically clicking “Accept All.” I know the banner is annoying, but take two extra seconds to:</p><ul><li>Look for “Reject All” or “Necessary Only”</li><li>Click that instead and</li><li>Move on with your life</li></ul><p>It’s a tiny habit change that makes a lot of difference.</p><h3>Use Browser Settings</h3><p>Most modern browsers have built-in privacy features you’re probably not using:</p><p><strong>Firefox has:</strong></p><ul><li>Enhanced Tracking Protection that blocks most third-party trackers by default</li><li>You can also set it to “Strict” mode for even more blocking</li></ul><p><strong>Safari has:</strong></p><ul><li>Intelligent Tracking Prevention that blocks cross-site tracking automatically</li><li>Private browsing that actually does what it claims</li></ul><p><strong>For Chrome:</strong></p><ul><li>Go to Settings → Privacy and Security</li><li>Turn on “Send a ‘Do Not Track’ request.”</li><li>Block third-party cookies (though Chrome is weakest here)</li></ul><p><strong>Brave is:</strong></p><ul><li>Built specifically for privacy</li><li>Blocks trackers and ads by default</li></ul><h3>Browser Extensions</h3><p>A few simple extensions can help with cookie rejection:</p><p><strong>uBlock Origin</strong> — Blocks ads and many trackers, and it is free and open source.</p><p><strong>Privacy Badger</strong> — Automatically learns and blocks trackers. It is made by EFF.</p><p><strong>Cookie AutoDelete</strong> — Automatically deletes cookies when you close a tab.</p><p><strong>I Don’t Care About Cookies</strong> — Automatically handles cookie banners for you (though it usually accepts them, so make sure to check the settings).</p><p><strong>Consent-O-Matic</strong> — Automatically rejects cookie consent banners when possible.</p><h3>What “Do Not Track” Actually Does</h3><p>Browsers have a “Do Not Track” setting. Sounds great, right? But in reality, it does almost nothing. It’s a request sent to websites saying, “Please don’t track me.” But websites can completely ignore it. Most do.</p><p>So never rely on Do Not Track. Instead, use actual blocking tools.</p><h3>Private/Incognito Mode Myths</h3><p>Private browsing doesn’t make you anonymous. It just:</p><ul><li>Doesn’t save browsing history on your device</li><li>Doesn’t save cookies after you close the window</li><li>Doesn’t save any form data</li></ul><p>It does NOT:</p><ul><li>Hide you from websites you visit</li><li>Hide you from your ISP</li><li>Stop websites from tracking you during that session</li><li>Make you anonymous</li></ul><p>It’s useful for avoiding targeted ads based on recent searches, but it’s not real privacy protection.</p><h3>The Nuclear Option: VPN</h3><p>A VPN (Virtual Private Network) hides your IP address and encrypts your traffic.</p><p>It helps with:</p><ul><li>Hiding your location from websites</li><li>Preventing your ISP from seeing what sites you visit</li><li>Accessing region-blocked content</li></ul><p>It does <strong>NOT</strong>:</p><ul><li>Stop websites from setting cookies</li><li>Prevent tracking if you’re logged into accounts</li><li>Make you completely anonymous</li></ul><p>VPNs are useful but often oversold. They’re one tool, but not a magic privacy solution.</p><h3>The Balance</h3><p>Look, you don’t need to go full paranoid mode. Complete privacy on the internet is basically impossible unless you want to make your browsing miserable. The goal here isn’t perfection. It’s making deliberate choices about what you’re comfortable with.</p><p>Maybe you can:</p><ul><li>Reject cookies on random sites but accept them on sites you trust</li><li>Use privacy tools on your main browser, but don’t worry about it on your phone</li><li>Block tracking, but still use Google and social media</li></ul><p>That is fine. Any step toward more control is better than just accepting everything by default.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zptXghWLsvGPfG4ZoMFn0A.png" /></figure><h3>Conclusion</h3><p>So here’s what we’ve learned in this article: when you click “Accept All,” you’re not just agreeing to let a website work properly. You’re giving permission for dozens of companies to track you across the internet, building detailed profiles about who you are and what you do.</p><p>The real reason websites want you to accept all cookies? Your data is worth money. Real money. Targeted advertising is the business model that funds the free internet, and it only works if it can collect massive amounts of information about you.</p><p>The cookie banners exist because laws like GDPR forced websites to ask permission. But the way those banners are designed, with bright “Accept All” buttons and hidden reject options, shows you exactly how much they want your data.</p><p>What they’re collecting goes way beyond just “which pages you visited.” They’re tracking your behavior patterns, deducing your income and interests, following you across different sites, and building profiles that get shared with hundreds of other companies.</p><p>The good news is that you have far more control than you think. Rejecting cookies doesn’t break websites. Browser tools and extensions can automate a lot of this, and even small changes like making “Necessary Only” your default choice add up over time.</p><p>You don’t need to become a privacy extremist, but you should know what trade you’re making when you click that button. Convenience and personalization in exchange for letting companies track your every move online.</p><p>Now that you know what’s really happening, the choice is yours. When you click that button, it has to be deliberate, not because you were manipulated by the button design.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3d409785e994" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What Happens When You Click Forgot Password (Part 2)]]></title>
            <link>https://medium.com/@nwanoluenkiru/what-happens-when-you-click-forgot-password-part-2-15649980a3d5?source=rss-c1d72d0046c6------2</link>
            <guid isPermaLink="false">https://medium.com/p/15649980a3d5</guid>
            <category><![CDATA[password-security]]></category>
            <category><![CDATA[cyber-security-awareness]]></category>
            <category><![CDATA[forgot-password]]></category>
            <category><![CDATA[password-manager]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Nkiru Nwanolue]]></dc:creator>
            <pubDate>Sat, 22 Nov 2025 17:25:43 GMT</pubDate>
            <atom:updated>2025-11-22T17:25:43.858Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2iK6ZzrqxVNMmn6Je8shlg.jpeg" /></figure><p>Before we start looking into the vulnerabilities and best practices, let’s do a quick recap of what we’ve learned so far in Part 1.</p><p>We started by looking at password reset from your perspective as a user, clicking that “Forgot Password” link, entering your email, waiting for that reset link to show up in your inbox, and finally setting a new password.</p><p>From there, we checked out what was happening behind the scenes. When you submit your email, the server validates it and checks the database. It generates a random token (that long string of characters you see in the reset URL) and stores it with an expiration time. That token then gets embedded in an email sent to you. When you click the link, the server validates the token multiple times: Does it exist? Has it expired? Has it been used already? Only after passing all those checks can you set your new password, which gets hashed and stored while the token gets killed off.</p><p>Lastly, we talked about why this is important for security. Password reset isn’t just a convenience feature; it’s authentication through email ownership. You’re giving someone access to an account without checking their password. That’s why every validation step is critical.</p><p>Now that you understand how it’s supposed to work, let’s look at what happens when it doesn’t.</p><h3>Common Vulnerabilities &amp; Attacks</h3><p>Alright, now we get to the fun part, which is seeing how things break. I spent tons of time reading about these vulnerabilities, and to be honest, a few of them are quite incredible.</p><h3>Predictable Tokens</h3><p>You know that story I mentioned about sequential numbers? That’s the worst-case scenario. If tokens follow any pattern: numbers in order, timestamps, anything predictable, you are basically handing attackers a guide.</p><p>Imagine this: tokens such as reset_12345, reset_12346, reset_12347. A person could create a program that attempts thousands of these each minute. Sooner or later, they&#39;ll find one and bam! They&#39;ve gained access.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tQn8s2Pq00Aw0aFlIgY4kQ.png" /></figure><p>Tokens that appear random might still cause issues if the type of randomness applied is unsuitable. Some programming functions that generate “random” numbers aren’t actually secure; they might repeat patterns or be easy to guess if someone knows enough about your system.</p><h3>Tokens That Never Die</h3><p>I have come across websites where password reset links remain valid for days or even weeks. That is a terrifying red flag.</p><p>Suppose you ask for a reset but delay using it. The link just sits in your email. If someone gets into your email account later, maybe you forgot to log out at a coffee shop, or your email got compromised, that old link still works. They can reset your password whenever they want.</p><p>Most sites expire tokens after 15 minutes to an hour. That’s enough time for normal use, but short enough that old links become useless pretty fast.</p><h3>Using the Same Token Twice</h3><p>Tokens that work multiple times. This one happens more often than it should</p><p>For example, say you have just reset your password successfully. That token should immediately get deleted or marked as used in the database. If that doesn’t happen, anyone who somehow got that token either from your browser history, server logs, wherever, can use it again later to lock you out of your own account.</p><h3>Password Reset Poisoning</h3><p>This attack is pretty clever, actually. The attacker manipulates the password reset request so that the link in the email directs to their server rather than the legitimate one.</p><p>They do this by manipulating something called the “Host” header when the reset request is sent. If the server just blindly trusts that header, it might build a link like:</p><p><a href="https://evil-site.com/reset-password?token=abc123">https://evil-site.com/reset-password?token=abc123</a></p><p>You receive the email, it appears genuine, so you click it believing you’re updating your password…. You have just handed your token directly to the hacker.</p><h3>Unlimited Reset Requests</h3><p>Without any form of rate limiting, attackers can spam reset requests all day long. They could flood someone’s email (which is annoying), or they could blast through thousands of email addresses to figure out which ones are actually registered on your site.</p><p>That’s why most sites limit how many reset requests you can make. Maybe 3 to 5 per hour from the same IP address or for the same email.</p><h3>Telling Too Much</h3><p>Some sites try to be helpful and end up leaking information. They’ll show “Email not found” when you enter an address that doesn’t exist, or “Reset link sent!” when it does.</p><p>Appears harmless, doesn’t it? However, hackers exploit this to compile lists of accounts. They can methodically test email addresses and identify precisely who holds an account on your platform.</p><p>That’s why secure sites give you that intentionally vague message: “If an account exists, you’ll receive an email.” Because it doesn’t confirm anything either way.</p><h3>Best Practices for Developers</h3><p>Okay, enough scary stories. Let’s talk about how to actually build this properly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oLNtLtHLUaINBnnp70zIkA.png" /></figure><h3>Generate Actual Random Tokens</h3><p>Don’t just use any old random function. Most languages have specific cryptographic functions for this:</p><ul><li>In PHP, use random_bytes()</li><li>Node.js has crypto.randomBytes()</li><li>Python offers secrets.token_urlsafe()</li></ul><p>And make them long, at least 32 bytes, which turns into 64 characters when you convert it to text.</p><h3>Expire Tokens Fast</h3><p>The ideal timeframe ranges from 15 minutes to an hour. Users won’t get frustrated, but old tokens become worthless pretty quickly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*o7kbMUhImlardQdCZcKlZA.png" /></figure><p>Just store when the token expires in your database and check that timestamp every time someone tries to use it.</p><h3>Kill Tokens After They’re Used</h3><p>Once someone successfully resets their password, delete that token immediately. Or at least mark it as used. Don’t let it work twice, ever.</p><h3>HTTPS Is Non-Negotiable</h3><p>Those reset links have sensitive tokens in them. If you’re sending them over regular HTTP, anyone watching the network traffic can grab them. HTTPS encrypts everything, so the tokens stay protected.</p><h3>Keep Email Status Private</h3><p>Always use the same message whether the email exists in your system or not: “If an account exists with this email, you’ll receive a reset link.”</p><p>I know, it’s slightly less user-friendly. But it stops attackers from figuring out who has accounts on your site.</p><h3>Throttle Reset Requests</h3><p>Restrict the number of password reset requests an individual can make. For instance, allow 3 to 5 per email address within an hour and also limit requests originating from the same IP address. This prevents spam as well as brute force attempts.</p><h3>Confirm Password Changes</h3><p>After someone resets their password, send them another email: “Your password was just changed. If this wasn’t you, contact us ASAP.”</p><p>This method ensures that if any suspicious activity occurs, the real account owner knows about it immediately.</p><h3>Consider Hashing Tokens in Your Database</h3><p>This is extra paranoid, but some developers hash tokens before storing them, just like passwords. That way, even if your database gets compromised, the raw tokens aren’t just sitting there.</p><p>When someone uses a reset link, you hash the token from the URL and compare it to what’s in the database.</p><h3>Conclusion</h3><p>This sums up the whole process, from clicking “Forgot Password” to your new password sitting safely in the database.</p><p>What looks like a simple two-minute process is actually this whole carefully coordinated system working between your browser, the server, the database, and email.</p><p>Main things to remember:</p><ul><li>Password reset is basically authentication through email</li><li>Tokens must be random, distinct, and temporary</li><li>You validate multiple times, so never assume a token’s still good</li><li>Sometimes being vague is better for security (like not confirming if emails exist)</li><li>Expiration times and rate limits are your safety nets</li></ul><p>If you’re building this feature, take your time with it. Use proper random token generation, set expiration times, validate everything, and always use HTTPS. It’s not the most exciting code to write, but it’s important.</p><p>And if you’re checking existing code, now you know what red flags to look for. Check those tokens, verify the expiration logic, and ensure that rate limiting is implemented..</p><p>Next time you reset a password, you’ll know exactly what’s happening behind that form. And hopefully you’ll build systems that keep users safe when they inevitably forget their passwords.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=15649980a3d5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What happens when you click “forgot password” (Part 1)]]></title>
            <link>https://medium.com/@nwanoluenkiru/what-happens-when-you-click-forgot-password-part-1-df804bca5fdb?source=rss-c1d72d0046c6------2</link>
            <guid isPermaLink="false">https://medium.com/p/df804bca5fdb</guid>
            <category><![CDATA[passwords]]></category>
            <category><![CDATA[strong-password-security]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[password-management]]></category>
            <category><![CDATA[password-security]]></category>
            <dc:creator><![CDATA[Nkiru Nwanolue]]></dc:creator>
            <pubDate>Sun, 09 Nov 2025 18:40:36 GMT</pubDate>
            <atom:updated>2025-11-09T18:40:36.225Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uahpG0NCgue2c1UhTc9bhw.jpeg" /></figure><p>We’ve all been there. You’re attempting to log in to a site you visited once or twice a few months ago, but can’t remember which one it is, and your brain goes completely blank about the password. Was it the one including that special character? The one with your dog’s name? You finally give up and click that little link after the third time: “Forgot Password?”</p><p>A few minutes later, you’ve got an email in your inbox with a magical link that allows you to create a new password. No security questions, no customer support calls, click and reset. Simple, right?</p><p>But have you ever paused to ask yourself: <em>How does this all work? How does the site know that’s really you?</em> Most of all, is it secure to transmit this process?</p><h3>Why you should care (And why I couldn’t stay quiet)</h3><p>When I first started learning about web security, I’ll be honest, I thought password reset was just a nice UX feature. You know, only another shape to construct. But then I found out something that completely changed my view of it: <strong>every single password reset is effectively handing someone the keys to an account and saying you don’t need to prove who you are because I already know.</strong></p><p>Let that sink in for a second. You’re letting someone demonstrate that they own access to an account without the primary thing that should prove ownership. That’s wild when you think about it.</p><p>As developers, we spend so much time securing our login pages. Whether it is hashing passwords, adding rate limiting, maybe even implementing 2FA. But if someone can just click “Forgot Password” and waltz in through a poorly secured back door? All that security work becomes pointless.</p><p>I started digging into this after reading about a company that got breached because their password reset tokens were… wait for it… <em>sequential numbers</em>. An attacker literally just tried token=1, token=2, token=3 until they found active ones. It was both hilarious and terrifying.</p><p>The scary part? These vulnerabilities aren’t rare. They’re in apps built by experienced teams, in popular platforms, in production code running right now. And honestly? Before I researched this, I probably would’ve made some of these same mistakes.</p><h3>What we’ll explore together</h3><p>I’m going to walk you through it in the way I wish it were explained to me, not with any kind of dry technical specs, but by actually discussing the journey of what is happening when you press that button.</p><p>Here’s our roadmap:</p><p>We will first follow the complete flow as experienced by a user, and then look under the hood to demystify what goes on at the server. You’ll now know why that email takes a minute to arrive and what’s really in that reset link.</p><p><strong>Next</strong> is the reset token. All those cryptic strings in the URL. What are they? How are they created? And why does it matter if they’re random enough? (Spoiler: it <em>really</em> matters.)</p><p><strong>After that</strong>, we’ll start the fun part: what could possibly go wrong? I will show you actual vulnerabilities I’ve discovered, some clever, some facepalm-worthy, and most importantly, all educational. We’ll discuss tactics attackers have deployed to guess tokens, hijack reset emails, and even fool the system by convincing it to send reset links to their own servers.</p><p>And lastly, I get to share some real-world code examples and best practices that you can truly get value out of. Not the “here’s 47 things to do” kind of list, but your most important stuff that truly matters.</p><p>My goal isn’t to make you paranoid about password resets. It’s to equip you to build them securely and confidently.</p><h3>The User’s Perspective: What You See</h3><p>Let’s start with what you actually experience as a user. I’m going to walk through this step-by-step because understanding the surface helps us appreciate what’s happening underneath.</p><h3>Step 1: The Moment of Defeat</h3><p>You’re looking at a login page. You’ve tried “Password123!” and “P@ssw0rd2025” and that thing with your cat’s name. Nothing’s working. Finally, you can’t stand it and click the <strong>“Forgot Password?”</strong> link.</p><p>Don’t feel any shame here; we’ve all been there. This is typically an unglamorous, little link sitting below the login form that you tend not to notice until you need it</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*w5uXvJCp8zdvGNeh.png" /><figcaption><em>A screenshot of a typical login page, featuring a username/email field, a password field, a “Login” button, and a “Forgot Password?” link below it.</em></figcaption></figure><h3>Step 2: Enter Your Email</h3><p>When you click on that link, it whisks you away to a page (most likely minimalist). There’s usually a single field asking for your email address or username, and a submit button that says something like “Send Reset Link” or “Reset Password.”</p><p>You type in your email address and hit submit. The page might show a loading spinner for a second or two.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*w9sHmROT_V12k9sc.png" /><figcaption><em>A password reset request page showing a single email input field with a label “Enter your email address”, and a button labeled “Send Reset Link”</em></figcaption></figure><h3>Step 3: The Waiting Game</h3><p>After you submit, you usually see a confirmation message. Something like:</p><p><em>“If an account exists with this email, you’ll receive a password reset link shortly. Please check your inbox.”</em></p><p>Pay attention to the way that is phrased. They don’t inform you whether the email is in their system. We will discuss why this is important later, but remember that this is not a loose term of customer service, but is, in fact, a security feature.</p><p>Now you are sitting there, checking your inbox. It could take seconds or several minutes, depending on the site and email server. It even gets into your spam folder (remember to look!).</p><figure><img alt="A confirmation message displayed on a webpage" src="https://cdn-images-1.medium.com/max/1024/0*Qu-l9wMHvVRy8UhL.png" /><figcaption><em>A confirmation message displayed on a webpage</em></figcaption></figure><h3>Step 4: The Magic Email Arrives</h3><p>Finally, the email shows up. It usually looks something like this:</p><p><strong>Subject:</strong> Reset your password for [Website Name]</p><p>Hi there,</p><p>We received a request to reset your password. If you made this request, click the link below to reset your password:</p><p><strong>[Reset My Password]</strong> ← This is a clickable button or link</p><p>This link will expire in 1 hour for security reasons.</p><p>If you didn’t request this password reset, you can safely ignore this email. Your password won’t be changed.</p><p>The important thing here is the link. When you hover over it (and you should, to be on the safe side), you will notice that it is actually a URL that appears like:</p><p><a href="https://example.com/reset-password?token=a7f3k9m2p8q1r5t6w0x4y9z2b5c8d1e4">https://example.com/reset-password?token=a7f3k9m2p8q1r5t6w0x4y9z2b5c8d1e4</a></p><p>See that long, random-looking string after token=? That&#39;s the magic sauce. That&#39;s your temporary key to the kingdom.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ZNRwIfxjHGLcdfUG.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*WXf9yqcd7uLOjsxh.png" /></figure><h3>Step 5: Click and Reset</h3><p>You click on the link (although copying and pasting is always safe), and you are redirected to another page where you can use a brand-new password.</p><p>Most of the time, you will be asked to type it twice to be sure that you did not make a typo. It may include some requirements listed as: should contain at least 8 characters, should contain a number and a special character, etc. You type in your password, press submit, and…</p><figure><img alt="A “Create New Password” page with two password input fields labeled “New Password” and “Confirm Password”" src="https://cdn-images-1.medium.com/max/1024/0*X_PXLEP02NywrdrB.png" /><figcaption><em>A “Create New Password” page with two password input fields labeled “New Password” and “Confirm Password”</em></figcaption></figure><h3>Step 6: Success!</h3><p>You see a success message: “Your password has been reset successfully!”</p><p>The site either logs you in automatically or redirects you back to the login page, where you can use your shiny new password. You’re back in business.</p><figure><img alt="A success page with a large checkmark and the text “Your password has been reset successfully!”" src="https://cdn-images-1.medium.com/max/1024/0*w5bmAVxXFKwMKYkt.png" /><figcaption><em>A success page with a large checkmark or success icon and the text “Your password has been reset successfully!”</em></figcaption></figure><p>That’s the Journey. Simple, Right?</p><p>It appears simple on the surface: you just have to click a link, receive an email, and create a new password. Only two minutes when your email server is fast. What is interesting here, though in regards to security, is the following: <strong>Over the course of these two minutes, there is an intricately choreographed dance involving your browser, the site servers, the database, and the email system, all of which are aimed at ensuring that it is actually you, without you needing to prove you know the old password.</strong></p><p>But how does it actually confirm that it is you and not an attacker who wants to get into your account? How does that link “know” you’re authorized to reset the password?</p><p>Let’s pull back the curtain and see what’s really happening behind each of those steps.</p><h3>Behind the Scenes: What Really Goes on (Step-by-Step)</h3><p>Okay, we are about to get to the good stuff. We can step back and repeat that journey this time, with the knowledge that we will observe what is going on on the server, in the database, and throughout the network. I will break this down into easy-to-digest, bite-sized portions to make it easier to understand.</p><h3>A. User Submits Email Address</h3><p>Remember when you typed your email into that form and hit “Send Reset Link”? Here’s what happened the moment you clicked that button:</p><p><strong>On the Browser Side:</strong> Your browser uses the form data (your email address) and makes the request to the server in the form of an HTTP POST request. It looks something like this:</p><pre>POST /forgot-password HTTP/1.1<br>Host: example.com<br>Content-Type: application/json</pre><pre>{<br>  &quot;email&quot;: &quot;yourname@email.com&quot;<br>}</pre><p><strong>On the Server Side:</strong> The server receives this request and immediately gets to work:</p><ol><li><strong>Validation Check</strong>: The first one is a validation check of the email format. Is it really written in email format? Does it have an @ symbol? Does it look legitimate? This helps in blocking out blatant junk data.</li></ol><pre>// Simple example in PHP<br>   if (!filter_var($email, FILTER_VALIDATE_EMAIL)) {<br>       return &quot;Invalid email format&quot;;<br>   }</pre><ol><li><strong>Database Lookup</strong>: Next, the server queries the database to check if this email exists in the users table.</li></ol><pre>SELECT id, email FROM users WHERE email = &#39;yourname@email.com&#39;;</pre><p>The interesting part comes here. Most secure systems, <strong>even when there is no email</strong>, will display the same response: <em>“If an account exists with this email, you’ll receive a reset link.”</em></p><p>Why? Because if the site says “Email not found,” then an attacker can use this to determine the emails that are registered on the site. This is known as <strong>account enumeration,</strong> and it is a security risk. So the response is intentionally kept vague.</p><figure><img alt="A flowchart" src="https://cdn-images-1.medium.com/max/1024/0*Msrg_t3caeD-dQfe.png" /><figcaption>A flowchart</figcaption></figure><h3>B. Generating the Reset Token</h3><p>Assuming the email exists in the database, the server now needs to create a <strong>reset token</strong>. This is the heart of the whole operation, so let’s break it down.</p><p><strong>What is a Reset Token?</strong> A reset token is simply a temporary password, a long, random, and unique string used as evidence that you have requested the password reset. It is more of a provisional key card, which is valid only temporarily.</p><p><strong>How It’s Generated:</strong> The token must be:</p><ul><li><strong>Random</strong>: Impossible to guess</li><li><strong>Unique</strong>: No two tokens should ever be the same</li><li><strong>Long enough</strong>: Short tokens are easier to brute force</li></ul><p>Here’s a simple example of generating a secure token:</p><pre>// PHP example using random_bytes<br>$token = bin2hex(random_bytes(32)); // Generates a 64-character hex string<br>// Result might look like: a7f3k9m2p8q1r5t6w0x4y9z2b5c8d1e4f7h0j3k6l9m2n5p8q1r4s7t0u3v6w9x2y5z8</pre><pre>// JavaScript example (Node.js)<br>const crypto = require(&#39;crypto&#39;);<br>const token = crypto.randomBytes(32).toString(&#39;hex&#39;);</pre><p>If tokens are predictable or too short, an attacker could guess them. Suppose the tokens were numbers, 1, 2, 3, 4… The attacker would simply test all of them; that is why we apply cryptographically secure random generation.</p><p><strong>Storing the Token:</strong> Once generated, the server stores this token in the database alongside:</p><ul><li>Which user it belongs to</li><li>When it was created</li><li>When it expires (usually 15 minutes to 1 hour from now)</li></ul><pre>INSERT INTO password_reset_tokens (user_id, token, created_at, expires_at) <br>VALUES (12345, &#39;a7f3k9m2p8q1r5t6...&#39;, NOW(), NOW() + INTERVAL 1 HOUR);</pre><p>Or if the database already has a token for this user, it updates it (invalidating any old tokens):</p><pre>UPDATE password_reset_tokens <br>SET token = &#39;a7f3k9m2p8q1r5t6...&#39;, <br>    created_at = NOW(), <br>    expires_at = NOW() + INTERVAL 1 HOUR<br>WHERE user_id = 12345;<br>```</pre><pre>### 3.3 Sending the Reset Email</pre><pre>Now that we have a token, the server needs to get it to you. This happens through email.</pre><pre>Building the Reset Link:<br>The server constructs a URL that includes the token as a parameter:<br>```<br>https://example.com/reset-password?token=a7f3k9m2p8q1r5t6w0x4y9z2b5c8d1e4<br>```</pre><pre>Some sites also include the email address or user ID in the URL for convenience:<br>```<br>https://example.com/reset-password?token=a7f3k9m2p8q1r5t6&amp;email=yourname@email.com</pre><p><strong>Sending the Email:</strong> The server then uses an email service (like SendGrid, Mailgun, AWS SES, or just SMTP) to send the email to your inbox.</p><pre>// Simplified PHP example<br>$resetLink = &quot;https://example.com/reset-password?token=&quot; . $token;</pre><pre>$message = &quot;Hi there,\n\n&quot;;<br>$message .= &quot;Click this link to reset your password:\n&quot;;<br>$message .= $resetLink . &quot;\n\n&quot;;<br>$message .= &quot;This link expires in 1 hour.\n&quot;;</pre><pre>mail($email, &quot;Reset Your Password&quot;, $message);<br>```</pre><pre>Important Security Note:<br>The token in the email is as powerful as your actual password. Anyone who has access to this email can reset your password. That&#39;s why:<br>- Links expire quickly<br>- You should use HTTPS (the &#39;s&#39; matters!)<br>- Email accounts should be secured with strong passwords and 2FA</pre><pre>### 3.4 User Clicks the Link</pre><pre>You receive the email, click the link, and your browser makes a request to the server with that token in the URL.<br>```<br>GET /reset-password?token=a7f3k9m2p8q1r5t6w0x4y9z2b5c8d1e4 HTTP/1.1<br>Host: example.com</pre><p><strong>Server Validation Process:</strong> When the server receives this request, it goes through a series of checks:</p><p><strong>Check 1: Does the token exist in the database?</strong></p><pre>SELECT user_id, expires_at, used <br>FROM password_reset_tokens <br>WHERE token = &#39;a7f3k9m2p8q1r5t6...&#39;;</pre><p>If the token isn’t found → Show error: “Invalid or expired reset link”</p><p><strong>Check 2: Has the token expired?</strong></p><pre>if (strtotime($token_data[&#39;expires_at&#39;]) &lt; time()) {<br>    // Token has expired<br>    return &quot;This reset link has expired. Please request a new one.&quot;;<br>}</pre><p><strong>Check 3: Has the token already been used?</strong></p><pre>if ($token_data[&#39;used&#39;] == true) {<br>    return &quot;This reset link has already been used.&quot;;<br>}<br>```</pre><pre>If all checks pass, the server shows you the password reset form. The token is usually kept in a hidden field or in the URL so it can be submitted with the new password.</pre><pre>### 3.5 Setting the New Password</pre><pre>You enter your new password (twice, to make sure you didn&#39;t typo), and hit submit. Here&#39;s what happens:</pre><pre>On the Browser:<br>The form data is sent to the server:<br>```<br>POST /reset-password HTTP/1.1<br>Host: example.com<br>Content-Type: application/json</pre><pre>{<br>  &quot;token&quot;: &quot;a7f3k9m2p8q1r5t6...&quot;,<br>  &quot;new_password&quot;: &quot;MyNewSecureP@ssw0rd2024&quot;,<br>  &quot;confirm_password&quot;: &quot;MyNewSecureP@ssw0rd2024&quot;<br>}</pre><p><strong>On the Server:</strong></p><p><strong>Step 1: Validate the token again.</strong> Yes, even though we just validated it when showing the form, we validate it <em>again</em> when the password is submitted. Why? Because time might have passed, and the token could have expired or been used in the meantime.</p><p><strong>Step 2: Check password requirements</strong></p><pre>// Example checks<br>if (strlen($password) &lt; 8) {<br>    return &quot;Password must be at least 8 characters&quot;;<br>}</pre><pre>if ($password !== $confirm_password) {<br>    return &quot;Passwords don&#39;t match&quot;;<br>}</pre><p><strong>Step 3: Hash the password.</strong> This is critical: <strong>NEVER store passwords in plain text.</strong> The server uses a hashing algorithm to convert your password into a one-way encrypted string.</p><pre>// Using PHP&#39;s password_hash function (uses bcrypt by default)<br>$hashed_password = password_hash($new_password, PASSWORD_DEFAULT);<br>// Result: $2y$10$eImiTXuWVxfM37uY4JANjQ.w8P8T9q0WxPqC6Y7N8K9vY8T9q0Wx</pre><p>Common hashing algorithms: bcrypt, Argon2, PBKDF2</p><p><strong>Step 4: Update the database</strong></p><pre>-- Update the user&#39;s password<br>UPDATE users <br>SET password = &#39;$2y$10$eImiTXuWVxfM37uY4JANjQ...&#39; <br>WHERE id = 12345;</pre><pre>-- Mark the token as used (or delete it)<br>UPDATE password_reset_tokens <br>SET used = true <br>WHERE token = &#39;a7f3k9m2p8q1r5t6...&#39;;</pre><pre>-- Or simply delete it<br>DELETE FROM password_reset_tokens <br>WHERE token = &#39;a7f3k9m2p8q1r5t6...&#39;;</pre><p><strong>Step 5: Log the user in (optional) or redirect to login.</strong> You are automatically logged in to some sites after changing your password. Others redirect you to the login screen, where you should use your new password to log in.</p><p><strong>Step 6: Send a confirmation email (best practice).</strong> Many secure systems send a second email confirming that your password was changed:</p><p><em>“Your password was recently changed. If you didn’t make this change, please contact us immediately.”</em></p><p>This gives you a heads-up if someone else managed to reset your password without your knowledge.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Wj5LlVuVFQlRuzRc.png" /></figure><h3>The Complete Picture</h3><p>Let’s zoom out for a second. Here’s the entire flow from start to finish:</p><ol><li><strong>User enters email</strong> → Server authenticates and verifies database</li><li><strong>Server generates a token</strong> → Stores it with an expiration time</li><li><strong>Server sends email</strong> → With reset link and token</li><li><strong>User clicks link</strong> → Server validates token (exists? expired? used?)</li><li><strong>User enters new password</strong> → Server validates, hashes, and saves it</li><li><strong>Token is invalidated</strong> → Can’t be reused</li></ol><p>Every step has security considerations, and every validation matters.</p><p>With that said, you know how it works, so now you want to know <em>what can go wrong</em>. Since it is always half the battle to understand how the system is meant to operate, it is also important to know how attackers attempt to compromise the system.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=df804bca5fdb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Women in Tech I Admire]]></title>
            <link>https://medium.com/@nwanoluenkiru/the-women-in-tech-i-admire-ac854dde2fd7?source=rss-c1d72d0046c6------2</link>
            <guid isPermaLink="false">https://medium.com/p/ac854dde2fd7</guid>
            <category><![CDATA[women-in-tech]]></category>
            <dc:creator><![CDATA[Nkiru Nwanolue]]></dc:creator>
            <pubDate>Sat, 27 Aug 2022 13:04:27 GMT</pubDate>
            <atom:updated>2022-08-27T13:04:27.473Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2R02GmdYykVbpZrNFxlZ_Q.jpeg" /></figure><p><strong>The Women in Tech I Admire</strong></p><p>Growing up. I was always told that tech was a “man” thing. Women were supposed to aspire to roles that were more demure. I have always loved tech you see, even when I didn’t understand most of it, as broad as the field was.</p><p>Entering university was a milestone. I had these neighbors who lived opposite and it turned out that they were into tech, tech bros as I liked to call them. We were close as opposite neighbors could be and they would sometimes bring their work with them into our room.</p><p>I was always curious as to what they were working on. That curiosity grew and eventually, I pleaded with them to teach me. Those pleas were always met with a subtle but not so subtle “no”. Eventually, I gave up and turned my attention to other fields.</p><p>It wasn’t until my final year at my university when I stumbled upon tweets by Juliana Rotich, Baddies in Tech, Belinda Parmar etc. that my life was truly changed. My journey into tech was largely due to these intelligent women who paved a way for girls like me, inspired us into venturing into this male-centric led field and finding our voice.</p><p>Cheers to all the women in tech.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ac854dde2fd7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Beginning My Journey Into Tech.]]></title>
            <link>https://medium.com/@nwanoluenkiru/beginning-my-journey-into-tech-db03f3148e72?source=rss-c1d72d0046c6------2</link>
            <guid isPermaLink="false">https://medium.com/p/db03f3148e72</guid>
            <category><![CDATA[html5]]></category>
            <category><![CDATA[css]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Nkiru Nwanolue]]></dc:creator>
            <pubDate>Fri, 26 Aug 2022 14:31:56 GMT</pubDate>
            <atom:updated>2022-08-26T14:31:56.268Z</atom:updated>
            <content:encoded><![CDATA[<p>Academic Staff Union of Universities otherwise known as ASUU is an association every Nigerian Federal University student is familiar with.</p><p>I say familiar because year after year, they go on strike which every student including myself dread because there is no time limit to when their strike would end. It could span months or years.</p><p>In 2022, their strike action began on February 14 after numerous warnings to the Federal government which were all ignored. Once again, my education was put on hold for the foreseeable future. I was in my final year at my university and I was feeling the anxiety and panic that comes from finishing school and going into “life”. So, when this strike was announced, I started looking for things to do in the meantime till ASUU’s issues were resolved.</p><p>I started my journey in tech with the help of my older brother. Before that, I thought tech was something only men could do. Although I had long had an interest in this field for a while. I didn’t know how or where to start from. With the help of different resources my brother sent me from various sites on Youtube to accounts on Twitter that regularly tweeted about tech. I was able to start from somewhere. I decided to start with front-end developing and work my way up from there. Learning HTML, CSS and now learning Javascript has been the many highlights these past few months.</p><p>Most days it isn’t easy though and the situation of the country isn’t helping. From buying data to electricity and battling with imposter syndrome. Most days I find myself wondering if I can actually make it in this world of tech. I remind myself that I’ve come a long way since February 14th and even though I haven’t gotten to the stage where I want to see myself yet. I know it’s a work in progress.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=db03f3148e72" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>