Sign in
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

Protected areas

  • This topic has 6 replies, 5 voices, and was last updated 3 months, 3 weeks ago by .
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #8296
    Avatar photoRobNZ

    Hi, is it possible to created protected areas of a Publii website? Area that is that cannot be viewed without the user logging in first? Thanks.

    #8314
    Avatar photoTomasz Dziuda

    Hi,

    Such functionality is hard to achieve with static websites. Publii has no support for such feature.

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #8339
    Avatar photocandidexmedia

    Look into Authorizer.dev and octauthent.com.

    Authorizer is open-source, self-hosted and can be deployed on Railway very easily. octauthent is a freemium service.

    I’ve tried Authorizer, and it works with Publii. The developer of the project is very friendly and responsive on Discord.

    #8341
    Avatar photojomocu
    candidexmedia wrote:

    Look into Authorizer.dev and octauthent.com.

    Authorizer is open-source, self-hosted and can be deployed on Railway very easily. octauthent is a freemium service.

    I’ve tried Authorizer, and it works with Publii. The developer of the project is very friendly and responsive on Discord.

    It helped me to protect my personal decentralized website, thank you very much!
    Before, I used pure Javascript to try to protect the decentralized page a bit, but obviously, anyone with programming knowledge could access it.
    Now with your solution I am more protected!

    #8342
    Avatar photoRobNZ

    Thanks.

    #9436
    Avatar photocandidexmedia

    Glad to help! Just wanted to share three more options:

    MojoAuth (paid option): https://mojoauth.com/docs/guides/html-and-js/

    Userbase (freemium, paid version can connect to Stripe): https://userbase.com/docs/sdk/

    Web Monetization: It can be implemented on static sites, and there are some interesting demos on gated content: https://webmonetization.org/docs/exclusive-content. That said, it’s not super well known yet, and the only provider at the moment, Coil, just got discontinued. That said, the Interledger Foundation is continuing work on this web standard: https://interledger.org/

    #10960
    Avatar photoAndy

    Hello,

    I was looking for a similar feature and finally found a solution. I’m explaining it here because it might be useful for someone else too.

    I actually found two solutions:

    1) The first was to use Netlify and the “Identity” function: https://docs.netlify.com/security/secure-access-to-sites/identity/
    The problem was that I didn’t want to pay Netlify just for that. The free version is sufficient for my purposes.

    2) Then, as part of a webshop project, I used Infomaniak for hosting and discovered that they had a user management system on the server (management with encrypted password). => https://www.infomaniak.com/en/support/faq/68/password-protect-a-site-folder

    I now host a Publii site with the “Documentation” theme with restricted access using FTP.

    The next step for me will be to automate this to give access when someone is added to my database.

    I also imagine that other hosts offer the same thing.

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.