Sure very simply - backup your file first.
First we need to know the number of the group number you want to allow to see files.
We can do an SQL Query in your admin menu to find this:
SELECT * FROM w3t_Groups
That'll list all your groups. Note the number of the group you want to access files. Let's assume right now, it's group #5.
Now open and modify the download.php script.
Find this:
<br /> $user = $userob -> authenticate("U_Groups");<br />Change to this:
<br /> $user = $userob -> authenticate("U_Groups");<br /><br />if (!strstr($user['U_Groups'],"-5-")) {<br /> $html -> not_right("You are not authorized to view files.",$Cat);<br />}<br />Now only group 5 will be able to view files. Hope that helps.
