NGO / Nonprofit13 min read•

NGO Website Development in India: Keeping a Donation Website Secure — Updates, Logins, Backups and What To Do If It Is Hacked

Practical security for an NGO donation website: updates, accounts, two-step login, tested backups, form protection and an incident plan.

#NGO website development India#website security#WordPress hardening#backups#donation website

An NGO donation website is protected mainly by boring habits: keep the software updated, give each person their own login with only the access they need, switch on two-step verification for anyone who can edit or publish, take backups you have actually tested restoring, and let a licensed payment provider handle card details rather than storing them yourself. If you are planning NGO website development in India, these basics matter more than any single security plugin, because most small-organisation breaches come from stale software, shared passwords and nobody noticing for weeks. This guide sets out what to ask your developer, what to check yourself every month, and what to do on the day something goes wrong.

It is written for NGO directors, trustees and operations staff who are not technical, and for the developers who support them. It draws on WordPress's own published hardening guidance for the platform-specific advice, and it is deliberately practical. It is not a penetration-testing guide, and it does not promise that any site can be made unhackable. Security is about making an attack expensive and a recovery quick. It also does not give legal advice on data protection duties; for that, see our separate article on donor data protection under the DPDP Act, and speak to your lawyer.

Why NGO Sites Are Worth Protecting

An NGO website often holds more sensitive material than its owners realise: donor names, phone numbers, email addresses, PAN details collected for receipts, volunteer applications, sometimes beneficiary stories and photographs. Trust is the organisation's main asset, and a defaced home page or a leaked donor list damages it quickly. A compromised site can also be used to send spam, host scam pages or redirect visitors elsewhere, which can get your domain flagged by browsers and search engines.

Small organisations are not targeted personally in most cases. Automated scanners look for known weaknesses across millions of sites. An out-of-date plugin is found by a machine, not chosen by an enemy. That is encouraging, because it means that routine hygiene removes most of the risk.

Start With What You Run: Know Your Stack

Security advice depends on what the site is built with. Most NGO sites fall into one of three groups.

  • WordPress with plugins. The most common. Flexible and well documented, but every plugin is extra code that needs updates.
  • A custom-built site. Fewer moving parts from third parties, but security depends on how carefully it was written and maintained.
  • A hosted platform or no-code builder. The vendor handles the server, and you manage accounts and content.

Write down which one you have, where it is hosted, who has the hosting login, who owns the domain and who holds the administrator accounts. If you cannot answer those questions in a minute, that is the first finding. Our website handover and ownership checklist lists what an organisation should hold after any build.

Updates: The Single Biggest Habit

WordPress's published hardening guidance is blunt on this point: older versions of WordPress are not maintained with security updates. It recommends keeping WordPress current, enabling automatic updates where suitable, downloading WordPress only from wordpress.org, and updating plugins, themes, the operating system and your browser as well.

In practice:

  • Set a monthly update slot. Put it in someone's calendar with a name against it.
  • Test updates on a staging copy for a donation site if you can, because a broken donation page costs money. If you cannot, take a backup first.
  • Remove plugins and themes you do not use. Deactivated is not the same as deleted; unused code still sits on the server. The WordPress guidance specifically advises deleting unused plugins and themes and installing only from trusted sources.
  • Avoid pirated or "nulled" premium themes and plugins. They are a common route for hidden malware.
  • If a plugin has been abandoned by its author, plan to replace it.

Accounts and Passwords: Who Can Do What

Most avoidable incidents involve a login. Use the following rules.

  1. One person, one account. No shared "admin" login. When a volunteer leaves, you disable one account, not change a password everyone knows.
  2. Least privilege. A person who writes news posts needs an editor or author role, not administrator. WordPress ships with several roles for this purpose.
  3. No obvious usernames. The WordPress guidance advises against names like "admin" or "webmaster", and suggests renaming an existing account that uses one.
  4. Long, unique passwords kept in a password manager. The guidance recommends long, mixed-character passwords and avoiding names, dictionary words and numeric-only strings.
  5. Two-step verification for every account that can edit or publish. The WordPress guidance recommends enabling two-step authentication as an extra safeguard.
  6. Review accounts quarterly. Remove people who have left, and check who still holds administrator rights.

