My Website Attacked and How I Dealt with It
Before I trashed my old website and replaced it with the current better one, I noticed that someone had managed to insert a link on the home page to a Chinese site full of shit. The person who inserted the link had broken into the server hosting my website and altered my home page. I don't know when this alteration happened because the offending link was at the bottom of the home page and I didn't see it until probably way after it was inserted. Actually, probably no one except the attacker saw it and clicked on it before I found it.
I wasn't happy that some creep had altered my home page, but my hosting provider has a very good security team, and that team figured out how to prevent a similar attack from happening again. One advantage of a static site like mine is that I can leave site security to experts. If I find that the security experts working for my hosting provider aren't good enough, it is a simple matter to switch to another hosting provider.
If my site is attacked again, all I have to do is to trash the site and upload it again using the master files stored on my computer. This process takes only a few minutes. My site is static hence it uses no database that can be corrupted by an attack. Restoring a database corrupted by an attack is a pain that requires much more time than a few minutes and frequently doesn't work.
Static websites do not meet the needs of everyone, but they meet mine. I love the fact that I can work on my site while offline, that I can maintain it with version control software (Git), and that I don't have to worry about trying and failing to restore a database when the site is attacked.
Information
This post is a page of the Tidbits website.
Subscribe to the web feed to receive notifications when new posts appear. Use a feed reader to subscribe to the web feed. The web feed is a text file containing code written in the Atom syndication format.
Thunderbird can be used as a web feed reader.
Elfeed is a web feed reader for Emacs. Elfeed is available on MELPA as the package elfeed. Elfeed can be configured with an Org Mode file using the elfeed-org extension.
License
Author: Flower Snark
Email: flowersnark@gmail.com
Made with GNU Emacs and Org Mode.
Copyright © 2026 Flower Snark
This work is licensed under the Creative Commons Attribution-ShareAlike 4.0 International license (CC BY-SA 4.0).
CC BY-SA 4.0 summary
CC BY-SA 4.0 legal code
Page created on 2026-03-31T15:59:55-04:00.