I've also fixed the problem with unregistered users being able to view the files listing. On my board I have it set up the same way as the member's list. If they can view the member's list (which unregistered users can't) then they can view the files listing.
In fileslist.php
Find:
PHP Code:
// EDITABLE ///////////////////////////////////////////////////////////////
// Change the the number below to the amount of files you wish to display per page
//
$perpage = '30';
//
// End of files per page script
// EDITABLE ///////////////////////////////////////////////////////////////
BELOW it add:
PHP Code:
// permissions check
if (!($permissions['forumpermissions'] & CANVIEW) OR !($permissions['genericpermissions'] & CANVIEWMEMBERS))
{
print_no_permission();
}