I am shocked that you can’t easily secure a server side page at the “Page Level” for the End User visibility and that this is not a baked in feature to Bubble as it would seem somewhat fundamental to application security.
It feels somewhat hacky but what do I know because I am just a newbie here.
I am sure it is insanely complex to automate.
I will give your guys suggestion a try shortly… I appreciate the help !
Assuming all your elements are inside a main container element, then just make that container element not visible unless the User is logged in.
If your elements aren’t inside a main container, then (aside from learning a good lessons about how to go about building pages - especially ones you know you don’t want to be publicly visible), then you’ll have to do it for each top-level container (at least those you don’t want people to see when not logged in).
@adamhholmes@Jibbystyle Redirecting logged out users on page load to a public page is a fairly common practice.
A word of caution about “hiding groups”, when you hide a group you are basically sending the group to the browser and telling the browser not to render it. That’s not the same as not sending the data to the browser when the user is logged out. a knowledgable user can easily hit “inspect” and see all the hidden data.
Hiding/showing groups is meant of usability not for security. This is probably why you won’t see this function in the page level. It is not a very user friendly practice to show a blank page. instead you may want to display an “empty state” telling the user they are not logged- in and they will automatically be redirected to the home page.
Data protection is done through privacy rules in the tables, here you need to make sure that your data is not set as public, and that only logged in users can view & query the data itself.
Don’t have it be visible at first. Literally your answer is in your own explication of your issue. Also you’re incorrect about show/hide in the Bubble context. I’m not going to explain why as you can easily confirm that.
Technically yes, but you would display the page for a brief moment until redirection, which would happen only once all the elemnts are loaded. You would do this in combination with having the elements is a group that is invisible by default.
Empty State is a graphic or text you show on the page so not to leave it blank. It can be the whole page… or just a portion for it… for example if you have a repeating group that doesn’t have any data
For example, this is from gmail… they didn’t just leave the component empty They let the user know why there is no data.