Why it matters

Automated tools request files like configuration settings and version control folders on every website they visit, because developers or site owners often upload them by accident 1. A configuration file usually holds database passwords and keys to email, payment or cloud services 1. A version control folder lets anyone download your site's code and its history, which often contains old passwords and shows attackers exactly how the site works 1. Status and PHP information pages reveal software versions and settings that help an attacker plan 1. We only checked that these files load, and never kept or read their contents beyond recognising what they are 1.

How to tell if this affects you

If you or a web developer built your business website using common tools or Git version control, or if a security check reported that your source code or sensitive files can be downloaded, your site is likely affected 1. Automated scanners look for these paths constantly to find leaked credentials 1.

Can you fix it yourself?

Yes, many small business owners or their IT support staff can handle this by removing the exposed files, updating leaked credentials, and adjusting web server rules 1. If you use a managed website platform, your host may need to assist 1.

What to do

  1. If a configuration or secrets file was exposed, treat every secret in it as stolen 1. Change each password and replace each key (database, email, payment, cloud) in the service that issued it, not just in the file 1. Do this first, because removing the file doesn't undo what may already have been copied 1.
  2. Remove the files from the website, or block them in the web server 1. For Apache, deny access to files and folders starting with a dot; for Nginx, add a specific rule that denies them 1. Your host or developer can do this in minutes 1.
  3. Keep version control folders off the server 1. Deploy only the built site, not the repository 1. If code with secrets was exposed, the secrets in its history count as stolen too 1.
  4. Turn off status and debug pages, or limit them to your own address 1.
  5. Check for misuse by looking at recent sign-ins and activity in the services whose keys were exposed 1.

Check your fix

Run a rescan 1. Opening the file's address in a browser should show a "not found" or "forbidden" error page 1.

When to get professional help

Get professional help if you find evidence that unauthorized users accessed your accounts, if you are unsure how to change server configuration rules for Apache or Nginx, or if your website is managed by an outsourced developer who is unavailable.