How to limit access to a page?

  • uunicode-1338437989809913856

    unicodes

    1 month ago

    If you introduce a new page to your website, is there a way to restrict access to that specific page?
    I'm not referring to hiding or showing the page content, but rather something like an API redirect that redirects to a 404 page.
    Thank you!
  • Tod-1338437991731036172

    Tod

    1 month ago

    Great energy @unicodes! Your continuous contribution to the toddle Community just made you advance to Community Level 17!
  • sanedealer-1338439023252865054

    Edwin Paul

    1 month ago

    You can already do API redirects in the advanced tab
    1338439023051411507-image.png
  • uunicode-1338439399540789309

    unicodes

    1 month ago

    Thank you Edwin! Is there a way to do redirect without the API? In that website I do not have any API need, it is a presentation website.
  • sanedealer-1338439553127682069

    Edwin Paul

    1 month ago

    I think Team toddle is working on it, but currently you can only do it with an api call 🙂
    🙏1
  • andreasmoller-1338440100765368400

    Andreas Møller

    1 month ago

    You can use the onload action to redirect to a different site.

    This is not a security feature though so you should not have any sensitive information on that page.
    🙏1
  • If you have information that you do not want people to see it should be served from a database or CMS.
  • andreasmoller-1338440513858043944

    Andreas Møller

    1 month ago

    We dont have any plant to add such a feature at the moment.
    🤔1
  • uunicode-1338441400521326644

    unicodes

    1 month ago

    Thank you, Edwin and Andreas! I do not have any sensitive information; it's just a presentation website, and I was looking for something that doesn’t load like a redirect.

    Onload allows users to see the content for a fraction of a second, and if they press X (stop loading in the browser), they can stay on the page. In my case, this isn't an issue, but a proper redirect solution would be great for situations where companies want to add events (Christmas, summer deals) and typically prepare marketing campaigns in advance.
  • Adding here a redirect like in the APIs would be ideal for that specific situations.
    1338441586907811850-Screenshot_2025-02-10_at_11.28.39.png

Stop scrolling. Start building.

toddle is a visual web app builder that rivals custom code — but accessible to your entire team!

Try toddle — it's free!

© Copyright 2024 toddle. All rights reserved.