Htaccess deny all subfolders and files

is it possible to have 1 htaccesss file to deny access to all subfolders and files inside these subfolders?

obviously without copying this htaccess file to every one of these folders below.