Protecting against common vulnerabilities

Protecting against common vulnerabilities