Skip to content

In-depth lesson · Access control

Typical fixes

Every point the Access control reports back under this heading, best-backed first, each with the reports it is seen in.

Back to the lesson 51 to 100 of 396
  1. Force a password change at install or first login and remove default and test accounts from production.

    Seen in 2 reports
  2. Put an authorisation filter in front of admin and job dashboards instead of relying on obscurity.

    Seen in 2 reports
  3. Call an explicit authorisation check in every mutation and restrict fields by role.

    Seen in 2 reports
  4. Store identity and authentication state per request or stream, and include it in connection matching.

    Seen in 2 reports
  5. Validate or whitelist external call targets and restrict which functions forwarding hooks may call.

    Seen in 2 reports
  6. Enforce authentication and authorisation on the server for both viewing and submitting protected forms.

    Seen in 2 reports
  7. Confirm the tracker belongs to the authenticated account before deleting it.

    Seen in 2 reports
  8. Ignore client-supplied role fields at registration and assign roles server-side.

    Seen in 2 reports
  9. Enable row-level security policies on every table exposed through the public API key.

    Seen in 2 reports
  10. Apply the same access-control rules to QA environments as production and avoid pulling live production data.

    Seen in 2 reports
  11. Assign restrictive permissions to folders created by the installer.

    Seen in 2 reports
  12. Check the live frame and confirm the last committed navigation is not an error document before granting content-script identity.

    Seen in 2 reports
  13. Do not return the session key before the password proof, and compare RPC context handles to the requesting connection.

    Seen in 2 reports
  14. Validate symbolic links before performing privileged operations on folders.

    Seen in 2 reports
  15. Fix the authentication logic error in the directory service reachable over LDAP.

    Seen in 2 reports
  16. Remove the registry value that enables NTLM authentication over the loopback adapter.

    Seen in 1 report
  17. Re-check the user's current project membership and role before showing alert-related TODOs.

    Seen in 1 report
  18. Invalidate existing session records when an account is disabled.

    Seen in 1 report
  19. Trim leading whitespace before extracting the protocol from a URL.

    Seen in 1 report
  20. Normalise and decode the request path before setting the headers passed to the external auth service.

    Seen in 1 report
  21. Restrict or timelock controller replacement and cap what the migration and utilise paths can move.

    Seen in 1 report
  22. Put an upper bound on the cooldown period so it cannot overflow or lock funds.

    Seen in 1 report
  23. Clear single-token approvals on every key transfer, not only when the key manager changes.

    Seen in 1 report
  24. Add an access-control modifier to the initialise function.

    Seen in 1 report
  25. Verify that the permit signer matches the message sender before running multicall actions.

    Seen in 1 report
  26. Verify that the caller is authorised to act for the reference account before pulling deposits from it.

    Seen in 1 report
  27. Correct the branch conditions in the redundant withdrawal function so it cannot transfer the whole token balance.

    Seen in 1 report
  28. Require additional authorisation before a trusted account can remove other trusted accounts.

    Seen in 1 report
  29. Add an access-control check to the launch event factory function.

    Seen in 1 report
  30. Enforce the collateral ratio check in the privileged withdrawal function.

    Seen in 1 report
  31. Restrict the resume function so liquidity providers cannot unlock the pool during the paying-out period.

    Seen in 1 report
  32. Guard the factory address setter and migrate existing vault and asset data when it changes.

    Seen in 1 report
  33. Provide an alternative path for users to trigger withdrawals if key holders lose access.

    Seen in 1 report
  34. Prevent the owner from minting without staking before ownership is transferred.

    Seen in 1 report
  35. Require authentication and authorisation on the backend calendar events endpoint and tie the CSRF token to a logged-in session.

    Seen in 1 report
  36. Require authentication and authorisation on the delete endpoint and avoid predictable sequential identifiers.

    Seen in 1 report
  37. Require an administrator account in addition to a valid security token.

    Seen in 1 report
  38. Make the package access check inherit the repository restriction setting.

    Seen in 1 report
  39. Enforce project authorisation on the Composer package archive endpoint.

    Seen in 1 report
  40. Enforce protected tag rules in the pull mirroring path as well as the push path.

    Seen in 1 report
  41. Enforce the stricter trace permission when debug logging is enabled.

    Seen in 1 report
  42. Check the CI job token against the wiki's visibility setting.

    Seen in 1 report
  43. Look up personal access tokens by their secret value rather than by numeric ID and user ID.

    Seen in 1 report
  44. Compare branch names with an exact match against the allowed list.

    Seen in 1 report
  45. Update imported project membership records when a group member's role is downgraded.

    Seen in 1 report
  46. Require the acting user to own a scheduled pipeline before allowing edits.

    Seen in 1 report
  47. Check whether files referenced by shortcuts have been deleted or restricted before including them in a folder download.

    Seen in 1 report
  48. Enforce bank verification status server-side instead of trusting a client-supplied parameter.

    Seen in 1 report
  49. Add authorisation checks to the user photo module part before serving attached files.

    Seen in 1 report