<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Access &#8211; 記下來</title>
	<atom:link href="https://noter.tw/tag/access/feed/" rel="self" type="application/rss+xml" />
	<link>https://noter.tw</link>
	<description>一路上踩到的坑、遇到的問題，一點一滴記下來，希望能幫助到需要的人~</description>
	<lastBuildDate>Sun, 14 Sep 2025 10:20:15 +0000</lastBuildDate>
	<language>zh-TW</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.6.3</generator>

<image>
	<url>https://noter.tw/wp-content/uploads/cropped-old-1130742_1920-1-32x32.jpg</url>
	<title>Access &#8211; 記下來</title>
	<link>https://noter.tw</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>使用 Cloudflare 使用 Zero Trust 原則保護特定網址</title>
		<link>https://noter.tw/12974/cloudflare-zero-trust/</link>
					<comments>https://noter.tw/12974/cloudflare-zero-trust/#respond</comments>
		
		<dc:creator><![CDATA[黃小蛙]]></dc:creator>
		<pubDate>Sun, 14 Sep 2025 08:48:04 +0000</pubDate>
				<category><![CDATA[技巧分享]]></category>
		<category><![CDATA[免費資源]]></category>
		<category><![CDATA[軟體、工具]]></category>
		<category><![CDATA[登入]]></category>
		<category><![CDATA[頁面控管]]></category>
		<category><![CDATA[權限控管]]></category>
		<category><![CDATA[cloudflare]]></category>
		<category><![CDATA[保護網址]]></category>
		<category><![CDATA[應用程式]]></category>
		<category><![CDATA[URL protection]]></category>
		<category><![CDATA[Zero Trust]]></category>
		<category><![CDATA[原則]]></category>
		<category><![CDATA[Access]]></category>
		<guid isPermaLink="false">https://noter.tw/?p=12974</guid>

					<description><![CDATA[<p>Cloudflare Zero Trust 裡面有很多功能，今天小蛙要介紹一項經過簡單設定就可以有一道基本防護的功能，有時候在 VPS 上架設了工具，但是有些工具沒有權限控管，所有人都能連進來使用，透&#46;&#46;&#46;</p>
<p>這篇文章 <a rel="nofollow" href="https://noter.tw/12974/cloudflare-zero-trust/" data-wpel-link="internal">使用 Cloudflare 使用 Zero Trust 原則保護特定網址</a> 最早出現於 <a rel="nofollow" href="https://noter.tw" data-wpel-link="internal">記下來</a>。</p>
]]></description>
										<content:encoded><![CDATA[
<p><a href="https://www.cloudflare.com/zh-tw/learning/security/glossary/what-is-zero-trust/" target="_blank" rel="noreferrer noopener nofollow external" data-wpel-link="external" class="wpel-icon-right">Cloudflare Zero Trust<span class="wpel-icon wpel-image wpel-icon-6"></span></a> 裡面有很多功能，今天小蛙要介紹一項經過簡單設定就可以有一道基本防護的功能，有時候在 VPS 上架設了工具，但是有些工具沒有權限控管，所有人都能連進來使用，透過今天要介紹的 Cloudflare Zero Trust 就可以設定有哪些 email 通過驗證後才可以使用，真的很方便！</p>



<span id="more-12974"></span>



<h2 class="wp-block-heading para">「原則」：設定可登入的 email</h2>



<p>首先你的 DNS 必須交給 <a href="https://noter.tw/195/%e4%bd%bf%e7%94%a8-cloudflare-%e4%bb%a3%e7%ae%a1%e4%bd%a0%e7%9a%84%e5%9f%9f%e5%90%8d/" target="_blank" rel="noreferrer noopener" data-wpel-link="internal">Cloudflare 託管</a> 才可以使用接下來的功能，成功登入 Cloudflare 後，左側選單找到 <strong>Zero Trust</strong>，接著進入 Access -&gt; 原則，我們先到這邊建立有哪些 email 可以登入的規則。</p>



<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-1 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow"><div class="wp-block-image">
<figure class="aligncenter size-large"><img decoding="async" src="https://lh3.googleusercontent.com/pw/AP1GczO6hnRq3lz7PivoDSA2-Bobbcm6MUEM5CLL7ikeOvj222I3xpUzQuHf7I32TPp5gnqzoKknIANUcbKN38x5Z1C8eiL-cG39SzVMFO2RpvwV_wW0OBMAe_ja9Iy2M2zkpzvw8FzvJz6sFuY_RatRbcgm=w261-h353-rw" alt="使用 Cloudflare 使用 Zero Trust 原則保護特定網址 1" title="使用 Cloudflare 使用 Zero Trust 原則保護特定網址"></figure></div></div>



<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow"><div class="wp-block-image">
<figure class="aligncenter size-large"><img decoding="async" src="https://lh3.googleusercontent.com/pw/AP1GczP3pL8TQbLBI4APQOUPw1zg9r9a4Mo3jP1N8QG5uOvLrOhSXgn0HCvnGeIfcWXywMTJLXIX2Ugl1yLStDjZAJK7MDGoYRO9gaCILtY23CuSRNhat3UfA_UNY1z8wtpTbYhskFrXPSmDDFnce2iCnV9R=w264-h378-rw" alt="使用 Cloudflare 使用 Zero Trust 原則保護特定網址 2" title="使用 Cloudflare 使用 Zero Trust 原則保護特定網址"></figure></div></div>
</div>



<p>點擊「新增原則」開始設定</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img decoding="async" src="https://lh3.googleusercontent.com/pw/AP1GczOFsMZLPWq7KfC46D4erKzZxfxloxb3fKzP15XqYm6do13m1gsaHkAQPtPN5o7YlcEAvwzci5VjfnOmbmSjJe0GuHzrO21yVAlxZnCtwX4ksEVMk9pwfagbPxfJGauDxBpiBde5VcdFezXijNSwu2Bn=w1025-h475-rw" alt="使用 Cloudflare 使用 Zero Trust 原則保護特定網址 3 - 原則" title="使用 Cloudflare 使用 Zero Trust 原則保護特定網址"></figure></div>


<p>原則名稱填入自己可以辨認的文字即可；動作包含 Allow, Block, Bypass, Service Auth，這邊我們的目的是設定「允許哪些email」，因此選擇 Allow；工作階段持續時間因為在設定「應用程式」會做管控，這邊就選擇「與應用程式工作階段逾時相同」。</p>



<p>下方新增規則部分，選取器選擇「Emails」；值的部分可填入所有允許進入的 Emails，若有其他規則可依需求點擊下方新增。</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img decoding="async" src="https://lh3.googleusercontent.com/pw/AP1GczPcb0mcWAJejX2r9rc4NqV-jBuV3TWRG1F9YIBdOyqcrMMmsTJ6wX9vxfc7ZUhto0WglZF9SJ4bYIsUke38vs3R2rPD0jE8vzJRnPSuL5YSglxQXieikL2ePgm75Svo4kPf2-Q2ZOvaUR08EGibcIc3=w1025-h768-rw" alt="使用 Cloudflare 使用 Zero Trust 原則保護特定網址 4 - 新增原則" title="使用 Cloudflare 使用 Zero Trust 原則保護特定網址"></figure></div>


<h2 class="wp-block-heading para">加入應用程式</h2>



<p>完成原則設定後，點擊左側選單的「應用程式」，接著點擊「加入應用程式」</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img decoding="async" src="https://lh3.googleusercontent.com/pw/AP1GczMhVxeUWQVxE3p-DXrNcmjGituby5jBrAIaYnkjMZ4l0H2KHcQsiowrY7Dv7j877bf14wIVgKdr-mrKC_-vVJuh4gM0EyplDFoLatmgliyzsHWS4uf3vnb_RgiVpR8QOe1VPPOVR7El2U8wIL4dPX-u=w1217-h906-rw" alt="使用 Cloudflare 使用 Zero Trust 原則保護特定網址 5 - 加入應用程式" title="使用 Cloudflare 使用 Zero Trust 原則保護特定網址"></figure></div>


<p>選擇「自我裝載」</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img decoding="async" src="https://lh3.googleusercontent.com/pw/AP1GczPyOH0QD2bXYhlYC7nJoHhmkraheZkXErHgjoCkKtMWM9Ir56bZOMp_WwxsJCh2vZg4LRfEOTPQgl3YiLTHBLrQper6-4YXJyCsbAXX2ErUvmWl-GaxElNFtqPB7bRvBA6kFwKsRJXt7DmDbgGY1Ahg=w936-h714-rw" alt="使用 Cloudflare 使用 Zero Trust 原則保護特定網址 6 - 加入應用程式" title="使用 Cloudflare 使用 Zero Trust 原則保護特定網址"></figure></div>


<p>填入應用程式名稱、工作階段持續時間後，點擊「新增公用主機名稱」，根據實際狀況填入下圖 4, 5, 6 處。</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img decoding="async" src="https://lh3.googleusercontent.com/pw/AP1GczOukYADFRZwF1R3Ox3KwkoJvpzihtQ0jFGyCH4IrMCguLdpDFw8sBWa76ZaVO-EaWLh0O-sMytYNRaZt44lnx-U6eei-_itnGxi6_49FVYVguiAsqWN-8XMmJzDNs01duP0KK-C6FkNxwVk92eok8TM=w1209-h580-rw" alt="使用 Cloudflare 使用 Zero Trust 原則保護特定網址 7 - 加入應用程式" title="使用 Cloudflare 使用 Zero Trust 原則保護特定網址"></figure></div>


<p>選擇要允許使用的原則，這邊可以看到我們剛剛在第一步中加入的 pdf_tools_email 原則</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img decoding="async" src="https://lh3.googleusercontent.com/pw/AP1GczObLSXJ4RFE-M-vsrbXWgKRCfuFTTzkp748HJNRN_J009RvsAkniyrUWaGsZvRHMvFbnKBkNHVmIgnrjGXQF-SaQ8-kq0LZJM_AcWQ2nD7q0lPSaoSp_tnDEvAdYNB8s5ZaNEyPhXawfZE11zxVE896=w900-h255-rw" alt="使用 Cloudflare 使用 Zero Trust 原則保護特定網址 8 - 加入應用程式" title="使用 Cloudflare 使用 Zero Trust 原則保護特定網址"></figure></div>

<div class="wp-block-image">
<figure class="aligncenter size-large"><img decoding="async" src="https://lh3.googleusercontent.com/pw/AP1GczN3FjXAlv0InxHbANdbH0Bwpd8XbpcPNTtK5Pzvk9V1PLlJDwowJ92YohDYFWWdZ5mxHSXwTZGx1UJ6LuiuOwKPgsCBRWt6239pyuDiv4ukjickXMrXPRCfA5z-jk-7BvjC4SwkS9iyPT09j6nmCEFe=w393-h316-rw" alt="使用 Cloudflare 使用 Zero Trust 原則保護特定網址 9 - 加入應用程式" title="使用 Cloudflare 使用 Zero Trust 原則保護特定網址"></figure></div>


<p>後面幾個步驟全部保留預設值直接下一步即可，到最後一步點擊儲存即設定完成</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img decoding="async" src="https://lh3.googleusercontent.com/pw/AP1GczMd-fLaFYzXPQZAnGA7p0PpmIXHgK25-jnuQk3f1m28wX-8ehN8IAWe2C8BxN_QEJ0RAgi9z7Zo5NEgPvfbZaJetqwa9GvfQ2NNKORAyH-M3qb696HPFdZMFBgBQzvO_yrWMFSPlbtfXb4qJCXgfDQX=w942-h621-rw" alt="使用 Cloudflare 使用 Zero Trust 原則保護特定網址 10 - 加入應用程式" title="使用 Cloudflare 使用 Zero Trust 原則保護特定網址"></figure></div>


<h2 class="wp-block-heading para">測試 Cloudflare Zero Trust</h2>



<p>以上都設定完成後，我們連到剛剛設定保護的網址，瀏覽器會先轉向到 Cloudflare Zero Trust 驗證頁面，填入剛剛在「原則」設定 Allow 登入的 Email</p>


<div class="wp-block-image">
<figure class="aligncenter size-large is-resized"><img decoding="async" src="https://lh3.googleusercontent.com/pw/AP1GczMdr5tktoYIPPtpJp3IMksNGq1CBmCcPW61oCPKHsMS_O4BcT7M0tjb5ljic-wjTBdjOLDFR7TlmRTyx3omHjWx4FUVgovm8tr5YkRSui6bZoRA7E8XHo8RjRdIWbfYeUHD7fus8m_ZPNPNYOv7g0d8=w790-h590-rw" alt="使用 Cloudflare 使用 Zero Trust 原則保護特定網址 11 - 測試登入" style="width:790px;height:auto" title="使用 Cloudflare 使用 Zero Trust 原則保護特定網址"></figure></div>

<div class="wp-block-image">
<figure class="aligncenter size-large"><img decoding="async" src="https://lh3.googleusercontent.com/pw/AP1GczMnnRky3TdHZ3jn0ydhZruwBmscZX6i9myC4TxZN9Cndth0G9ry7GUnskktNIVL30dcvybV1uyI2YhXwrTmRR9Mcf1d1tV2Fbbm4A069EfBiqnr9T9FRqNW5J2KjQDzi8ZSZT2LngNNEgsB4LNCyqxV=w650-h646-rw" alt="使用 Cloudflare 使用 Zero Trust 原則保護特定網址 12 - 測試登入" title="使用 Cloudflare 使用 Zero Trust 原則保護特定網址"></figure></div>


<p>到上述 Email 中收取驗證碼，複製驗證碼後回到上述頁面填入，蛙姊測試時說如果點 Email 中的連結有可能會驗證失敗，小蛙都是複製驗證碼貼回原本的驗證畫面</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img decoding="async" src="https://lh3.googleusercontent.com/pw/AP1GczPPW0PWGMvEA3ICWYK-btZbgcV6LvRoD419SUel0JIBInlbXuM-xtbnmmxarQjqF1q5-9pHYelQC-O2mcqPRW0kuCmfAfKE6U4Xl-mSdS9Dvof0xwPVTE_vKBq4xBArP1v5FU_yK21iBywEokpFhWA5=w663-h396-rw" alt="使用 Cloudflare 使用 Zero Trust 原則保護特定網址 13 - 驗證碼" title="使用 Cloudflare 使用 Zero Trust 原則保護特定網址"></figure></div>


<p>驗證完成，頁面成功導向到小蛙架設的服務上 (<a href="https://noter.tw/12976/stirling-pdf-comprehensive-pdf-tool/" target="_blank" rel="noreferrer noopener" data-wpel-link="internal">Stirling PDF: 自行架設全方位免費 PDF 線上工具</a>)</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img decoding="async" src="https://lh3.googleusercontent.com/pw/AP1GczOUEJBqlhNi9BTtExhiF7gtrAt76N07RC0DA2J6PH_Uhad8gP_wZQHANNovV2U-H-vvNh51BBHsfRCIl3bYOJ4rLQ-6d2Jsq-RwjLv9OXBPdUPJ42WvuikCopAJSX0LXiY2tH4hWy75Z8kROI1CeJBh=w1265-h940-rw" alt="使用 Cloudflare 使用 Zero Trust 原則保護特定網址 14 - 登入成功" title="使用 Cloudflare 使用 Zero Trust 原則保護特定網址"></figure></div>


<p>如果原本就有在使用 Cloudflare，加上架設了無法加入權限驗證、或懶得去動到伺服器設定的話，透過上述方法就能很快透過 Cloudflare Zero Trust 來達到登入驗證的功能，真的很方便喔~！</p>
<p>這篇文章 <a rel="nofollow" href="https://noter.tw/12974/cloudflare-zero-trust/" data-wpel-link="internal">使用 Cloudflare 使用 Zero Trust 原則保護特定網址</a> 最早出現於 <a rel="nofollow" href="https://noter.tw" data-wpel-link="internal">記下來</a>。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://noter.tw/12974/cloudflare-zero-trust/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
