How to prevent Mac to create 'temporary items' and 'network share folder' in read-only shares?

Are there any other solution beside this blueharvest app?

The app costs a lot only for hiding/removing these two re-appearing folders