Increase Internet Security: Goal and Approach
Increasing internet security refers to measures that users and systems take in order to reduce the risk of "data loss, theft or being taken out of control." These measures should be as precise as possible, meaning it must be explained which configuration, algorithm, protocol and port/format they are related to.
The following main directions increase security in practice: authentication (checking identity), encryption (making data unreadable), network segmentation (reducing risk before entry), updates and audit (correcting errors and checking traces).
Cryptography basics: Correct selection of TLS/HTTPS
HTTPS security is provided by the TLS protocol. If the version or configuration of TLS is weak, just having a "certificate" may not be enough; customers can still choose weaker agreement methods or due to incorrect settings increase risk.
Recommendation: Use modern configurations on servers and remove outdated ones. Also, enforcing redirection from HTTP and strictly setting up HTTP Strict Transport Security (HSTS) reduces the chance of data being sent over an "unencrypted path."
- TLS: Prefer TLS 1.3 (use TLS 1.2 only if required); check configuration logs and selected version based on “client hello” for manual inspection.
- Encryption suite: Remove weak key exchange methods and outdated ciphers (e.g., unused or obsolete agreements).
- HSTS: Gradually set the max-age value for "only HTTPS" mode, and carefully check whether subdomains are also covered.
Reduce network surface: Limiting access and segmentation
The part of security that is often easiest to measure — reducing the number of services and ways to enter them. If there are many open ports on the internet, the attack surface itself increases automatically for scanners.
PRACTICAL APPROACH: Open only necessary services; close or limit other ports; place services in separate networks (segmentation) and allow access only where needed.
- Firewall: Minimize inbound rules; e.g., allow entry from specific IP ranges only.
- Port audit: Regularly check the list of open ports on the internet; immediately turn off services that are incorrectly opened.
- Segmentation: Separate admin control interfaces into a separate segment; do not directly expose them to the internet.
Strengthen Authentication: A Trusted Path Instead of Passwords
Password complexity is less important than how well the authentication mechanism can withstand attacks. The most effective approach: multi-factor authentication and protection against password reuse.
Technical measures: enable multi-factor authentication for accounts, limit password reset options, and apply session expiration policies. In addition, selecting a verification method (e.g., trusted device or special confirmation flow) is important to protect against phishing attacks.
- MFA: at least two factors; preference: hardware token or trusted authenticator.
- Password policy: not limited to "longer"; must also detect password reuse and exposed passwords.
- Session control: termination based on inactivity time, re-authentication upon sudden login from a new location.
History and context: how security controls evolved
Internet security approaches developed in several stages: initially only network filtering, then cryptography, and later authentication and audit became central. For example, TLS was created to encrypt communication, aiming to reduce "eavesdropping" and "man-in-the-middle" attacks on the network.
I will illustrate historical context with specific facts: the release of TLS 1.3 and the simplification of its associated "handshake" process influenced today's practical configuration choices.
| Year | Technology | What changed | Source |
|---|---|---|---|
| 2018 | TLS 1.3 | The handshake process was significantly simplified and speed/efficiency increased; some redundant steps from previous versions were removed | RFC 8446 |
| 2012 | HTTP Strict Transport Security (HSTS) | A policy mechanism was introduced to ensure clients always use HTTPS (with max-age and subdomain scope) | RFC 6797 |
| 2010 | Conceptually "least privilege" | The practice of allowing access only to necessary services was widely adopted, reducing the attack surface | In general terms: widely cited in security architecture literature (not limited to a specific RFC document) |
Operation mechanism: TLS handshake and security stages
TLS operates by solving two main issues: first, establishing an agreement ("handshake") for encrypting the session (securely generating keys and reaching consensus); second, verifying server identity (via certificate) and ensuring integrity of communication (detecting changes).
For practical understanding: a client initiates connection to the server, TLS "handshake" process selects matching parameters, then real data is transmitted through an encrypted channel. In TLS 1.3 some steps were reduced making the connection faster and simplified path used for certain security threats.
- Step 1: The client sends a "hello request" (client hello) and indicates TLS version/cipher requirements.
- Step 2: Server selects matching options and presents its certificate if needed.
- Step 3: Keys are agreed upon, encrypted session begins.
- Step 4: Data is transmitted; integrity check detects changes.
Practical configuration: testing, selection criteria and quick checks
The following practical steps answer the question "Which settings are working?". Adjust this list to match your server/application configuration: first test for external visible state, then adjust internal settings accordingly.
- Check HTTPS configuration: Check the TLS versions and ciphers selected for your domain; verify whether TLS 1.3 is actually enabled or not.
- Redirect and HSTS: Verify that an HTTP → HTTPS redirect exists; confirm that the HSTS max-age value has not been incorrectly set.
- Firewall audit: Update the list of open ports from the internet; disable unnecessary services.
- Mandate MFA: Check whether MFA is enabled for admin accounts; monitor password reset capabilities.
- Patch management plan: Keep OS, applications and auxiliary services (e.g., reverse-proxy) updated according to the scheduled timeframe.
Typical errors: Stopping at "TLS certificate exists" (in reality TLS version/cipher may still be using older ones), enabling HSTS with a large max-age without testing it, leaving "any" or unnecessary ranges in firewall rules, and not having MFA enabled on admin accounts.
Preventive measures and audit: logs, quick response and reducing vulnerabilities
Safety is not only about configuration: if you don't see what's happening within the system, you'll find out about errors too late. Therefore central logging, anomaly detection and fast-response mechanisms are important.
Practical requirements: limit on number of authentication failures, signal for unusual connections (geolocation or IP range changes), and audit trail for "change tracking" (config deploy).
- Auth audit: Apply a time window and limits for failed logins.
- Exit/movement control: Separate logs and minimal permissions for admin activities.
- Post-upgrade check: Recheck TLS and services after an upgrade.
FAQ
If I have installed a TLS certificate, what else should I do?
A certificate is part of "encryption", but practical security also depends on the selection of TLS versions and ciphers. Make sure that during testing TLS 1.3 is selected, outdated versions are disabled, and redirect/HSTS policy works properly.
Is enabling HSTS risky?
If applied correctly it's beneficial. Risk — if incorrect domain/values are used, the browser may be forced to use HTTPS for a long time. Practical solution: first test with smaller max-age, then increase gradually.
Must MFA always be required?
Making it mandatory at least for admin and important accounts provides real benefits. Without MFA, password theft can directly compromise session control; MFA adds an extra verification to protect the session.
How should I make firewall rules "specific"?
Minimize inbound permissions: only necessary ports, only required sources (IP ranges), and specific protocols for each service. Then perform regular audits on open ports from the internet.
Which logs are most essential?
Authentication logs (successful and unsuccessful), admin operations log, and network access/entry events. Additionally, writing in relation to configuration changes (deploy) helps provide quick responses.
Which updates should be done first?
Start with components that directly connect to the internet: reverse-proxy or web-server, OS packages, and authentication-related components. After updating, check TLS and service configurations again.
Conclusion
Increasing Internet security is not a one-time task, but rather a chain of configuration, testing, and audit. The most effective directions are: properly configuring TLS/HSTS, minimizing exposure surfaces, strengthening authentication with MFA, and quick monitoring through logs.
If you want, I can help create an exact test table for your network architecture (for example, whether there is a reverse-proxy, which ports are open, what authentication method is used).