Revert "Fixed some security issues."

This reverts commit 258cade4dfa2ebb66cee077f87402050a0678c8b.