Daily iOS
Security

Log and SDK leaks

Going through crash reports you find user emails and tokens printed straight into log messages. How would you design against personal data leaking through logging, crash, and analytics SDKs?

How would an interviewer hear this answer? You'll see whether they'd move on, dig in, or say no, and which sentences would trip you up. Your score doesn't change.
See the short answer

Mask by default with OSLog's privacy options, and put a PII filter on the network logger, the crash keys, and analytics events while keeping a list of what data goes where.

Share a question