How to share a folder without sharing a subfolder

I found another way how to do it