Include the accounts outside the website: the hosting panel, the domain registrar, the email provider, the payment dashboard and the analytics account. An attacker who gets into your registrar can take your domain even if the site is flawless.

Hosting and Server Basics

Cheap shared hosting is common for NGOs and can be adequate, but check a few things.

  • HTTPS everywhere. The entire site, not only the donation page, should load over HTTPS, and the administration area should too. The WordPress guidance recommends HTTPS for administration. Certificates can be free through providers such as Let's Encrypt, so there is no reason for a donation site to lack one.
  • SFTP rather than FTP. The WordPress guidance advises using SFTP so credentials are not sent in plain text.
  • Current PHP version. Ask your host which version you are running and whether it is still supported.
  • Separate sites, separate accounts. If one hosting account runs your NGO site, your trustee's other business and an old experiment, one compromise can reach all of them.
  • A host that provides backups, but not as your only backup. Treat the host's copy as a convenience, not a plan.

For comparing hosting types in general, our hosting comparison for Pune small businesses explains the trade-offs between shared, cloud and dedicated options.

Hardening the WordPress Install

If you use WordPress, the platform's own hardening page lists measures that are safe and worth doing. Some of the most useful, in plain language:

  • Disable file editing in the dashboard. Adding one line, define( 'DISALLOW_FILE_EDIT', true );, to the configuration file stops anyone with dashboard access from editing theme and plugin code there. If an attacker gets an editor-level login, they cannot so easily inject code through the editor.
  • Restrict file permissions. The guidance suggests that core directories should be writable only by the account that needs it, with typical settings of 644 for files and 755 for directories, and that only the content directory needs broader write access.
  • Protect the configuration file. It holds database credentials. The guidance suggests restricting its permissions and, where feasible, keeping it above the web root.
  • Use a separate database and database user for each site, and consider a non-default table prefix.
  • Add a second layer in front of the admin area, such as HTTP basic authentication, if your host makes it easy.
  • Keep regular, tested backups, review logs and monitor for unexpected file changes. The guidance lists backups, logging and monitoring as part of hardening.

None of these needs deep skill, but several do need access to the server, so ask your developer to apply them and show you the result. Our WordPress security checklist for businesses goes through a longer list in the same spirit.

Donation Forms and Payments: Reduce What You Hold

The best way to protect card data is not to touch it. A donation page that redirects to, or embeds fields hosted by, a licensed payment provider means card numbers go to the provider and never sit in your database. Ask your developer plainly: do card numbers ever pass through or get stored on our server? The answer should be no.

What you will still hold are the donor's details: name, contact information, donation amount and reference, perhaps a PAN for a receipt. Reduce that too:

  • Collect only the fields you need for the receipt and for your legal records. Our guide to recurring donations and retention and the one on 80G-compliant donation platforms discuss what a donation system typically records.
  • Keep payment reference IDs, not payment instrument details.
  • Restrict who can export donor lists. Exporting a spreadsheet to a personal laptop is a common leak route.
  • Delete data you no longer need, according to the retention period your advisers set.

We are deliberately not covering payment fees, gateway choice or reconciliation here, which are matters for your finance team and payment provider.

Spam, Bots and Fake Donations

Donation and contact forms attract bots. Card-testing bots, which try stolen card numbers in small amounts on donation pages, are a known annoyance for charities generally. We have not measured their frequency on Indian NGO sites, and you should not assume it is high, but you should be ready.

Sensible protections include:

  • A challenge such as a CAPTCHA or similar bot check on public forms, chosen with accessibility in mind so that it does not shut out donors with disabilities. Our article on NGO website accessibility under the RPWD Act explains why that matters.
  • Rate limits on how many attempts one visitor can make.
  • Your payment provider's own fraud tools, which you should ask them about.
  • Email alerts for unusual patterns, such as dozens of tiny donations in a few minutes.

Backups: The Part Everyone Skips Testing

