Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Authenticated MiniCPAN?

by zerohero (Monk)
on Feb 19, 2009 at 07:39 UTC ( [id://744962]=perlquestion: print w/replies, xml ) Need Help??

zerohero has asked for the wisdom of the Perl Monks concerning the following question:

I would like to use the "mini CPAN" approach to deployment for private packages. That is, to have modules which are for clients hosted on a machine on the internet that is running mini CPAN. Is there an easy way to have authentication employed? e.g. Some way to authenticate and then have cpan> download the private client packages over HTTPS, and then continue downloading the "normal" public perl modules from a public CPAN site.

The optimal setup would be to do "install Bundle::ClientApp", and then have cpan find the private packages on my site, and the public packages on one of the normal CPAN mirrors.

Replies are listed 'Best First'.
Re: Authenticated MiniCPAN?
by jasonk (Parson) on Feb 20, 2009 at 03:08 UTC

    If you just protect the repository with regular old Basic (htaccess) authentication, you could specify a username and password as part of the URL for CPAN, such as https://username:password@example.com/CPAN


    www.jasonkohles.com
    We're not surrounded, we're in a target-rich environment!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://744962]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2024-03-28 12:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found