• 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: Julien Jalon <email@hidden>
  • Date: Wed, 9 Jan 2002 17:55:39 +0100

Le mercredi 9 janvier 2002, ` 10:03 AM, Ivan Myrvold a icrit :

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?


You should be considering using the CFNetwork framework which can produce the well formed request including the authentication one.

For more info, do a research on Google Apple and look at the headers in the CFNetwork framework.

--
Julien Jalon
<http://mapage.noos.fr/jalon>


References: 
 >Authorize login to router (From: Ivan Myrvold <email@hidden>)

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