• 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
Authorize login to router
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Authorize login to router


  • Subject: Authorize login to router
  • From: Ivan Myrvold <email@hidden>
  • Date: Wed, 9 Jan 2002 10:03:29 +0100

I am writing a Cocoa front end application to my Draytek ISDN router, replacing the web browser interface.

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?

Ivan


  • Follow-Ups:
    • Re: Authorize login to router
      • From: Finlay Dobbie <email@hidden>
    • Re: Authorize login to router
      • From: Julien Jalon <email@hidden>
    • Re: Authorize login to router
      • From: Evan Coyne Maloney <email@hidden>
  • Prev by Date: Re: Curly quotes don't work in Localizable.strings
  • Next by Date: Resize transparent windows
  • Previous by thread: Re: Moriarity samplecode (taskwrapper)
  • Next by thread: Re: Authorize login to router
  • Index(es):
    • Date
    • Thread