Removed insecure and allowed certain writes to posts