Hi, I’m setting up a public wiki using mediawiki and I’d like some help ensuring the server and mediawiki is safely setup before I start sharing it publicly. I installed it on Vultr using the mediawiki app from the Vultr Marketplace. Are there any things I should ensure before publicly sharing the link?

Some things I’ve done so far:

  • I disabled password login to the server so its only possible to login via ssh

  • I made it so I have to approve of any edits to the wiki

  • I still haven’t enabled uploads of files because I want to ensure I only allow jpeg\png uploads.

I’m relatively new to running servers so any tips are highly appreciated.

  • Decronym@lemmy.decronym.xyzB
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    1 year ago

    Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:

    Fewer Letters More Letters
    HTTP Hypertext Transfer Protocol, the Web
    HTTPS HTTP over SSL
    SSH Secure Shell for remote terminal access
    SSL Secure Sockets Layer, for transparent encryption
    VPN Virtual Private Network

    3 acronyms in this thread; the most compressed thread commented on today has 8 acronyms.

    [Thread #74 for this sub, first seen 23rd Aug 2023, 08:05] [FAQ] [Full list] [Contact] [Source code]

    • xnx@lemm.eeOP
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      1 year ago

      ELI5? 😅

      The install section of naxsi is a whole lotta stuff I’ve never touched before

      • I eat words@group.lt
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        sorry, this is kinda like a firewall, but protecting websites, so many vulnerabilities are filtered out. it does not protect you 100% percent (nothing does). it might be hard to setup, in that case there is an option to use waf as a service, i.e. - cloudflare has such offering, maybe there are others as well. i have looked into vultr - they seem to offer only a “usual” type of firewall, not http/application based.

  • Illecors@lemmy.cafe
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    I disabled password login to the server so its only possible to login via ssh

    Phrasing is a bit strange. Does this mean ssh can only be used to login with a key? If so - great!

    Since you’re using an “app” - not sure there’s much we can help you with. The control has been ceded to the maker of said app.

    I would normally set up some limits on the firewall and change the ssh port so logs are less polluted, not sure it’s possible for you.

    • xnx@lemm.eeOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Yeah its only possible to login with a key.

      What limits would you set on the firewall?

      From the bit I’ve read people usually say changing the ssh port is mostly “security theatre” is this not fully true?

      • AnonStoleMyPants@sopuli.xyz
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        It does not increase security per se but it does limit the amount of bots trying to connect to your server. At least it will make your log a bit less cluttered with random garbage.

        Also installing something like fail2ban might be a good idea. Or even better would be to block all ssh connections except from a specific ip address (whitelist). This of course depends whether you can trust your ip to stay the same, or if you can still log in through some other interface if necessary.

      • diminou@lemmy.zip
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        For the limit : basically you need to ask yourself how many connection someone if able to do in a second to your server. As an example, my limit is always 15. A bit high but I’m sure I’m not blocking a legitimate one (either from myself or someone else)

        For the ssh port : it’s true, but trust me you’ll be happy to change for something random like 5927 because you’ll have far less bit trying to connect or probe your ip, thus your logs won’t be cluttered!