How can I disable/forbid certain users from creating teams and add files?

There are currently some limitations on the sharing model which works based on being in a team or not.

See also: anybody that has the link can only view but not edit!?, Share design/file with others who are not on your team and View only role