<?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 Harry W. on Medium]]></title>
        <description><![CDATA[Stories by Harry W. on Medium]]></description>
        <link>https://medium.com/@harry101577?source=rss-2f7b2573acc7------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*dmbNkD5D-u45r44go_cf0g.png</url>
            <title>Stories by Harry W. on Medium</title>
            <link>https://medium.com/@harry101577?source=rss-2f7b2573acc7------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 11:33:36 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@harry101577/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[從「你知道什麼」到「你是誰」：一場靜悄悄的信任革命]]></title>
            <link>https://medium.com/@harry101577/%E5%BE%9E-%E4%BD%A0%E7%9F%A5%E9%81%93%E4%BB%80%E9%BA%BC-%E5%88%B0-%E4%BD%A0%E6%98%AF%E8%AA%B0-%E4%B8%80%E5%A0%B4%E9%9D%9C%E6%82%84%E6%82%84%E7%9A%84%E4%BF%A1%E4%BB%BB%E9%9D%A9%E5%91%BD-f9da73b85d80?source=rss-2f7b2573acc7------2</link>
            <guid isPermaLink="false">https://medium.com/p/f9da73b85d80</guid>
            <category><![CDATA[數位身份]]></category>
            <category><![CDATA[資安]]></category>
            <category><![CDATA[科技]]></category>
            <category><![CDATA[密碼]]></category>
            <category><![CDATA[jwt]]></category>
            <dc:creator><![CDATA[Harry W.]]></dc:creator>
            <pubDate>Tue, 09 Jun 2026 15:04:01 GMT</pubDate>
            <atom:updated>2026-06-09T15:04:01.899Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nIVc6eE--WcVDD2Xt10jAw.jpeg" /></figure><h3>一、密碼的荒謬日常</h3><p>我有個朋友，她的密碼管理策略是這樣的：</p><p>所有帳號都用同一組密碼，再加上她認為「沒人猜得到」的數字後綴 — — 那個數字，是她養的貓的生日。</p><p>我沒有笑她。因為我們大多數人，其實都差不多。</p><p>你大概也有這樣的時刻：某個平台要求密碼「至少八個字元、包含大寫、小寫、數字和特殊符號」，你憤怒地打了一個 P@ssword1，然後忘記這個平台存在、六個月後被要求重設密碼、又憤怒地打了一個 P@ssword2。</p><p>這整件事，如果放到現實世界，其實荒謬到令人難以置信。</p><p>想像一下：你走進一家銀行，要求提款。櫃員看著你，問：「請問你的通關密語是什麼？」你說「我家貓咪叫毛毛」，他點點頭，把錢推給你。</p><p>沒有看你的臉，沒有核對身份證，沒有任何生物特徵驗證。只要你說得出那句話，你就是「你」。</p><p>這聽起來非常荒唐 — — 但這正是我們幾十年來在網路上做的事情。</p><p>密碼這個機制，從誕生的第一天起，就帶著一個根本性的缺陷。只是我們太習慣了，習慣到忘記去問：這真的合理嗎？</p><h3>二、密碼的原罪：它保護的不是你，是「知識」</h3><p>要理解密碼為什麼脆弱，得先理解「身份驗證」這件事的本質。</p><p>資訊安全領域有個經典框架，叫做身份驗證三要素：</p><p><strong>你知道什麼</strong>（Something you know）：密碼、PIN 碼、安全問題的答案。 <strong>你擁有什麼</strong>（Something you have）：手機、實體金鑰、信用卡。 <strong>你是誰</strong>（Something you are）：指紋、臉部特徵、聲紋。</p><p>密碼，只屬於第一層。</p><p>問題在於，「知識」是所有秘密裡面最難守住的那一種。一把實體鑰匙被偷了，你感覺得到；指紋被複製了，那需要很高的技術門檻。但知識呢？你說出口，它就不再只屬於你。你打在鍵盤上，它就在網路上旅行。你把它存在某個平台的資料庫裡，那個資料庫某天被駭了，你連知道的機會都沒有。</p><p>更根本的問題是：密碼這個設計，假設了一件事 — — <strong>只有你知道那個答案</strong>。</p><p>但事實上，這個假設從一開始就不成立。密碼可以被猜到。可以被釣魚詐騙騙走。可以從你的舊密碼習慣推算出來。可以從你養的貓的名字加生日組合出來。</p><p>那把你以為只有你持有的鑰匙，其實從來都不是只屬於你的。</p><h3>三、信任的代理問題：我第一次真正理解「信任不是記憶，是授權」</h3><p>我第一次真正撞上這個問題，是在做一個微服務架構的專案。</p><p>當時有兩個獨立的服務需要互相通訊 — — 一個負責訂單，一個負責庫存。問題來了：訂單服務怎麼知道對面那個說話的，真的是庫存服務，而不是某個偽裝者？</p><p>我第一個直覺反應是：給他們一組共享密碼。就像兩個特工接頭，說出暗號就好。</p><p>但我很快意識到這行不通。</p><p>如果密碼洩漏了怎麼辦？誰來管理這個密碼？如果以後有第三個服務、第四個服務加入，我是要有一個巨大的「所有服務密碼表」嗎？這個表本身不就是一個超級危險的單點？</p><p>就在這個當下，我的同事扔給我一句話：「信任不是記憶，是授權。」</p><p>他的意思是：真正的信任，不是「你記得一個只有我們知道的秘密」 — — 而是「有一個我們都信任的第三方，替你背書了你的身份和你的權限」。</p><p>這個概念，在現實世界裡其實無所不在。</p><p>想像你去一家從來沒去過的飯店辦理入住。前台要確認你的身份，你說「我叫陳先生」 — — 但他憑什麼相信你？你需要出示護照。護照不是你自己做的，是政府做的，上面有政府的印章、防偽標記，任何人拿到護照都能驗證它的真實性，不需要打電話給發照的移民署確認。</p><p>護照的關鍵不在於你「記得」什麼。它的關鍵在於：有一個被廣泛信任的機構，替你的身份<strong>背了書</strong>，而且這個背書是可以被任何人驗證的。</p><p>當我理解這件事的那一刻，我突然懂了為什麼密碼這個模型在分散式系統裡根本走不遠 — — 它要求所有人共同「記住」秘密，但沒有任何機制確保這個秘密的流通是安全的。</p><p>我們需要的不是更強的密碼。我們需要的是一種新的信任機制。</p><h3>四、JWT 登場：一封帶著簽名的信</h3><p>這就是 JWT 出現的背景。</p><p>JWT 的全名是 JSON Web Token，但如果你不管那個縮寫，用另一個比喻來理解它，會清晰很多：</p><p><strong>JWT 就是一封公證過的介紹信。</strong></p><p>這封信由三個部分組成。</p><p>第一部分是<strong>信封</strong>：說明這封信用什麼方式加密、如何驗證真偽 — — 就像信封上印著「台北公證處，官方文件」的字樣。</p><p>第二部分是<strong>信的內容</strong>：說明你是誰、你有什麼權限、這封信什麼時候過期 — — 就像介紹信裡寫著「持信人王小明，有權代表本公司洽談合約，效期至 2024 年底」。</p><p>第三部分是<strong>騎縫章</strong>：發信機構的數位簽名，確保這封信沒有被任何人竄改過 — — 任何拿到這封信的人，都能驗證這個印章是真的，而且驗證的過程不需要打電話給發信方。</p><p>這個設計有一個根本性的突破：<strong>驗證不再需要查表</strong>。</p><p>傳統的 Session 機制是這樣運作的：你登入之後，伺服器給你一個「入場票號碼」，並在自己的資料庫裡記錄「票號碼 A 對應的是用戶王小明」。之後你每次請求，伺服器都要去查那個資料庫：「票號 A 是誰來著？哦，王小明，他有什麼權限？」</p><p>這個機制的問題是：伺服器必須一直維護那個「票號對照表」。如果你有一百台伺服器，每一台都需要同步這個表 — — 或者每次查詢都要去同一個地方查，那個地方就成了瓶頸和單點故障。</p><p>JWT 解決了這個問題。它的驗證邏輯是：你拿著那封介紹信來，我不需要去查任何表，我只需要驗證那個騎縫章是不是真的。只要章是真的，我就相信信上寫的一切。</p><p>這個轉變，從「集中查驗」變成了「分散信任」。</p><p>就像護照一樣 — — 海關不需要每次都打電話給你的母國政府確認你是誰。護照本身就是憑據，防偽特徵就是信任機制，任何持有驗證方法的人都可以自主判斷它的真偽。</p><h3>五、更大的故事：「你是誰」這個問題，正在被重新定義</h3><p>但如果我們只把 JWT 看成一個技術工具，那就太小看這場變化了。</p><p>它背後有一個更大的哲學轉移 — — <strong>我們開始從「你知道什麼」走向「你是誰」</strong>。</p><p>密碼的世界裡，你的身份是一組秘密知識。你能說出那個知識，你就是你。這個邏輯，把身份化約成了一組可以被複製、被竊取、被遺忘的字串。</p><p>JWT 的世界裡，你的身份開始有了結構 — — 誰頒發了你的憑證、你有什麼角色、你的權限範圍在哪裡。身份不再只是一個答案，它是一組被授權的事實。</p><p>而這個方向，還在繼續延伸。</p><p>今天，你在網路上的身份可能散落在數十個地方：Google 知道你的搜尋習慣，Apple 知道你的裝置和支付資訊，你的銀行知道你的財務往來，各個政府機關知道你的戶籍資料。</p><p>問題是：你的數位身份，應該由誰來持有？</p><p>有一個正在發展中的概念叫做<strong>自主主權身份</strong>（Self-Sovereign Identity），核心想法是：你的身份憑證應該像實體護照一樣，由你自己持有，而不是儲存在某家公司的伺服器上 — — 你出示給需要的人看，驗證完之後對方不需要永久保存你的資料。</p><p>這個想法現在還在早期，落地很慢，但方向很清晰：<strong>身份的主導權，應該回到個人手上</strong>。</p><p>從密碼到 JWT，只是這條路的第一步。我們從「把秘密交給伺服器保管」，走向「用可驗證的憑證證明自己」。下一步，可能是「你完全掌控自己的數位護照，選擇性地出示，選擇性地揭露」。</p><p>這不只是技術問題。這是一個關於信任、關於主權、關於「在數位世界裡，你到底是誰的用戶還是你自己」的根本問題。</p><h3>六、密碼沒有消失，但它在退場</h3><p>我想用一個小細節作結。</p><p>你上次在新裝置登入 Apple 帳號，是怎麼驗證身份的？大概不只是輸入密碼 — — 還需要你另一台設備彈出一個六位數驗證碼。你上次登入公司系統，除了密碼，還要開一個 Authenticator App。你解鎖手機，用的是臉。</p><p>密碼還在，但它已經不是主角了。它正在成為眾多驗證因子中的一個，而且越來越邊緣化。</p><p>有些服務甚至開始提供「Passkey」 — — 完全不需要密碼，用你的裝置生物識別直接登入。密碼作為主要身份驗證機制的時代，已經在終結了。</p><p>這不是因為密碼是個壞發明。在那個年代，它是個好答案。就像我們不再用蠟燭照明，不是因為蠟燭壞掉了，而是因為我們找到了更好的光。</p><p>但有一個問題，我想留給你帶走：</p><p>當身份驗證越來越依賴你的裝置、你的生物特徵、某個科技公司替你背書的憑證 — — 你對自己的數位身份，還有多少真正的掌控？</p><p>你的密碼，至少還在你腦子裡。</p><p>那個替你的臉、替你的指紋、替你的一切背書的系統，在誰的手裡？</p><p>🌍English version: <a href="https://medium.com/@harry101577/why-your-password-is-slowly-becoming-useless-and-whats-replacing-it-97ed5b5e5ca0">https://medium.com/@harry101577/why-your-password-is-slowly-becoming-useless-and-whats-replacing-it-97ed5b5e5ca0</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f9da73b85d80" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Your Password Is Slowly Becoming Useless — And What’s Replacing It]]></title>
            <link>https://medium.com/@harry101577/why-your-password-is-slowly-becoming-useless-and-whats-replacing-it-97ed5b5e5ca0?source=rss-2f7b2573acc7------2</link>
            <guid isPermaLink="false">https://medium.com/p/97ed5b5e5ca0</guid>
            <category><![CDATA[privacy]]></category>
            <category><![CDATA[jwt]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[digital-identity]]></category>
            <dc:creator><![CDATA[Harry W.]]></dc:creator>
            <pubDate>Sun, 07 Jun 2026 07:54:38 GMT</pubDate>
            <atom:updated>2026-06-07T08:01:31.873Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nIVc6eE--WcVDD2Xt10jAw.jpeg" /></figure><h3>The Absurdity We’ve All Accepted</h3><p>A friend of mine has a password strategy she’s quietly proud of.</p><p>She uses the same password for everything — just with a unique number tacked on the end. A number she’s convinced no one could ever guess. That number? Her cat’s birthday.</p><p>I didn’t laugh. Because honestly, most of us aren’t that different.</p><p>You’ve been there: some platforms demand a password that’s “at least eight characters, with uppercase, lowercase, numbers, and a special symbol.” So you furiously type P@ssword1, forget the platform exists, get locked out six months later, and return to furiously type P@ssword2.</p><p>Now imagine that same logic playing out in the physical world.</p><p>You walk into a bank and ask to withdraw cash. The teller looks at you and says, “What’s your passphrase?” You say, “My cat’s name is Biscuit.” He nods, slides the money across the counter.</p><p>No ID check. No face verification. No biometrics. Just the magic words — and the money is yours.</p><p>That would be insane. And yet this is exactly what we’ve been doing online for decades.</p><p>The password mechanism has carried a fundamental flaw since the day it was born. We’ve just grown so used to it that we forgot to ask: Does this even make sense?</p><h3>The Original Sin: Passwords Protect Knowledge, Not You</h3><p>To understand why passwords are fragile, you first need to understand what authentication is actually trying to do.</p><p>Security experts have a classic framework called the <strong>three factors of authentication</strong>:</p><ul><li><strong>Something you know</strong>: a password, PIN, or the answer to a security question</li><li><strong>Something you have</strong>: your phone, a physical key, a credit card</li><li><strong>Something you are</strong>: your fingerprint, your face, your voice</li></ul><p>Passwords belong entirely to the first category.</p><p>And here’s the problem: knowledge is the hardest kind of secret to keep. If a physical key is stolen, you feel it — it’s gone from your pocket. If your fingerprint is cloned, that takes serious technical sophistication. But knowledge? The moment you say it out loud, it belongs to someone else, too. The moment you type it on a keyboard, it’s traveling through cables and servers. The moment a company stores it in their database, you’re one data breach away from it being someone else’s knowledge — and you might never find out.</p><p>The deeper flaw is the assumption baked into the entire design: <strong>only you know the answer</strong>.</p><p>But that assumption was shaky from the start. Passwords can be guessed. Phished. Inferred from your old habits. Assembled from your pet’s name and birthday. The key you thought only you held was never really yours alone.</p><h3>The Delegation Problem: The Day I Understood “Trust Isn’t Memory — It’s Authorization”</h3><p>The first time this really hit me was during a microservices project at work.</p><p>I had two independent services that needed to communicate — one handling orders, one managing inventory. The problem: how does the orders service know the thing it’s talking to is actually the inventory service, and not an imposter?</p><p>My first instinct was simple: give them a shared password. Like two spies meeting on a park bench — just say the code word.</p><p>But I realized almost immediately that wouldn’t scale.</p><p>What if the password leaked? Who’s responsible for rotating it? If we add a third service, a fourth, a fifth — do I end up maintaining a massive master table of “who knows whose password”? Doesn’t that table itself become the most dangerous single point of failure in the whole system?</p><p>It was right around then that a colleague said something that stuck with me: <strong>“Trust isn’t memory — it’s authorization.”</strong></p><p>What he meant was: real trust doesn’t come from “we both remember the same secret.” It comes from “there’s a third party we both trust, who has vouched for your identity and your permissions.”</p><p>This idea, when you see it, is everywhere in the physical world.</p><p>Imagine you’re checking into a hotel in a city you’ve never visited. The front desk needs to verify who you are. You say your name — but why should they believe you? You pull out your passport. The passport wasn’t made by you; it was issued by a government. It has official seals, security features, and verification mechanisms that anyone can check without calling the passport office. The hotel clerk doesn’t phone the immigration bureau. They just look at the document.</p><p>The key thing about a passport isn’t that you <em>remember</em> something. It’s that <strong>a widely trusted institution has vouched for your identity</strong> — and that vouching can be verified by anyone, anywhere, without going back to the source.</p><p>That’s the moment I understood why passwords don’t work for distributed systems. They require everyone to share and remember a secret, with no reliable mechanism to keep that secret from spreading. You don’t need a stronger password. You need a different model of trust entirely.</p><h3>Enter JWT: A Letter with a Seal</h3><p>This is the problem that JWT was built to solve.</p><p>JWT stands for JSON Web Token — but the acronym doesn’t really tell you anything useful. A better way to understand it is through an analogy:</p><p><strong>A JWT is a notarized letter of introduction.</strong></p><p>The letter has three parts.</p><p>The first is the <strong>envelope</strong>: it describes how the letter was sealed and how you can verify it’s genuine, like an envelope stamped with an official notary seal.</p><p>The second is the <strong>letter itself</strong>: it says who you are, what you’re authorized to do, and when the letter expires — like an introduction that reads, “Bearer Jane Smith is authorized to negotiate contracts on behalf of our company through December 2024.”</p><p>The third is the <strong>notary’s stamp</strong>: a digital signature from whoever issued the letter, guaranteeing that nothing inside has been altered. Anyone who receives this letter can verify the stamp is real — without calling the issuer.</p><p>This design contains one crucial breakthrough: <strong>verification no longer requires a lookup</strong>.</p><p>Here’s how the old session-based approach works: you log in, the server gives you a ticket number, and records in its own database that “Ticket #A belongs to user Jane Smith.” Every time you make a request, the server has to go check that database: “Ticket A — who’s that again? Right, Jane Smith. What are her permissions?”</p><p>The problem: the server has to maintain that ticket table forever. If you run a hundred servers, they all need to stay in sync — or every request has to hit one central database, which becomes a bottleneck and a single point of failure.</p><p>JWT sidesteps this entirely. When you arrive with your notarized letter, I won’t look up anything. I just verified the stamp. If the stamp is valid, I trust everything the letter says.</p><p>The shift: from <strong>centralized verification</strong> to <strong>decentralized trust</strong>.</p><p>Exactly like a passport at a border crossing. The customs officer doesn’t call your home country to confirm your identity. The document itself is the credential. The security features are the trust mechanism. Anyone with the right knowledge can verify it independently.</p><h3>The Bigger Picture: What “Who You Are” Means Is Being Rewritten</h3><p>But if we treat JWT as just a technical tool, we’re missing the larger story.</p><p>There’s a deeper philosophical shift underneath it — <strong>a move from “what you know” to “who you are.”</strong></p><p>In a password-based world, your identity is a piece of secret knowledge. Prove you know it, and you are you. That logic reduces identity to a string of characters that can be copied, stolen, or forgotten.</p><p>In a JWT-based world, identity starts to have structure — who issued your credential, what role you carry, what your permissions actually are. Identity isn’t just an answer anymore. It’s an authorized set of facts about you.</p><p>And that direction keeps extending.</p><p>Right now, your digital identity is scattered across dozens of places. Google knows your search habits. Apple knows your devices and payment history. Your bank knows your financial life. Government databases hold your official records. Each of these institutions knows a different slice of who you are.</p><p>The question that’s starting to matter: <strong>who should actually hold your digital identity?</strong></p><p>There’s a movement — still early, still slow — called <strong>Self-Sovereign Identity (SSI)</strong>. The core idea: your identity credentials should work like a physical passport, held by <em>you</em>, not stored on some company’s server. You present them when needed. Once verified, the other party doesn’t need to keep your data permanently.</p><p>The direction is becoming clear, even if the destination isn’t: <strong>the control of identity should return to the individual.</strong></p><p>Passwords for JWT are just the first step. We’ve moved from “hand your secret to a server and hope for the best” to “carry a verifiable credential and present it on your terms.” The next step may be “you control your own digital passport — choosing what to reveal, to whom, and for how long.”</p><p>This isn’t just a technical question. It’s a question about trust, about sovereignty, about whether, in the digital world, you are someone’s user — or your own person.</p><h3>Passwords Aren’t Dead — They’re Just Retiring</h3><p>Let me end with something small.</p><p>The last time you signed into your Apple account on a new device — how did it verify you? Probably not just a password. Another device lit up with a six-digit code. The last time you logged into a work system, you opened an authenticator app alongside your password. You unlock your phone with your face.</p><p>The password is still there, but it’s no longer the lead actor. It’s becoming one factor among many, increasingly pushed to the margins.</p><p>Some services are going further. Passkeys let you log in using only your device’s biometrics — no password at all. The era of the password as the primary authentication mechanism is already ending.</p><p>And that’s not because the password was a bad invention. At the time, it was the right answer. We don’t use candles anymore — not because candles are broken, but because we found better light.</p><p>But here’s the question I want to leave you with:</p><p>As authentication increasingly relies on your devices, your biometrics, your credentials issued and vouched for by a tech company — how much real control do you have over your own digital identity?</p><p>Your password, at least, lived in your head.</p><p>The system that now vouches for your face, your fingerprint, your everything?</p><p>That one lives somewhere else.</p><p>And it’s worth asking: in whose hands, exactly?</p><p><em>If this resonated, the next thread worth pulling is Self-Sovereign Identity — the attempt to put the digital passport back in your hands. Still rough around the edges, but the direction is right.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=97ed5b5e5ca0" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>