October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run ScanOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk4 min

Feature Flags Are Not Authorization: Keep Access Checks on the Server

A feature flag can hide or roll out a feature, but only a trusted authorization check can decide whether a user may perform its protected operation.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

A feature flag can control whether a feature is shown or rolled out; it cannot prove that a user is allowed to use it. Enforce authorization at a trusted layer for every protected operation, even when the interface hides the feature or a rollout flag is off.

What feature flags control—and what authorization decides

A feature flag is a configuration mechanism for controlling feature exposure, rollout, or code paths. It can help release functionality gradually or turn a feature on and off. Authorization is a separate security decision: may this particular subject perform this operation on this resource?

As an Amazon Associate I earn from qualifying purchases.

That distinction matters because a flag can affect what a user sees without protecting the underlying operation. Hiding a button, menu item, or page is presentation control. A user may still call an API directly, alter client-side state, or reach the same operation through another route. The operation must independently check permission.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

OWASP’s feature-flag security testing guidance treats bypassing a flag as a security test concern. OWASP ASVS 5.0, control 8.3.1, states: “Verify that the application enforces authorization rules at a trusted service layer and doesn’t rely on controls that an untrusted consumer could manipulate, such as client-side JavaScript.” OWASP ASVS 5.0: V8 Authorization

#1 Best Overall
SecuX PUFido USB-C Security Key with PUF Technology, FIDO2/U2F Certified, Hardware-Rooted Unclonable Security for Passwordless Login and 2FA Authentication
  • A FIDO security key with PUF technology provides a unique, hardware-rooted trust anchor that resists tampering and cyber attacks, offering stronger security than conventional designs.
  • FIDO2 Certified Protection – Enjoy phishing-resistant security with FIDO2 certification, ensuring top-tier account safety across Windows, macOS, Linux, iOS iOS, Android and more.
  • Easy to use & Portable – Designed with a compact USB-C interface, Clife key fits easily on your keychain for secure access anywhere. Simply plug in and authenticate with ease.
  • Universal Compatibility – Works seamlessly with hundreds of FIDO2/U2F compliant services, including popular cloud, email, and social platforms.
  • Backup recommended – To ensure continuous access, register a backup Clife security key as a spare in case your primary key is lost.

Where the authorization check belongs

Put the decision at a trusted enforcement point that the requester cannot bypass or change—typically server-side application or service logic. Apply it when the protected operation is requested, not only when the interface is rendered or a flag is evaluated.

Authorization rules should reflect the function and data being protected, the subject’s permissions, and relevant resource attributes. Depending on the system, policy decisions may also consider the requested operation, subject attributes, relationships, or environmental context. NIST describes these inputs in SP 800-205, Attribute Considerations for Access Control Systems, published June 18, 2019.

Rank #2
6 Pcs Cabinet Key Replacement for EK333 333 1108-1-1 1108-U35, Compatible with APC and Hoffman Network Enclosures, Metal Keys for Server Rack Doors
  • [SEAMLESS REPLACEMENT] This key replacement part fits OEM numbers like EK333 and 1108 U35 perfectly, ensuring an effortless integration with your current locks.
  • [MULTIPLE APPLICATIONS] for use in Lock Cylinder and EMK systems, these keys are perfect for enhancing the security of network cabinets.
  • [ MATERIALS] Made from strong, erosion-resistant metal that ensures longevity and consistent to your cabinets without fail.
  • [ AND PLAY INSTALLATION] Designed for straightforward installation without any modifications needed, ensuring a hassle-free experience.
  • [VALUE PACK OF SIX KEYS] Comes with 6 keys in each set, providing you plenty of extras for different uses or sharing among colleagues, keeping you well-equipped at all times.

Authentication and authorization are related but distinct: establishing who a user is does not establish what that user may do. OWASP’s C1: Implement Access Control emphasizes applying aligned access control across the paths that can reach an operation. The OWASP Developer Guide access-control checklist recommends checking every request unless it is public.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

