Daily iOS
Security

Hardcoded secrets

Which statement about the security problem in this code from an iOS app's source is most accurate?

enum API {
    static let key = "sk_live_9f8a7b6c5d4e"
    static let base = URL(string: "https://api.example.com")!
}

Pick one

Submit