NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
I hate to be pessimistic but ... (Score:1)
Ilya Martynov (http://martynov.org/ [martynov.org])
Re:I hate to be pessimistic but ... (Score:2)
Re:I hate to be pessimistic but ... (Score:2)
I don't think it's limited to one call, but even if it is you always have Good Ol'
eval()there so it don't make much of a diff I'm afraid.-- Robin Berjon [berjon.com]
Re:I hate to be pessimistic but ... (Score:2)
Still, I think overall that means you've got a lot less coding to do with AxKit than with other (inferior
Re:I hate to be pessimistic but ... (Score:2)
AxKit has the pro re XSS that it will be more likely to blow up given some treacherous charset than other solutions will be, especially if you charconv from UTF-8 to Latin-X at the end. Apart from that, it's prolly just as open as anything that deals with user-provided content.
I'm not sure there's much to protecting the Wiki. A Wiki is, by definition, well, XSS enabled :) It pretty much works based on trusting other people. At any rate if you want to protect against javascript URLs, I'd check on
!/-- Robin Berjon [berjon.com]
Re:I hate to be pessimistic but ... (Score:1)
Ilya Martynov (http://martynov.org/ [martynov.org])
Re:I hate to be pessimistic but ... (Score:2)
Depends on what kind of security you want. For axkit.org's Wiki I'd allow everything, including javascript:, so that we can have bookmarklets in there. For a site that has sensitive information I wouldn't use a Wiki.
-- Robin Berjon [berjon.com]
Reply to This
Parent
Re:I hate to be pessimistic but ... (Score:2)
Javascript is just too dangerous.
There's probably still bugs in the wiki in that it allows XML input, so you may be able to sneak something by that way, but hopefully the XSLT should disallow anything but known tags (and filter attributes sanely).