We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
mikexavier
4 years agoNew member | Level 2
Password protected folders when using the embedder
I have set up an app on dropbox and added some folders. Using the anchor tag method described here it displays the contents of the root folder correctly. However, it doesn't seem to respect the sh...
- 4 years ago
Oh I see, thanks for clarifying. That's expected then. Technically, a password applies to a shared link, not a folder itself. And, supplying a shared link to the parent folder enables access to anything in that folder. Any shared links that may or may not exist for the items underneath, and the settings for those other shared links, that don't come in to play.
I don't think there's a good way to set this up the way you want exactly unfortunately, other than rearranging your folders and using multiple Embedders.
Greg-DB
4 years agoDropbox Staff
Are you signed in to the account that owns that shared link? If so it won't prompt for the password.
- mikexavier4 years agoNew member | Level 2
I tried signing out, and no joy.
Does it have anything to do with the parent folder settings? For the contents of that parent folder to be visible you need to set it to "anyone with link".- Greg-DB4 years agoDropbox Staff
I believe just the settings on the supplied shared link matter, not a parent folder. It may be worth double checking that you've set the password on the same shared link as you've supplied to the Embedder.
Also, another thing to note is that it will not prompt for the password again if you've already supplied the password in that session.
I put up a simple example of the Embedder with a shared link for a folder protected with a password here: https://brave-wing-9849b2.netlify.app/ . The password for that sample shared link is just "password". That's working as expected for me.
If something still isn't working for you, feel free to share a sample page so we can take a look. You can also share privately here if you'd prefer: https://www.dropbox.com/developers/contact
- mikexavier4 years agoNew member | Level 2
There is no password set on the shared link supplied to the Embedder as that's the parent folder. Ideally, anyone can view the contents of that parent folder, but can only access the sub-folder they have the password for.
Parent
- folder1 (password protected)
- folder2 (password protected)
Sorry if that wasn't clear before 😬
About Discuss Dropbox Developer & API
Make connections with other developers
795 PostsLatest Activity: 6 days agoIf you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!