Added very basic security to only allow select statements