I'm reading this tutorial for creating a local repo.

Now, I want to make my repo private, so only if you provide a username/password then should you be able to access the Debian package.

How do I do that?


1 Answer 1


You configure your web server, FTP server, etc.—whatever you're using to share the repository with other machines—to require authentication.

The repository is just a bunch of files that your web server (typically) serves; there isn't really anything special about it. So you configure authentication the normal way for whichever web server you're using.

Debian Administration has a guide listing several methods.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.