A backup you have never restored is a hope, not a backup. Our guide to website backup and disaster recovery covers the detail; the essentials for an NGO are these.

  1. What: the database and the uploaded files, not only one of them.
  2. How often: daily if donations arrive daily; weekly may do for a brochure site.
  3. Where: off the web server, in a separate account or storage service. A backup on the same server is lost with the server.
  4. How long to keep: enough copies to go back before a problem started, because malware can sit unnoticed for days.
  5. Test: once a quarter, restore to a spare location and check that the site and donation page work. Record how long it took.
  6. Who knows how: at least two people should know where the backups are and how to restore.

Monitoring: Noticing Before Your Donors Do

Small signs of trouble appear before a disaster. Set up:

  • An uptime monitor that emails or messages you if the site goes down.
  • Search Console, which can warn you about security issues and unexpected pages indexed.
  • Alerts from your security plugin or host about file changes, if available.
  • A habit of occasionally searching Google for your own site name plus words like "casino" or "pills", which sometimes reveals injected spam pages.
  • A look at who logged in and when, if your system keeps a login history.

What To Do If the Site Is Compromised

Decide the plan now, while calm. A short version:

  1. Do not panic-delete. Take a copy of the affected site first if you can, so that your developer can see what happened.
  2. Contact your developer or host immediately and tell them what you saw and when.
  3. Change passwords for the site, hosting, database and email accounts, starting from a clean device, and revoke old sessions.
  4. Restore from a clean backup taken before the compromise, then update everything before bringing it back online.
  5. Find the way in. Restoring without closing the hole invites a repeat. Look for outdated plugins, weak or reused passwords, and unknown administrator accounts.
  6. Consider your obligations. If donor personal data may have been exposed, ask your lawyer about notification duties under the applicable law. We do not give that advice here.
  7. Tell your supporters honestly if their data was affected, in plain words and without drama.

A Monthly Security Routine for a Small NGO Team

This takes about an hour once it is a habit.

  • Apply WordPress core, plugin and theme updates; remove anything unused.
  • Check the list of users and remove anyone who no longer needs access.
  • Confirm that last night's backup exists and note its size.
  • Look at the uptime report and any security alerts.
  • Submit a test donation of a small amount through your normal process if your payment provider allows test mode, and check that the receipt and records are right.
  • Update a short log saying who did what.

Quarterly, restore a backup to a test location. Once a year, review the whole setup with your developer, including hosting, domain renewal dates and payment account access.

What to Ask a Developer or Agency

  • Who holds the administrator accounts, the hosting login and the domain?
  • How are updates handled, and are they included in the support plan?
  • Where are backups stored, how often, and when was the last test restore?
  • Does any card data touch our server?
  • Which plugins do we use, and why does each one need to be there?
  • What happens, and who is called, if the site is compromised on a Sunday?

Vague answers are themselves information. Our website maintenance guide explains what a proper support arrangement should cover.

Frequently Asked Questions

How do I keep an NGO donation website secure?

Keep all software updated, give each person their own login with limited rights, use two-step verification for editors, keep tested off-server backups, use HTTPS everywhere, and let a licensed payment provider handle card details.

Does my NGO website need a security plugin?

A plugin can help with monitoring and login protection, but it does not replace updates, strong accounts and backups. Choose one maintained by a reputable author and do not stack several that overlap.

How often should an NGO website be backed up?

Daily if donations arrive daily, weekly may suffice for a mostly static site. Store copies away from the web server and test a restore at least once a quarter.

Should our NGO store donors' card details?

No. Use a licensed payment provider so that card numbers go straight to them. Store only the details you need for receipts and records, and restrict who can export them.

What should we do first if our website is hacked?

Contact your developer or host, preserve a copy, change passwords from a clean device, restore from a clean backup, then find and close the way in before going live again.

Need a Safer Donation Website?

Govindani Infotech, a website design and development company at 2nd Floor, Landmark Plaza, 206 Satara Road, Parvati Paytha, Pune 411009, has engineered more than 500 non-profit websites and supports them after launch. See our NGO website solutions and website creation services, then contact us or call 092019 58274.

Sources:

About the author: written by the Govindani Infotech NGO web development team in Pune.

Need Help With Your Digital Strategy?

Govindani Infotech helps Indian businesses and NGOs build websites, run ads, and grow online. Contact us for a free consultation.