Search the web
Sign In
New User? Sign Up
WikiForum · The mailing list for Wiki administrators
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Disable HTML in Wiki Text?   Message List  
Reply | Forward Message #83 of 359 |
Re: [WikiForum] Disable HTML in Wiki Text?

>>>>


> On 5 Mar 00, at 1:43, Peter Thoeny wrote:
>
> > Disabling HTML in general plugs the security hole, but
> > puts some limits on the system. It depends on the
> > community if this is acceptable or not. For our internal
> > deployment of TWiki as a knowledge base for support it
> > is not.
> >
> > Any comments?
>
>
<<<<
There is only a security hole on systems that don't track who
may update a page. Anonymous sites.

When BASIC authentication is used and the logfiles can be
used to trace who edited what page then the propensity for
vicious acts is cut back a lot.

Attacks of that sort just don't happen
when all writers must identify themselves.
This eliminates the worst case.

>>>>


> >>>>
> From: "Iain Shigeoka" <iainshigeoka@yahoo.com>
>
<snip>

> From my limited experience, I think a larger danger than actual
> malicious code (ala scripts, etc) is just broken html. We will often
> get confusion when a <table> tag goes unclosed within the wiki
> text (it messes up the entire page formatting and usually results in
> a very broken document).
> <<<<
>
<<<<


In kehei we normally allow all html or XML.

This can be configured out - several users
wanted the ability to create XML and HTML example
pages easily so we added some markup toggles.
One toggle converts all < chars that are not
part of <wiki...> tags to &lt;
over a range of lines.

<wiki detag >
This makes all HTML visible.
<wiki /detag> ( or </wiki detag> )


In the case of accidently malformed or unbalanced
html the author is already motivated and
can/will usually correct it themselves if given a tool.

What they ask for is something to either check or get back in to edit.
We still allow &request=edit on most sites,
so if a save displays a badly made page it can be fixed.

One of my teammates is putting a validator in
the edit template [written in javascript] that looks
at the textbox contents while text is entered.
It really only needs to check for unbalanced <table /table>
and comment tags.

>>>>


> In addition, with stricter html parsers
> coming online (i.e. xhtml) it might be nice to be able to
> control/enforce better behaved html documents.
> ....
>
<<<<

We have 2 reasons not to make a list of "allowed" html.

One is to avoid having to chase the standard when html
version 5,6,7... comes around.
[note: do a search on my name and you see I have ties
with the W3C so this may sound funny coming from me...
lets just say its better to be de coupled. ]

The second is to make it easy for a savvy administrator
to use wiki to permit editing of other files on the site.

These "other" files are softlinked in by the admin.
The who-may-edit can come from a separate access file.

These files may contain markup that is definitely not HTML.
If the templates are kept simple then even these too
may be edited. This is also a reason not to be soo quick
to store wiki content in a database.

In some sites, kehei wiki can be used to edit the wiki templates.
Again this is secured, but very handy during the initial evolution
of a site.

this lets the motivated smarties proceed unhindered.




so it comes down to this for me:
- allow all html and limit edits to
subsets of members in your 'club'
depending on which page.

- allow limited html and unlimited edits by anyone.
graffiti walls.


;# mailto: bobr@dprc.net


Sun Mar 5, 2000 8:07 pm

bobr@...
Send Email Send Email

Forward
Message #83 of 359 |
Expand Messages Author Sort by Date

CERT recently released two papers about the dangers of using HTML in dynamically generated pages: Malicious HTML Tags Embedded in Client Web Requests ...
Peter Thoeny
peter.thoeny@...
Send Email
Mar 5, 2000
9:44 am

... I've been thinking about this problem a bit and am pretty torn right now between the costs/benefits of allowing html. From my limited experience, I think a...
Iain Shigeoka
iainshigeoka@...
Send Email
Mar 5, 2000
4:39 pm
Bob Racko
bobr@...
Send Email
Mar 6, 2000
1:09 am

... Easy collaboration is the most important aspect of Wiki systems, therefore the system should be forgiving to not perfectly formatted text. It would be easy...
Peter Thoeny
peter.thoeny@...
Send Email
Mar 6, 2000
8:23 am

... This brings up an interesting question I always wanted to know the answer to. Do we have any idea what the average wiki site size is (in wiki pages)? I'm...
Iain Shigeoka
iainshigeoka@...
Send Email
Mar 6, 2000
3:59 pm
Bob Racko
bobr@...
Send Email
Mar 6, 2000
4:48 pm

... We have closed to 800 pages in our internal TWiki.Know knowledge base web (a total of 1600 files with the RCS included). I don't see any performance...
Peter Thoeny
peter.thoeny@...
Send Email
Mar 8, 2000
8:45 am

... In order to know what pages link to the deleted page, you'll need to store a database of some sort of links to pages won't you? I do really like your idea...
Iain Shigeoka
iainshigeoka@...
Send Email
Mar 8, 2000
3:33 pm

... I have added a TrashCanWeb topic as brainstorming idea in the TWiki co-development web at ...
Peter Thoeny
peter.thoeny@...
Send Email
Mar 8, 2000
5:31 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help