Added some basic security measures.