# Check your website for sensitive files left online and close the doors you didn't mean to open.

> Find sensitive files left public by mistake, such as .env settings, .git folders and backups, with plain steps to remove them. For verified domains.

Source: https://scandefend.com/checks/exposed-files

Exposed files check

Verified sites · 7 checks

Settings files, code folders and backups sometimes end up in the public web folder. Find them before anyone else does.

-   No card for the free check
-   Results usually in minutes
-   $8 for 1 check, $18 for 5, $59 for 20 (+ applicable tax)
-   No subscription needed
-   [View sample report](https://scandefend.com/sample-report?utm_source=ai&utm_medium=referral&utm_campaign=ai-md&utm_content=checks-exposed-files)

The short answer

A forgotten .env file, .git folder or backup copy can hand out passwords and code to anyone who knows the address. We look for common sensitive files left online and tell you exactly what to remove and what to change. It is included once you have verified your domain with ScanDefend.

[See a sample report](https://scandefend.com/sample-report?utm_source=ai&utm_medium=referral&utm_campaign=ai-md&utm_content=checks-exposed-files) [All checks](https://scandefend.com/checks?utm_source=ai&utm_medium=referral&utm_campaign=ai-md&utm_content=checks-exposed-files)

What we check

## What we look at. Evidence and plain-English fixes.

Part of every Quick Scan on a verified domain, alongside [the other checks](https://scandefend.com/checks?utm_source=ai&utm_medium=referral&utm_campaign=ai-md&utm_content=checks-exposed-files).

-   ### Environment files

    Files such as .env that hold passwords and keys.

-   ### Code repository folders

    A public folder such as .git or .svn that gives away your source code.

-   ### Configuration and database backups

    Copies of your settings and data left in public, for WordPress, Joomla, Drupal, Magento and more.

-   ### Error logs and password files

    Logs that show file paths and errors, and .htpasswd logins.

-   ### Server information pages

    Pages that reveal how your server is set up.

-   ### System files

    Leftover files that list your folders.

-   ### WordPress exposure

    Whether a WordPress site gives away its usernames or leaves its remote-access interface open.

Why it matters

## Small settings. A big difference for your visitors.

-   ### Keep passwords private

    Spot a settings file before it is found.

-   ### Calm, exact results

    A file is reported only when we recognise what it is.

-   ### Quick to close

    Usually delete the file and add one server rule.

What a finding looks like

## Plain English. With the evidence behind it.

[Open the full sample report](https://scandefend.com/sample-report?utm_source=ai&utm_medium=referral&utm_campaign=ai-md&utm_content=checks-exposed-files)

X1 · exposed-files

### Move a settings file out of your public web folder

High Confirmed Hours

What it means

A file named .env can be downloaded from your site. Files like this usually hold passwords and keys, so anyone who opens the address can read them.

Evidence

```
https://example.com/.env
found · 214 bytes
DB_PASSWORD=•••  (values hidden)
```

Fix

Delete the file from the public folder, block hidden files in your web server, and change the passwords and keys it held.

How to fix it

## A few clear steps. In the order to take them.

Your report has the exact fix for your site, ready to forward to whoever looks after it.

1.  Delete the file from your public web folder and keep backups in private storage.

2.  Block hidden files in your web server or Cloudflare so they can never be served.

3.  Change any password, key or token that was in the file, then run another check.

Block hidden files in nginx

```
location ~ /\.(?!well-known) { deny all; }
```

Questions

## Exposed files questions.

Something else? [support@scandefend.com](mailto:support@scandefend.com)

**Why do I need to verify my domain for this check?**

This check is only run on domains your organisation has verified as yours. Verify once in your dashboard and it is included in every check.

**Do you keep or show what is inside the files?**

Never. We keep only the file's name, size and type. For an environment file we list the setting names, with every value hidden.

**What if you find nothing?**

Then none of the common sensitive files we look for were left online, which is the result you want. Unusual files sit outside a Quick Scan.

Keep exploring

## Related checks. All part of the same Quick Scan.

-   [7 checks Exposed keys Secret keys and internal details left in public code.](https://scandefend.com/checks/exposed-secrets?utm_source=ai&utm_medium=referral&utm_campaign=ai-md&utm_content=checks-exposed-files)
-   [6 checks Outdated software Old versions, plugins and known vulnerabilities in what we find.](https://scandefend.com/checks/outdated-software?utm_source=ai&utm_medium=referral&utm_campaign=ai-md&utm_content=checks-exposed-files)
-   [8 checks Security headers HSTS, CSP and the other browser protections your site turns on.](https://scandefend.com/check-security-headers?utm_source=ai&utm_medium=referral&utm_campaign=ai-md&utm_content=checks-exposed-files)

Also useful: [What we check](https://scandefend.com/checks?utm_source=ai&utm_medium=referral&utm_campaign=ai-md&utm_content=checks-exposed-files) [Sample report](https://scandefend.com/sample-report?utm_source=ai&utm_medium=referral&utm_campaign=ai-md&utm_content=checks-exposed-files) [Pricing](https://scandefend.com/pricing?utm_source=ai&utm_medium=referral&utm_campaign=ai-md&utm_content=checks-exposed-files) [For developers](https://scandefend.com/for/developers?utm_source=ai&utm_medium=referral&utm_campaign=ai-md&utm_content=checks-exposed-files)

## See what your website shows. Know what to fix first.

[See pricing](https://scandefend.com/pricing?utm_source=ai&utm_medium=referral&utm_campaign=ai-md&utm_content=checks-exposed-files)

Every Quick Scan 11 areas

-   HTTPS and redirects
-   Encryption (TLS) test
-   Security headers
-   Email security
-   Outdated software and plugins
-   Known vulnerabilities
-   Cookie security
-   Google blocklist
-   Exposed keys
-   Exposed files (verified sites)
-   DNS health

One report, with plain-English fixes

These are the USD list prices; the website shows each visitor prices in their own local currency, which vary by country.
