https://blog.wpsec.com/security-in-wordpress-plugin-development/
Security in WordPress plugin development