How to test a flag-gated feature

  1. Inventory security-relevant flags and configuration. Include settings that affect authentication, MFA, authorization, fraud controls, rate limiting, account recovery, administrative functions, or security monitoring. Finding a flag is an inventory step, not proof that it enforces access control.
  2. Locate the operation behind each flag. Identify the API endpoint, service call, message handler, or other execution path that performs the protected action.
  3. Attempt the operation as an unauthorized identity. Test the underlying endpoint or path directly, including when the feature is hidden or its rollout flag is disabled. The expected result is continued denial; OWASP gives HTTP 401 or 403 as example denials.
  4. Manipulate client-visible state. Change a client-side flag or otherwise expose the interface, then repeat the operation. A visible control must not grant access; the trusted authorization check should still deny a subject without permission.
  5. Compare rollout states and access paths. Test flag-on and flag-off behavior, and check relevant routes, services, instances, and layers. Where possible, combine black-box testing of responses with gray-box inspection of flag evaluation and configuration visibility.
  6. Test transitions and outages. Check whether services agree on flag state, whether rollback leaves code and security configuration compatible, and what happens if the flag service is unavailable. Define fail-safe behavior rather than relying on an undocumented default.

Failure modes to design against

  • Client-side bypass: A user changes browser state or calls the endpoint directly, bypassing a hidden control.
  • Inconsistent state: Different services or instances evaluate a flag differently, creating an unintended path to the operation.
  • Rollback mismatch: A code rollback restores behavior that expects security configuration no longer present, or the reverse.
  • Exposed targeting configuration: Client-visible configuration reveals more targeting information than the current user or context needs.
  • Stale gated code: A temporary flag and its conditional paths remain after rollout, preserving confusing or weakly tested behavior.
  • Unclear outage defaults: If the flag service fails, an implicit default may expose a feature or disrupt an authorization flow. Document the intended fail-safe behavior.

Keep feature configuration coordinated with application releases, limit client exposure to configuration needed for the current user and context, and remove stale flags and gated paths once they are no longer needed. These practices reduce rollout risk, but they do not replace authorization checks.

Rank #3
Distribution Box Door Lock with Keys, Zinc Alloy Cabinet Handle Lock, L Type Locking Door Handle, for Filing Cabinets Trailer Doors Safety (Chrome with Keys)
  • 【Strong Material】The L handle door lock is made of high quality zinc alloy with strong structure, not only has high strength that not easy to break, but also wear-resistant and corrosion-resistant, not easy to rust. So this L handle door lock stands up to long time use and storage
  • 【Wide Application】This cabinet door handle lock has wide applicability and suitable for a wide range of equipment or cabinets that require locking. Such as electrical cabinets, filing cabinets, enclosures, network and server cabinets, sliding doors, trailer doors, switchgear, control cabinets, network cabinets, AE boxes, GGD cabinets, and other industrial cabinets
  • 【Safe and Reliable】This L handle door lock is designed to be installed on some electrical equipment cabinets to prevent strangers from unauthorised unlocking, to ensure the safety and proper functioning of the equipment. It can also be installed in cabinets containing dangerous knives or tools, to prevent accidents from children playing
  • 【Easy To Use】The T handle door lock is easy to install and use, no need for complicated tricks and tools. The door lock has a reliable locking structure, which can provide better anti-theft function, effectively prevent others from intruding and provide security for your equipment
  • 【Product Information】We have four models of locking latch to choose from, in chrome and black, with and without keys. The unique metal texture with a smooth surface makes the latch simple and stylish, which can be compatible with a wide range of equipment cabinet door styles. Please confirm the model when purchasing
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

A practical design test

For each protected action, ask two separate questions:

  • Exposure: Should this feature be presented or enabled for this rollout, audience, or environment?
  • Permission: Is this subject allowed to perform this operation on this resource right now?

A flag may answer the first question. A trusted authorization policy must answer the second on every relevant access path. Evaluate the implementation by where that decision is enforced, whether all paths reach it, how it responds to client manipulation, and how it behaves during rollout, rollback, and service outages.

Best Value
Rank #4
1Pair (2 Keys) for 2532000 Enclosure Key
  • MPN: 3524,2532000
  • For SZ Series

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
PC Slower Than It Used to Be?Free scan - under a minute
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.