Here's an example of a URL of a file from a restricted
web repository.
This URL is too long to fit on one line.
It is broken up into multiple lines, for readability:
The URL of this repository is
"http://www.example.com/dev/lpm".
The path portion of the computed hash is
"packages/lpmtool-0.01-199.i386.lp",
and the authorization key is "citizenkane:rosebud":
A very basic implementation of a restricted access repository can be set up
using the
lpmauthrepo and
setauthrepo scripts, which are included with LPMtool.
These scripts require a modern version of the Apache
HTTP server, and Perl.
See the
lpmauthrepo(8)
and
setauthrepo(8)
manual pages for more information.