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...
Message search is now enhanced, find messages faster. Take it for a spin.

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 #82 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?

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

It may be beneficial to come up with wiki markups for the remaining
commonly used html tags to eliminate both security and
malformed document problems. If anything, its the wiki markups
that distinguish wiki from other collaborative document systems
(aka domino, etc). So, even if you don't want to use them all, it
may be good to standardize on a comprehensive set of wiki
markups just to maintain cohesion.

As far as TWiki in particular is concerned, I think the big decision
is how easily does the code need to make switching between wiki
"modes". Adding markups to the parser is relatively easy.
Removing tags is a bit more work. Right now, you have to go into
the wiki parser and comment out each tag you don't want. In
addition, you must explicitly change the code if you don't match
the "allow html" mode that TWiki ships with. Should this be a set
of flags in the wikicfg instead? Or maybe a security mode setting,
high security meaning no html tags, large wiki tag set, medium
being limited html tags (tags from a "white list" of safe html),
medium wiki tag set, and low security being allow any html tags
and use the medium wiki tag set?

-iain



Sun Mar 5, 2000 4:36 pm

iainshigeoka@...
Send Email Send Email

Forward
Message #82 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