title: Set up private yum repo with basic auth
body: <p>I have set my own private yum repo. This is an HTTP base repo with a Apache as a web server, so I would like to add some kind of authentication. Is this something I need to do with Apache or is there anything I can do with the createrepo library to specify a user-name and password?
  The final goal is to have several repos:</p>
  
  <p>Dev-Repo, QA-Repo, Staging-Repo, and Production-Repo</p>
  
  <p>I want developers to have access to only the dev-repo, have QA access only QA-Repo and so on...</p>