CS Fundamentals Trainer · JavaScript · Security

Which values are acceptable to ship in a front-end JavaScript bundle?

  1. A public analytics measurement ID
  2. A Stripe publishable key (`pk_live_...`)
  3. The database password used by the API
  4. A Stripe secret key (`sk_live_...`)
  5. The client secret of a confidential OAuth client

Difficulty: easy

Answer this question

Related questions