Back to Vol 19, Issue 11

PHP Architect · Vol 19, Issue 11 · November 2020

Security Corner: Self-obfuscating Value Objects---A Design Pattern for PII

by Eric Mann

Leveraging commonly used and well-defined design patterns is paramount in ensuring your application is stable and maintainable over time. Extending those design patterns to focus on security-first is an effective way of ensuring your application and its data are reliably secure. One such pattern is a Value Object, which can be customized to automatically and transparently obfuscate the value it contains. We can use such an object to protect PII, availing it still for use within your business logic while preventing accidental leaks or disclosing the sensitive data with which you work.

The full article is in PHP Architect Vol 19, Issue 11. Subscribe to read it and every new issue.

Subscribe
Eric Mann

About the author

Eric Mann

Eric is a seasoned web developer experienced with multiple languages and platforms. He's been working with PHP for more than a decade and focuses his time on helping developers get started and learn new skills with their tech of choice. You can reach out to him directly via Twitter.

Our Partners

Collaborating with industry leaders to bring you the best PHP resources and expertise

Interested in partnering? Get in touch →