← All articlesSecurity fundamentals

Information security (InfoSec): how to protect your data

Information security, or InfoSec, protects information against unauthorized disclosure, changes, destruction and unavailability. It covers more than an application database: exports, documents, correspondence and team practices also matter. A practical first step is to understand where important data lives, who needs it and what would happen if it were lost.

InfoSec and the three key properties of information

Information security covers digital data, paper documents and organizational processes. Cybersecurity focuses on digital systems and threats. The terms overlap: a technical vulnerability can expose a document, while an employee mistake can make it available through a service that works as designed. Identifying the information to protect is more useful to a team than debating the boundary between the terms.

The three key properties are confidentiality, integrity and availability. Confidentiality means that only authorized people and systems have access. Integrity means protection against unauthorized changes and corruption. Availability means being able to obtain information when it is needed. If customer documents are hidden from outsiders but cannot be recovered after a failure, protection is only partially addressed.

Data lifecycle: find every copy

Data needs protection during collection, use, storage, transfer, archiving and deletion. Priorities depend on how critical the information is to the business. A fictional example: a team runs a class-booking service. Contact details exist in the database, an administrator’s export, a support email, a log and a backup. One secure database does not guarantee that every copy is protected.

Create a one-page map: for each dataset, record its purpose, owner, storage location, access, retention period and deletion procedure. Check whether every collected field is necessary. The less unnecessary sensitive data a product stores, the less of that data it can lose. Avoid moving the customer database into a test environment when artificial records can verify the scenario.

  • Public: material the team intentionally makes available to everyone.
  • Internal: work information accessible to the employees who need it.
  • Confidential: data whose disclosure could harm people or the business.
  • These levels are an example for a small team; define rules and retention periods for your own context.

Access permissions, encryption and keys

Grant the minimum permissions needed and deny access by default. Authentication confirms who has logged in; authorization decides what that person is allowed to do. Permission to access a particular document must be checked on the server for every request. Review access when a role changes or an employee leaves, including shared folders and external services.

Choose encryption to match the threat model, but remember that it does not replace access control. An application function can decrypt a file and hand it to the wrong user. Store keys separately from the protected data and plan their rotation, revocation and recovery. Passwords require dedicated secure hashing rather than reversible encryption. Use established platform tools instead of custom cryptography.

Checks and logs: verify the rules in practice

Use artificial records in your own test environment. Define the allowed actions, stop condition and responsible person in advance. Check access for an ordinary user and an employee, denial of access to another user’s object, role revocation and the contents of a test log. Write down the expected result first: for example, after losing the role, an employee can no longer retrieve the document. Do not delete production data as an experiment.

Record logins, access denials, privilege changes and important actions with the time, actor and outcome. Exclude passwords, tokens, keys and complete sensitive documents. Logs themselves contain information that needs protection: restrict access and define a retention period and the person responsible for investigating suspicious events.

Priorities: turn the data map into tasks

An initial result can be a data map and one concrete task with an owner and a completion criterion. In the fictional service, a publicly accessible contact export is discovered: first stop serving it and restrict access, then investigate the cause and possible extent of disclosure. After fixing it, use an artificial export to verify that public access is blocked while the authorized workflow still works.

Do not measure protection solely by the number of installed tools. More useful questions are who receives sensitive data, where copies remain and how the team detects a violation. Revisit the map after adding integrations or changing work processes. Procedures and data categories should be clear to the people who work with that information every day.

Backups and recovery

Backups are an important part of protection, but having a copy does not prove recoverability. Protect access to copies and keys, and determine how much data loss and downtime your business can accept. Periodically restore an isolated test copy and verify that the data can be read and the required functions work. Record the date, result and person responsible for the check.

A technical assessment complements information-handling rules and team processes. It does not replace data mapping, permission revocation or recovery checks, and its results are limited to the scope of the particular assessment. A free assessment of your website or the web part of your product can be a first technical step: turn a finding into a fix and a repeat test that confirms it.

Sources and documentation

  1. Microsoft Learn: Data Security discipline
  2. OWASP: Authorization
  3. OWASP: Cryptographic Storage
  4. OWASP: Secrets Management
  5. OWASP: Logging
CheckMyApp

Check your application’s security.

Enter your web application address and email. Get a free preliminary report and choose the depth of analysis.

Check for free