• krellor@fedia.io
    link
    fedilink
    arrow-up
    32
    ·
    5 days ago

    Locking yourself out of a system remotely is a time honored tradition. You might be doing it with caching instead of IP tables, but you’re still in good company.

      • ToasterBotnet - Productivity and Memes@piefed.socialOP
        link
        fedilink
        English
        arrow-up
        3
        ·
        edit-2
        4 days ago

        No caching just means the HTML is cached on the edge. It’s bad but it’s not that bad. Nobody can do anything because of lack of tokens or auth cookies. But they can read internal admin pages and sensitive information. You basically have cloudflare in front of your server and when admin pages are cached by cloudflare when somebody logs in, the pages are also cached and everybody can read them.

          • trxxruraxvr@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            2 days ago

            So all you need is a static site, I’d go for a free netlify or neocities account with hugo or something similar in that case. You don’t even need cloudflare or an admin panel on your own site.

            • ToasterBotnet - Productivity and Memes@piefed.socialOP
              link
              fedilink
              English
              arrow-up
              1
              ·
              edit-2
              2 days ago

              What are you talking about?

              I’m not even using hosted wordpress. I run my own server. I mean open source self hosting alternatives. Static sites are like somewhat opposite to what I do. Feed is the definiton of “not static”. And with running my own server I need cloudflare to cache stuff so traffic won’t overload it.

              • trxxruraxvr@lemmy.world
                link
                fedilink
                arrow-up
                2
                ·
                1 day ago

                A feed can just be a static file that’s updated with every change. The definition of not static is if you need to do processing on the backend, which you don’t.

                • ToasterBotnet - Productivity and Memes@piefed.socialOP
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  edit-2
                  1 day ago

                  How exactly do you think that static file gets ‘updated with every change’ automatically? You need a backend process or script to watch for changes, format the data, and rewrite the file to disk. That is backend processing.
                  I have the feeling you are confusing wordpress with “wordpress.com”. Because the alternatives you mentioned are alternatives to that.

                  // edit: correction because I think there is a misundestanding here.

                  I take the L and admit that what you say is possible. But for me it would not make sense. Yes, static generation is an alternative. But my current setup is a WordPress/wp-cli publishing pipeline with scheduling, media handling, categories, archives, admin UI, and automation. Replacing that with Hugo or similar would be a migration/rebuild project, not just ‘remove the backend.’

  • Lost_My_Mind@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    5 days ago

    Heeeey, don’t feel bad. It could happen to anyone! You’re not stupid. I’m stupid. I don’t even have a grasp of what you’re talking about or how you did it.

    Computer boo-boo!

    Computer boo-boo!

    • Thanks for the encouragement. It wasn’t the first time and it probably won’t be the last. Being stupid is paradoxically the price you pay for getting smart. Learning from your mistakes … like … multiple times…

      • theloneyank@slrpnk.netBanned from community
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        4 days ago

        I like where this is headed but how does even one do this. What would the DNS setting look like? Does this make it so you can’t login? I don’t get it but I feel like I should get it and it makes me nervous.