Esta página aún no está disponible en Español, así que estás leyendo la versión en inglés.

Punchout security best practices

Punchout logs people in and takes orders. Secure it accordingly.

Seguridad, pruebas y soporte Avanzado 1 min de lectura Revisada el 27 nov 2026

Transport

  • HTTPS only, with modern TLS. Reject plain HTTP setup and order requests.
  • Some buyers require IP allow-lists or client certificates; support them per customer.

Authentication

  • Check the shared secret (cXML) or credentials (OCI) on every request; one secret per customer and environment.
  • Store secrets encrypted; never log them; rotate them.
  • See credentials and shared secret.

Parse XML safely

  • Disable external entities and DTD fetching in your XML parser (prevents XXE attacks); validate against a local DTD copy.
  • Limit document size and parsing time.

Sessions

  • Generate unguessable session tokens for the StartPage URL; make them single use and short-lived.
  • Bind the BuyerCookie and BrowserFormPost URL to the server-side session; never accept a different return URL from the browser.
  • Cookies: Secure, HttpOnly and, because punchout often runs in a frame or pop-up, the right SameSite setting (typically None; Secure).
  • Frames: allow framing only by known procurement domains (Content-Security-Policy: frame-ancestors).

Data

  • Punchout users see only their organisation's catalog, prices and orders.
  • Treat extrinsic personal data carefully and keep logs short-lived.

Monitoring

Alert on bursts of authentication failures, unusual cart totals and orders that do not match any cart.