• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Authorize login to router
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Authorize login to router


  • Subject: Re: Authorize login to router
  • From: Louis Demers <email@hidden>
  • Date: Wed, 9 Jan 2002 18:46:08 -0500

At 11:00 AM -0500 1/9/02, Evan Coyne Maloney wrote:
On Wednesday, January 9, 2002, at 04:03 AM, Ivan Myrvold wrote:

However, when using the web browser, I have to login to the router with my name and password. I solved that preliminary by looking at the http message sent by the browser when it logged in, and copied the "Extension:
Security/Remote-Passphrase\r\nAuthorization: Basic YWRta..." string at the end of the httpRequest.

But this hardcodes the login name and password in the code. It would be much better if I had a preferences window to type in the name and password in. But how do I translate that into the cryptic http authorization request?

Look into curl, it handles login and passwords easily and will permit you to change them at run times, iether through the curl api or by formatting the url as http://login:password@hostname



--

Louis Demers ing.
email@hidden
email@hidden


References: 
 >Re: Authorize login to router (From: Evan Coyne Maloney <email@hidden>)

  • Prev by Date: Idle time
  • Next by Date: Re: PDF on a NSView
  • Previous by thread: Re: Authorize login to router
  • Next by thread: Re: Authorize login to router
  • Index(es):
    • Date
    • Thread