this is the simplest form of security because it minimizes the attack surface. without any endpoints to protect, we only have to maintain the integrity of our static assets.
this can easily be done with some basic authorization to a third-party managed delivery system.
obviously, a static version of the application is only a temporary solution.
Some core ideas:
attack surfaces
network of trust
defense in depth
least privilege
detection (is almost more important than defense)
CIA of data
Confidentiality
HTTPS keeps user information secret
Integrity
secure server access and principles of least privilege prevent important data from being manipulated maliciously
Availability
properly configured networks ensure data is always available, even in the event of malicious attacks such as DoS