Re: XML-RPC authentication

From: Daniel Tryba (spam_at_tryba.invalid)
Date: 12/17/04


Date: 17 Dec 2004 22:26:40 GMT

escalation746 <escalation746@yahoo.com> wrote:
> What I'd like to be able to do (at minimum) is:
> a) support 8-bit ASCII

What is 8 bit ASCII?

> b) support some sort of proper authentication, so not just any client
> can get data from the server
>
> XML-RPC does neither out of the box, but it shouldn't be too difficult
> to graft these on.

Huh! XMLRPC should by the fact that it is XML support UTF8...

RPC.php:
...
$parser = xml_parser_create($XML_RPC_defencoding);
...

http://nl3.php.net/xml_parser_create :
The supported encodings are ISO-8859-1, UTF-8 and US-ASCII.

So it does support characters outside of 7bit ascii. But above code
sucks bigtime since all XML will be parsed as $XML_RPC_defencoding
(UTF-8): _BUG_

And to authenitcation: a sessionid. If request doesn't contain a (valid)
sessiondID, deny request. Client should get an ID first.



Relevant Pages

  • Re: new version of dsktool.rb released
    ... tool + library for working with DSK files (as used with Apple] ... This release adds CP/M file system support - the full list of file ... DOS 3.3 (read/write) ... AWP (converted to ASCII text) ...
    (comp.sys.apple2)
  • new version of dsktool.rb released
    ... tool + library for working with DSK files (as used with Apple] ... This release adds CP/M file system support - the full list of file ... DOS 3.3 (read/write) ... AWP (converted to ASCII text) ...
    (comp.sys.apple2)
  • Re: PEP 3131: Supporting Non-ASCII Identifiers
    ... should non-ASCII identifiers be supported? ... While I can read the code with Hebrew, Russian or Greek names ... transliterated to ASCII, I would not be able to read such code in native. ... Plenty of programming languages already support unicode identifiers, ...
    (comp.lang.python)
  • Re: /usr/lib/nls/charmap/IBM-1047
    ... UCS-4: 000000DE LATIN CAPITAL LETTER THORN ... ASCII E8: 00850 00858 ... there is no way that CP 1047 can support or not support ...
    (bit.listserv.ibm-main)
  • RE: LSA vs LSP GUI on Vista/2008?
    ... I can confirm that there are no APIs to query domain security policy. ... FileSystemObject only can read ASCII text files (see KB ... Microsoft Online Community Support ... initial response from the community or a Microsoft Support Engineer within ...
    (microsoft.public.platformsdk.security)