If a user inadvertently places their Bitcoin data directory within a public-facing public_html folder or an open DigitalOcean Space or AWS S3 bucket, the file becomes indexed by Google. Anyone clicking the link can download the file instantly. The Anatomy of the wallet.dat File
If you are struggling with a wallet.dat file, seeking to "index" it is not the answer. Instead, implementing better security practices is the only path to safety. 1. Backup, Backup, Backup (The Correct Way) indexofbitcoinwalletdat better