.htaccess, as its name cryptically implies, controls access to parts of your website. Access such as how files are handled, who can access what, and redirects.
IndexIgnore hides files in an index listing of that directory, so a wildcard makes nothing show up. Personally, I use:
It prevents those directory listings from showing up in the first place.