htaccess to block folders

Giganews Newsgroups
Subject: htaccess to block folders
Posted by:  john454 (2015feb…@gmail.com)
Date: Fri, 7 Mar 2008

On my domain, my host created a folder www.domain.com/stats

As per the host, this folder needs to stay, but as it stands now,
anyone can access the data in this folder.

I want to prevent everyone (including myself and search engines) from
accessing anything in this data from a browser.

Would someone have some htaccess code to allow me to do this. I prefer
not to go the route of htaccess usernames/passwords, I just want to
prevent all access.

Thank you

Replies