Re: Re: login with CVS accounts on docs.php.net
| From: | Nuno Lopes | Date: | Fri, 11 Jun 2004 09:57:43 +0000 |
| Subject: | Re: Re: login with CVS accounts on docs.php.net | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.doc.web |
| Request: | Send a blank email to doc-web+get-38@lists.php.net to get a copy of this message | ||
> A)
>
> - user CURL to post the username and data to
> master.php.net/manage/user.php when the user
> hits docs.php.net with a magic cookie, or tries to log
> in there
>
> - if we get a magic cookie back, then we set it for the user
> (if it is not already set) and note the trusted status of
> that cookie in a session.
>
> B)
>
> - set up a token protected authentication page working with
> GET method at master.php.net (with a token set up for just
> this purpose)
>
> - this is easier to call, since it does not need curl magic,
> and can only be called from a server knowing that token
>
> - but the end result is very similar. either we get the stuff we
> need to set in the magic cookie, or not (in the body of the HTTP
> response)
I would prefer B) since its easier to do :)
Nuno