Forum Academy Marketplace Showcase Pricing Features

Improvements to working with data privacy rules

Hi Bubble community,

Privacy Rules are important for keeping your app’s data private, but they are often overlooked, especially by new users. That’s why we’re introducing a few subtle “nudges” in the product to help users find a good starting point for the Privacy Rules for their data types.

These nudges include the following:

  • In the Data Types and Privacy sub-tabs under Data, you’ll now see a small visual cue for whether the type has privacy rules applied or if it’s publicly visible (example):
  • When creating a new data type, you’ll see a new checkbox that asks whether you want it to be public or private. If you choose private, the data type will be created with 1 privacy rule that allows the creator of that thing to see it, but everybody else won’t have access to those things (this can be changed to your desire later, of course)
  • Soon, all new apps will be created with a default privacy rule on the User data type such that only that user can see their own thing (though this can also be changed later)
    [5/20/2021 update: the default is now unchecked, ie public]

Because of these changes, the old Settings toggle to make data type private by default will no longer be an option. Any apps that had this turned on will continue to have it in effect and will continue to see the checkbox in Settings, but if they uncheck the setting, they will no longer have the option to turn it back on. We hope this will help guide Bubble apps to stronger data privacy settings!

31 Likes

Love this, @tj-bubble! Saw this in the editor a few days ago and was super happy to see it :blush:

3 Likes

Thanks for the info, @tj-bubble. I just noticed the Make this data type private checkbox but was disappointed (mildly annoyed, actually) that there was no contextual link to the Bubble manual when hovered, which forced me to conduct a forum search just to understand exactly what ticking that checkbox would do.

FWIW, it’d be nice if new features were first officially documented and then posted to the forum with a link to the docs (and perhaps a synopsis with rationale if warranted).

3 Likes

Really love this change. Simple UX and UI to improve privacy overall!

Thak you, @tj-bubble, great update! Regarding privacy, could you please clarify is it possible to securely implement “anyone with the link can view”?
Thanks a lot!

Maybe complex but if you have a “thing” that is “ one time approve codes” with fields “code” and ,”used yet”

Generate a unique string as the code on a button click. Verify it doesn’t exist already. Save this as a “send code” with field “used already” marked no. Send a non signed up user a url with URL parameters with the code

Use the code as verification
Make everything on the visitor page invisible on page load. If the url contains a valid code, and a search identifies the valid code is not marked used already, make everything visible. If not, redirect.

After verifying the code works, mark this used already.

1 Like

Thanks for the feedback, it is helpful for us as we evolve our processes and get better. I actually am planning on adding the hover link to the docs this week, but realize it would have been nice to go out with the change itself.

3 Likes

+1 for secure by default.

2 Likes

Hey Jared,

Thank you for your answer! Unfortunately, that does not work for me, because I need to generate public links that do not change and could be opened by anyone. It can be an order confirmation page, that you share with the client (or public profile user page, or whatever).

And the surprising thing is that seems there is no secure way to do that! To make this page viewable by anyone, I need to check the box “find in search” for that datatype. And this option “find in search” is basically makes it viewable by anyone who can run queries to the backend (it’s rather easy, am I right?).

@tj-bubble
Thanks guys for this improvement!
That’s is a crucial thing that many Bubblers missed during building apps.

Greetings Bubble community,

We have rolled out a minor tweak to the default privacy rules setting due to some confusion that has come out of it. You can see below what it looks like now:

When creating a new data type, the default is now unchecked, i.e. the data type would be created without any privacy rules

If you check the box, the data type will be created as private, i.e. with a default privacy rule that only the creator can see a thing. This can of course be modified in the Privacy tab:

We hope this still encourages default use of the privacy settings for data types.

9 Likes

Great addition, even though it’s small I think it’s definitely helpful to those new to Bubble and Privacy Rules!

1 Like