There are many times where it is useful to setup a small repository for apt-get to install packages from. The downside of placing such a repository in a publicly available place means that other people might start using it. Here we'll look at a couple of simple ways of restricting access.
There are many reasons why you might want to have restricted access to your repository:
* The repository contains packages for internal use, personal and/or commercial.
* You host a private mirror for your company.
* You are a software vendor that provides commercial updates for packages.
* You are a software vendor that provides proprietary software for Linux and want to integrate it with apt-get
1) Using ftp/sftp
Full Story .