A Microsoft file hosting and synchronization service.
Dear Carolina Jud,
Greetings! Thank you for posting in Microsoft Community.
I went through your post carefully. As far as I know, I'm sorry and I'm afraid there is no built-in feature in OneDrive to require a password for an entire shared OneDrive folder and apply to all files and sub-folders. Very sorry for the inconvenience caused.
Personally, I could understand your concern and I completely agree with you, this is indeed a good addition to the current features of OneDrive. Thank you for bringing thing to our attention.
I sincerely recommend you vote for this similar idea in OneDrive Feedback Community: I want to require a password for an entire shared folder in OneDrive · Community (microsoft.com)
Our Product Team is in-charge of the site and they are constantly checking the comments and feedback from our customers. Many features have been developed and improved based on users' comment.
Thank you for your cooperation and understanding!
Hope you stay safe and healthy.
Sincerely,
Tina | Microsoft Community Moderator