The LGPD (Brazil's General Data Protection Law) does not forbid anyone from processing personal data. What it requires is that every processing activity rest on a justification provided for in the law, called the legal basis. There are ten grounds in Article 7 for ordinary data and a separate list in Article 11 for sensitive data. Processing that has no basis to support it is irregular, however useful it may seem.
Choosing the basis is a legal decision, but knowing the options helps any area of the company avoid the classic mistake of asking for consent for everything. In the daily life of a company, some bases are used far more than others, and what matters is understanding when each one makes sense.
This guide covers the technical security layer that supports personal data protection. It is informational content, not legal advice, and it does not replace guidance from your company's DPO or legal team.
The ten legal bases in Article 7
Article 7 lists ten grounds that authorize the processing of ordinary personal data, and they cover very different situations (the consent of the person and the protection of life are on the same list, for example). The company does not pick the basis it likes best. It fits each processing activity to the basis that matches the reality of that data flow.
- Consent of the data subject
- Compliance with a legal or regulatory obligation
- Implementation of public policies by the public administration
- Studies carried out by a research body, with anonymization whenever possible
- Performance of a contract, or of preliminary procedures related to a contract, to which the data subject is a party
- Regular exercise of rights in judicial, administrative or arbitration proceedings
- Protection of the life or physical safety of the data subject or of a third party
- Protection of health, in a procedure carried out by health professionals or health services
- Legitimate interest of the controller or of a third party
- Credit protection
Why consent does not fit everything
Consent is the best-remembered basis and perhaps the most misused. It requires a free, informed and specific expression of will and can be withdrawn at any time, and that is where the problem with overusing it lies. If the company relies on consent for a processing activity it has to carry out anyway, such as keeping the invoice for a sale, it ends up in a contradiction the day the customer withdraws consent.
The practical rule is to reserve consent for what is truly optional for the person, such as receiving marketing communications. For the processing the operation requires, other bases describe reality better and do not depend on an authorization that can be taken back.
Legal obligation, contract and legitimate interest
Three bases support much of everyday processing. Compliance with a legal obligation covers what the company has to do to meet the law, such as keeping tax and employment records for the required periods. Performance of a contract covers the processing needed to deliver what the customer signed up for, from registration to billing; after all, anyone who hires a service expects the company to use their data to provide it.
Legitimate interest is the most flexible basis and also the one that calls for the most care. It allows data to be processed for legitimate company purposes that the person would reasonably expect, such as fraud prevention or the security of the operation itself, as long as this does not override the rights of the data subject. Before relying on it, the company has to weigh the benefit of the processing against the impact on the person, in what is called the balancing test.
Fitting common processing to a basis in practice
The theory gets clearer when applied to the processing almost every company does. The examples below show the reasoning, but remember that the final choice of basis is a legal decision and depends on the context of each operation.
- Issuing invoices and keeping accounting records: compliance with a legal obligation
- Registering a customer and billing for a contracted service: performance of a contract
- Keeping employee data required by labor law: legal obligation
- Preventing fraud and protecting the security of the operation: legitimate interest, with a balancing test
- Sending newsletters and offers to people who opted in to receive them: consent
- Processing health data in a medical service: protection of health by a professional
Note that consent appears only where the choice really belongs to the person. Forcing it onto processing the company has to do anyway turns the logic upside down and creates the withdrawal problem. Compliance becomes solid when each flow gets its basis from its own reality, not from whichever basis is best known.
Bases for sensitive data
Sensitive data has its own, narrower list, in Article 11. Legitimate interest, for example, does not apply to sensitive data. The grounds that do not require consent are specific: compliance with a legal obligation, implementation of public policies, studies by a research body, exercise of rights in proceedings, protection of life, protection of health by professionals and fraud prevention in identification processes in electronic systems.
When the basis for sensitive data is consent, it has to be specific and given distinctly, making clear that the data is sensitive and what it will be used for. The rule is stricter because the risk is higher: a leak of health or biometric data hurts the person far more than the leak of an email address.
Practical checklist
- Fit each processing activity to one of the bases in Article 7
- Reserve consent for what is truly optional
- Use legal obligation for what the law requires you to keep
- Use performance of a contract for what is needed to deliver the service
- Document the balancing test when relying on legitimate interest
- Apply the specific list in Article 11 to sensitive data
- Review the bases when the purpose of the processing changes
Best practices
- Choose the basis by the reality of the data flow, even if it is not the best known
- Avoid consent for processing the company has to do anyway
- Put the justification for legitimate interest in writing
- Handle sensitive data under its own, narrower list
- Review the bases whenever you create a new use for the data
Common mistakes
- Asking for consent for everything
- Necessary processing is left without a basis when the data subject withdraws consent.
- Relying on legitimate interest without a balancing test
- The company cannot justify the processing if it is challenged.
- Applying legitimate interest to sensitive data
- That basis is not allowed for sensitive data; the processing becomes irregular.
- Not reviewing the basis when creating new uses
- Data collected for one purpose ends up used for another without legal support.
Further study: recommended courses
These free courses from Valor Final are taught in Portuguese. They help you take the subject of this guide from theory to practice at your own pace.
Curso de LGPD Essencial
FreeFree LGPD course for people who work at a company. In plain language and based on official sources, it shows in practice what can and cannot be done with the data of customers, coworkers and suppliers. Course in Portuguese.
Valor Final View courseCursos do Valor Final
With certificateA portal of free online courses that issues a certificate when you complete a course. The privacy and data protection track starts with the LGPD course and adds new courses over time. Courses in Portuguese.
Valor Final View course
Authorship and review
Cesar Gargiulo
CEO and founder of GUARDIASEC. Technical and editorial lead for the content published in this library.
Published on . Found a technical error? Write to [email protected] and we will correct it and keep a record of the change.