When sharing with people you don't want to be able to edit the tree, untick the box in the 'Share' menu saying: 'Allow X to edit family'. Once you give them permission you cannot retract it.
It is usually a good idea to back up your tree regularly just in case.
Hope this helps!