title: Joomla Restrict folder to user group for downloads - custom
body: <p>Im very stack with this..
  I have a membership site set with Akeeba subscriptions. Once a user is logged in, he access to the rest of the article with a Download Link on it. The problem is that the download link its just a public url and have no restrictions.</p>
  
  <p>The file to download is in a directory in the root.</p>
  
  <p>Ive tried lot of plugins and components but no one can restrict folders, only components. Was thinking that with a htacces file to give acces to a usergroups, but seems impossible. A script with restrictewd acces can work, but my problem is the downloadable files are thousands, so I just populate the directory trough an ftp account and then I associate to the article trough a XLS file with fileuplader (freakedout Content Uploader)
  Ive tried to set a media folder to restrict access to a user group... but thats also a nightmare... i found only unsolved topics in the joomla forum.. hope this is no my case.</p>
  
  <p>It looks no so complicated... but i think im far away.</p>
  
  <p>Please guys.</p>