Start a project
A doctor at her desk with a young patient in a clinic.

BlogCompliance

What Kenya's Data Protection Act means for your website.

If your site has a contact form, a sign-up or a checkout, it collects personal data, and Kenya's Data Protection Act sets rules for how you handle it.

By Elvis Chege7 minute read

Does it apply to you?

Almost certainly. Kenya's Data Protection Act, 2019 covers anyone who collects or uses personal data about people in Kenya. On a website that includes names, phone numbers and emails from a contact form, delivery addresses from a shop, ID numbers from an application, and even analytics that identify a device. Your business is the "data controller". The companies that host your site or send your emails are "data processors" acting for you.

What the law expects from your site

  1. Collect only what you need. If you only need a name and phone number to call someone back, don't ask for their ID number and date of birth.
  2. Say what you collect and why. Publish a clear privacy notice: what you collect, why, who sees it, how long you keep it, and how people can use their rights. Link to it from every form.
  3. Have a lawful reason. Usually that is the person asking you to do something (a quote, an order), a legal duty, or their consent. Marketing generally needs consent, and people must be able to opt out easily.
  4. Keep it secure. The Act requires appropriate security safeguards. For a website that means HTTPS, up-to-date software, strong admin passwords with two-step login, backups, and limiting who can see the data.
  5. Don't keep it forever. Decide how long you need each kind of data, and delete it after that.
  6. Respect people's rights. People can ask to see, correct or delete their data, and object to some uses. Have a simple way to handle those requests.
  7. Check your processors. Your host, email provider and payment provider handle data for you. Make sure they protect it, and know where it is stored.

If something goes wrong

If personal data is breached and there is a real risk to the people affected, the Act requires you to notify the Data Commissioner within 72 hours of becoming aware of it, and in some cases to tell the people affected too (see Bowmans' summary). Seventy-two hours goes quickly. Knowing who to call, and having logs and backups, makes the difference.

The best breach response plan is a website that doesn't leak in the first place.

Do you need to register with the ODPC?

Many businesses must register with the Office of the Data Protection Commissioner as data controllers or processors. Whether you must depends on your size and sector, and some sectors must register regardless of size. Check the ODPC's guidance note on registration for the current rules.

The ODPC can investigate complaints and issue penalties, so it is worth getting the basics right before someone complains.

A quick checklist for your website

  • Every page loads over HTTPS.
  • A privacy notice is published and linked from every form.
  • Forms ask only for what you need.
  • Marketing sign-ups are opt-in, with an easy way out.
  • Admin logins use strong passwords and two-step login.
  • Software and plugins are kept up to date.
  • Backups run automatically, and you have tested a restore.
  • You know where your data is stored, and who can access it.
  • You know what you would do in the first 72 hours after a breach.

How we handle it

Every website we build handles forms and customer data in line with the Data Protection Act, 2019, with HTTPS, security headers, uptime monitoring and nightly backups included. For larger organisations, we show you where you stand against the Act and CBK cybersecurity guidance, in writing, with a plan to close the gaps. See cybersecurity and compliance and our website plans.