@petrescatraian@libranet.de to add on to this, you can also use apt_auth.conf (man doc) to define the passwords for accessing your stuff. The repo has to be behind HTTP basic auth.
This is something companies do, but I believe acess control is by firewall/VPN not the repo tools. As far as I can tell, if you can access the IP address of the URL assets you can get the assets. So making it private is a matter of setting up access to the server(s) not a configuration of the tools that manage the repository.
I'd ask on a debian focused irc/chat room/ mailing list to find out more.
There is no magic. Creating Yum or APT repos boils down to having packages and their metadata in a structured format and making it consumable over HTTP. To get started, you can also inspect any upstream repo in your browser.
Good luck. Feel free to report back if you have more specific questions.
I don't think this gets at what they are trying to set up. The want to set up access control to the repo such that someone with the URL of the repo can't get access it without being on an allowlist. In other words, they want private access to the repo they set up.
Maybe I'm not reading their description accurately, but that's how I took it.
I don't think this gets at what they are trying to do. I think they want to set up access control to the repo. They want access to the repo to be private but also use it for themselves like any other repo.
@ipacialsection I already have the debs, just looking for a repo for them to store them in a kind of more useful way. I was looking at openbuildservice.org, but I'm unsure about their terms. If I have a few games as debs that I legally got, and add them there, will they risk being taken down because of piracy? Or would I be able to set a private repo as well so only I could access it?
I honestly have only passing knowledge of it, but my understanding is that Open Build Service is more for sharing software whose source code you are allowed to distribute. If you aren't looking to distribute at all, the solutions other users suggested might be better.