How to protect sensitive parts of your Bubble app

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ม.ค. 2025

ความคิดเห็น • 15

  • @RaymondGroenewald
    @RaymondGroenewald 10 หลายเดือนก่อน +2

    Such a great and elaborate explanation.
    I've seen so many questions around this and you've explained it perfectly.
    Thanks!

    • @mneary
      @mneary  10 หลายเดือนก่อน

      Thanks Raymond!

  • @muhammadhaqny
    @muhammadhaqny 11 หลายเดือนก่อน +1

    Very informative and useful, keep the good things coming up. Thanks.

  • @BorisMinor
    @BorisMinor 11 หลายเดือนก่อน +1

    Really well explained, thank you.

  • @marianradulescu6730
    @marianradulescu6730 8 หลายเดือนก่อน

    Realy great, thank you !

  • @Lahiru_Ranaweera
    @Lahiru_Ranaweera 11 หลายเดือนก่อน

    Very important lesson. Thank you.

  • @mattschuberg
    @mattschuberg 11 หลายเดือนก่อน +1

    Great video. Is there a way to get a 302 redirect on a page when you also want to be able to redirect the user to a specific path in your URL after they log in? For example, when a user clicks on a link in an email you sent them but they're not logged in. I want them to be redirected to that specific URL path afterwards. I'm able to do that using "This URL", but it causes the redirect to be a 200 redirect instead of a 302. Is there a better way to do this?

    • @antoruby
      @antoruby 6 หลายเดือนก่อน

      Great question 😅 Have you found an answer?

    • @mattschuberg
      @mattschuberg 6 หลายเดือนก่อน

      @@antoruby Not yet, unfortunately.

    • @antoruby
      @antoruby 6 หลายเดือนก่อน +1

      @@mattschuberg Thanks for answering! I also couldn't find a way to use "This URL", but there is a way almost equivalent that still gives 302:
      Check the "Send current page parameters" and also "Send more parameters to the page" to add something like afterlogin="my-page", where you have to type the "my-page" instead of extracting anything from "This URL". Then just use these parameters to redirect the user back after the login.

    • @mneary
      @mneary  4 หลายเดือนก่อน +1

      The answer from @antoruby is the way!
      The only way to preserve values through 302 redirects is to use url parameters and to then use those parameters in your routing logic.
      One good approach is to have a dedicated /redirect page in your app that you use for your 302 redirections. On that page then you handle the specific routing depending on what parameters there are in the URL.
      Hope that helps!

  • @danielshakibaie
    @danielshakibaie 2 หลายเดือนก่อน

    "And I'm using something called the internet" Hahaha, my fav moment

  • @john13285
    @john13285 11 หลายเดือนก่อน

    out of context, but how do you allow users to upload a csv that has comma-separated text values in the cells of one of the columns that are of a data type attached to the main data type (the data type being uploaded as csv)? i read for the native action arrays have to be uploaded as JSON array but the user doesn't know that and simply uploads the file where the values are comma-separated.

  • @matt-apollodev
    @matt-apollodev 11 หลายเดือนก่อน

    Always difficult to make sense of how bubble treat the data, so that's a great video explaining it 👌
    What about pages with a type of data ?

  • @hustlin_heev
    @hustlin_heev 8 หลายเดือนก่อน

    Hey Matt this is a very important video, thank you.
    Just to be 100% explicit and sure - for an app to be secure, you must have when page is loaded -> first action: Direct user to 404 ONLY WHEN Current User is not logged in?