Home arrow FAQ arrow Remository general arrow Securing Remository files
Securing Remository files
Contributed by Administrator   
Jun 16, 2008 at 09:59 AM

You should secure your file repository against direct access, otherwise you may find that your bandwidth is being used but your site is not getting any credit for the files that are delivered by other web sites.  There are three ways to do this:

  1. If all your files are in the database (the inital default for a new Remository installation) then you are secure already
  2. Place all your files in directories that are outside the document root (that is, go up a directory level from anything that it is accessible through the web server and then create a new directory).  Remember that the path shown for downloads in the general configuration is only a DEFAULT and the actual path is determined for each container.  Versions of Remository from 3.45 will attempt to create the downloads directory in this way for a COMPLETELY NEW installation, but directory permissions may make it impossible for Remository to do this.
  3. If the files are held in a directory that is within the document root, then use .htacess to block direct access.  This can be done by creating a .htaccess file that contains the lines:
    order deny,allow
    deny from all
<Previous   Next>

Save FM Radio


Subscribe to Premium Support

Get priority support for Remository and Glossary, sign up now for a Premium Support monthly subscription:

Your Remository user name

Or purchase a year's support:

Your Remository user name

Who is Online

Remository welcomes guests and visitors

Real Time Web Analytics