I don’t think this a possible in Win10 without a registry hack. AFAIK, as long as you access a share with any username that is valid on the Windows box, you are all good because by default a share is shared with ‘Everyone’. So if you don’t want to spread your personal password around (it is in plain text in passwords.xml) create a user osmc (say) in Windows with limited privileges and connect as osmc.