Saltar al contenido ForoHackers

Identity and access: start here

Identidad y acceso
#3275 · · Citar · Denunciar

Identity and access management answers two questions for every request: who is this, and what may they do? Passwords, tokens, single sign-on and permissions all serve those answers. It matters because stolen or over-broad credentials are behind a large share of real breaches.

Key concepts

  • Authentication: proving who you are, with something you know, have or are; more than one factor is stronger.
  • Authorisation: deciding what an authenticated identity may do, by roles, attributes or explicit rules.
  • Federation and single sign-on: one identity provider vouches for you to many services, using standards such as OAuth 2.0, OpenID Connect and SAML.
  • Credential lifecycle: issuing, rotating, revoking and auditing accounts, keys and tokens, including those of machines.
  • Least privilege: grant the minimum and expire it; review who has access to what.

Vocabulary

  • MFA: multi-factor authentication.
  • Token: a signed or opaque credential presented instead of a password.
  • RBAC and ABAC: access control by role, or by attributes of user, resource and context.
  • Passkey: a public-key credential bound to a device and a site, resistant to phishing.

What to study, in order

  1. How password storage works: salted, slow hashes, and why plain or fast hashes fail.
  2. Add login with hashed passwords and a second factor to a small app of your own.
  3. The OAuth 2.0 and OpenID Connect flows, traced in a local setup with an open-source identity provider.
  4. Token details: expiry, audience, signature checks and revocation, and the mistakes in each.
  5. Design a role model for a small team, with a review process for removing access.

Related tags

#cryptography #appsec #web-security #cloud-security #privacy

No has iniciado sesión, así que esto se publica como anónimo: no se guarda con ello ninguna cuenta, nombre ni dirección, y no puede llevar enlaces ni imágenes. Inicia sesión o únete para publicar con tu nombre. Los registros de nuestro servidor web guardan la dirección y la hora de cada petición hasta 14 días; para que la tuya no quede en ellos, usa Tor. Para escribir al equipo de forma confidencial, usa el buzón. Firmar como fuente habitual (una clave guardada solo en este navegador)

Enviar tarda unos segundos aquí: tu navegador resuelve antes una prueba de trabajo contra el spam.

Responder