News for hackers. Stuff that matters.
Re:Scaling Your Static Site to a Global Market for a Fractio... by 1996 on Wednesday August 15, 2018 @04:48PM (#17769644)
My linode hasn't been updated for years, still runs nginx just fine. port knocking means little risks of intrusion, as ssh is on a non standard port too.

My deployment is shell scripts launched by systemd timers

Instead of downvoting, can someone please explain why this setup that is stable is not up to whatever standards?

Re:Scaling Your Static Site to a Global Market for a Fractio... by boulos on Wednesday August 15, 2018 @05:40PM (#17770017)
Most likely your "hasn't been updated for years". Given all the security vulnerabilities that have been disclosed, including things like Heartbleed, I hope you meant your "setup hasn't been changed in years".
Re:Scaling Your Static Site to a Global Market for a Fractio... by 1996 on Thursday August 16, 2018 @12:57AM (#17772009)
No, I run nothing like apt update. Why would I fix something not broken? And no, I do not run ssl. I like to limit the number of moving parts.

Anyway, if someone can manage to access my servers with only nginx serving static files, they deserve to 0wn it :-)

Re:Scaling Your Static Site to a Global Market for a Fractio... by purerandomness on Thursday August 16, 2018 @07:55AM (#17773832)
You're exposing your users to MITM attacks by not deploying SSL.

While your setup stays the same, major security flaws are found in different parts of the stacks.

Security is a process, by neglecting it you're paying for resources that are abused by attackers in order to harm other users.

Re:Scaling Your Static Site to a Global Market for a Fractio... by 1996 on Thursday August 16, 2018 @08:25AM (#17774001)
If you want to mitm my static site with no login and mostly PDFs, you are welcome to.

Security is a state of mind, not a bunch of recipes. Some things must be protected, some for some others it doesn't make sense

Re:Scaling Your Static Site to a Global Market for a Fractio... by purerandomness on Thursday August 16, 2018 @09:14AM (#17774315)
How do you know your users are seeing "a static site with no login and mostly PDFs"?

Security is a state of mind, indeed.

Re:Scaling Your Static Site to a Global Market for a Fractio... by 1996 on Thursday August 16, 2018 @04:23PM (#17778150)
I know because I make the site and use it too
Re:Scaling Your Static Site to a Global Market for a Fractio... by purerandomness on Thursday August 16, 2018 @08:27PM (#17779488)
I know, but now anyone can:

* Inject a cryptocurrency miner JavaScript into your page during the transmission of your static HTML page to your clients, without you or your users knowing it [1]

* Injecting explicit, illegal image material that would get your clients immediately in legal trouble for possession of such material, without you knowing

* Injecting a JS snippet that, instead of your site's contents, shows a fake antivirus page, telling the clients that your site is malicious and that a threat was eliminated by Fake Antivirus 10.0 and that they should immediately call Microsoft Support (Phone number in Bangladesh) for further "assistance". There they're told they need to get a full cleaning of the hard drive for only 99$ and are asked for their CC number

The point is: If you don't have end-to-end-encryption, you can never be sure what your users see. They might see your site - or some slightly modified version of your site, with a login box, phishing passwords from your users, abusing their trust in your brand.

A MITM has nothing to do with someone gaining access to your server. It's someone gaining access to infrastructure - a vulnerable public wifi, for instance.

[1] https://www.hacking.reviews/2018/01/coffeeminer-collaborativ...

Re:Scaling Your Static Site to a Global Market for a Fractio... by 1996 on Friday August 17, 2018 @01:43PM (#17784511)
Fair enough. I will enable https on cloudflare.
Re:Scaling Your Static Site to a Global Market for a Fractio... by aidanlister on Wednesday August 15, 2018 @06:35PM (#17770342)
You have a single point of failure and a linux box (and CMS?) that needs to be constantly patched - how is that in any way comparable to the simplicity and scalability of dropping files onto an S3 bucket?
Re:Scaling Your Static Site to a Global Market for a Fractio... by 1996 on Thursday August 16, 2018 @12:59AM (#17772019)
No cms. Nginx serving static files. Not patched or upgraded for years. Still running fine.

Doing anything else than putting cloudflare in front of my nginx is needlessly overhead- because cloudflare scales quite well!