4.9 Encrypt Path
π Overview
The Encrypt Path module allows you to restrict access to specific URL paths by requiring a username and password. It functions like lightweight HTTP authentication and provides edge-level protection β without touching backend code.
π― Purpose
Protect internal pages, admin panels, or test environments
Control access to staging or early-access content
Secure downloadable resources with a password
Prevent unauthorized users from accessing private directories
π οΈ How It Works
You define:
Username β Only users with this username can proceed
Password β Must be provided to gain access
Encrypted Path β The full or partial URL path to protect
Authorization Message (optional) β Custom message shown when access is denied
When someone accesses a protected URL:
A login prompt appears
If the credentials match, the request is allowed
If incorrect, the user sees your custom denial message and access is blocked
βοΈ How to Configure Encryption
Go to Security Rules > Encrypt Path
Click:
π΅
Username
to set or change the login usernameπ
Password
to set or change the login passwordπ’
Set a Message
to define a custom message for failed logins (e.g., "Bu alana eriΕim yetkiniz yok")π§
Specify the page to be encrypted
and enter the full URL you want to protect (e.g.,https://shieldsguard.com/admin
)
Click Encrypt to activate protection
π Example Use Case
Protect
/admin-panel
with username:sg
and a strong passwordShow a denial message like: βYou do not have access to this areaβ
Ensure only internal users with credentials can reach the path
π Why This Matters
Encrypt Path allows secure, no-code restriction of sensitive areas:
Without installing plugins
Without modifying server configs
Without writing auth logic
It's ideal for developers and admins who want to quickly lock down access to certain pages.
β οΈ Best Practices & Notes
Use strong, non-production credentials (base64 encoded, not encrypted)
Always access encrypted paths over HTTPS
Combine with Rate Limiting to stop brute-force attempts
Do not use this for dynamic login pages β leave those to your backend authentication
π― Encrypt Path gives you instant, secure access control β with zero backend integration.
Last updated