Does anyone actually allow HTML in posts?

Discussion in 'Security and Legal' started by Soliloquy, Jun 4, 2009.

  1. Soliloquy

    Soliloquy Regular Member

    Joined:
    Jun 3, 2009
    Messages:
    2,402
    Likes Received:
    66
    Location:
    New York City
    Considering that it's not secure and is turned off by default (well, in vBulletin anyway), does anyone actually allow HTML in posts on their forum? For what reason?
     
  2. Chris

    Chris Regular Member

    Joined:
    Dec 27, 2007
    Messages:
    5,422
    Likes Received:
    86
    This is an interesting topic - I'd be interested in hearing what people have to say regarding this matter.
     
  3. Tom

    Tom Regular Member

    Joined:
    May 27, 2009
    Messages:
    153
    Likes Received:
    18
    Location:
    New York
    I allow HTML in topics, for sure.

    I have no reason, I just allow it. Some people prefer the HTML rather than the IMG code.
     
  4. Soliloquy

    Soliloquy Regular Member

    Joined:
    Jun 3, 2009
    Messages:
    2,402
    Likes Received:
    66
    Location:
    New York City
    Has it caused any problems for you yet, Tom? No one has tried to post malicious stuff?
     
  5. Tom

    Tom Regular Member

    Joined:
    May 27, 2009
    Messages:
    153
    Likes Received:
    18
    Location:
    New York
    No, not that I know of.

    Not many people upload HTML images. They'd use IMG codes or links.
     
  6. kev

    kev Regular Member

    Joined:
    Mar 9, 2009
    Messages:
    1,224
    Likes Received:
    61
    No, I do not allow html. It presents too much of a security issue.
     
  7. Lynne

    Lynne Regular Member

    Joined:
    May 26, 2009
    Messages:
    333
    Likes Received:
    32
    Location:
    Home Sweet Home!
    Only allowed in my Staff forums.
     
  8. John

    John Regular Member

    Joined:
    May 23, 2009
    Messages:
    757
    Likes Received:
    87
    Location:
    Tennessee
    I do not allow html in users post. I only allow myself to be able to post html in my posts.
     
  9. Nick

    Nick Regular Member

    Joined:
    Jul 27, 2008
    Messages:
    7,441
    Likes Received:
    218
    I don't permit HTML on any of my forums for anybody - including administrators. It's just too great of a security risk and it simply isn't worth it.

    Tom, I'm surprised that you haven't had any issues with it thus far. Are you aware of the security risks it presents?
     
  10. Tom

    Tom Regular Member

    Joined:
    May 27, 2009
    Messages:
    153
    Likes Received:
    18
    Location:
    New York
    No, I am not aware.

    Please tell me why I should be aware. :eek: - but don't tell me too much too fast because we are a designer's forum, so HTML must/can/may be used.
     
  11. Nick

    Nick Regular Member

    Joined:
    Jul 27, 2008
    Messages:
    7,441
    Likes Received:
    218
    Users can easily post malicious code that may compromise your forum or database, if I'm not mistaken.

    I don't know the specifics - just that it opens a huge window for abuse and corruption. Hopefully somebody can come along and fill us in on the details.

    I've visited many design forums, none of which have HTML enabled. Is there a reason you feel the necessity to enable it? I'm just curious...
     
  12. Vekseid

    Vekseid Regular Member

    Joined:
    Jun 2, 2009
    Messages:
    393
    Likes Received:
    13
    My Drupal community will allow it : )
     
  13. Tom

    Tom Regular Member

    Joined:
    May 27, 2009
    Messages:
    153
    Likes Received:
    18
    Location:
    New York
    Thanks for the advisory.

    Well, some designers code in HTML, so maybe when posting a code, they'd like to use HTML, or whatever.

    No specific reason.
     
  14. Nick

    Nick Regular Member

    Joined:
    Jul 27, 2008
    Messages:
    7,441
    Likes Received:
    218
    Well even when HTML is disable you can post HTML code to share with the community. It just won't be parsed.

    For example:
    HTML:
    <table width="890px" border="0" cellpadding="0" cellspacing="0"
    style="margin-top:1px;background-color:#606060;border-bottom:1px solid black">
    <tr style="height:48px">
    <td width="15px"></td>
    <td width="500px" valign="middle" style="text-align:left">
    <img style="margin-top:6px" border="0" src="/images/h_logo.gif" width="203" height="20" alt="w3schools" title="w3schools" />
    </td>
    <td align="right" valign="bottom" style="color:white;font-size:10px;font-weight:bold">
    <form style="margin:0px;padding:0px;" method="get" name="searchform" action="http://www.google.com/search" target="_blank">
    <table cellpadding="0" cellspacing="0" border="0" style="padding-bottom:10px"><tr>
    <td>Search W3Schools : <input type="hidden" name="sitesearch" value="www.w3schools.com" /></td>
    <td><input style="margin:0px;height:12px;width:128px;" alt="search" type="text" name="as_q" size="20" value="" /></td>
    <td><input style="margin:0px" type="image" align="middle" src="images/search.gif" /></td>
    </tr></table>
    </form>
    </td>
    <td>&nbsp</td>
    </tr>
    </table>
    
    <table width="890px" border="0" cellpadding="0" cellspacing="0" style="background-color:#606060">
    <tr style="height:20px">
    <td class="blacknav" style="border-left:none" width="50"><a class="m_item" href="/default.asp">HOME</a></td>
    <td class="blacknav" width="50"><a class="m_item" href="/html/default.asp">HTML</a></td>
    <td class="blacknav" width="40"><a class="m_item" href="/css/default.asp">CSS</a></td>
    <td class="blacknav" width="40"><a class="m_item" href="/xml/default.asp">XML</a></td>
    <td class="blacknav" width="90"><a class="m_item" href="/js/default.asp">JAVASCRIPT</a></td>
    <td class="blacknav" width="40"><a class="m_item" href="/asp/default.asp">ASP</a></td>
    <td class="blacknav" width="40"><a class="m_item" href="/php/default.asp">PHP</a></td>
    <td class="blacknav" width="40"><a class="m_item" href="/sql/default.asp">SQL</a></td>
    <td class="blacknav" width="60"><a class="m_item" href="/sitemap/sitemap_tutorials.asp">MORE...</a></td>
    <td class="blacknav"></td>
    <td class="blacknav" width="80"><a class="m_item" href="/sitemap/sitemap_references.asp">References</a></td>
    <td class="blacknav" width="70"><a class="m_item" href="/sitemap/sitemap_examples.asp">Examples</a></td>
    <td class="blacknav" width="50"><a class="m_item" href="/forum/default.asp">Forum</a></td>
    <td class="blacknav" style="border-right:none" width="50"><a class="m_item" href="/about/default.asp">About</a></td>
    </tr>
    </table>
     
  15. Vekseid

    Vekseid Regular Member

    Joined:
    Jun 2, 2009
    Messages:
    393
    Likes Received:
    13
    Code:
    <img src="somerandomimage" onload="dosomethingnasty ();" />
    
    Is the basic gist of it - triggering the various javascript event handlers. css can also be used for malicious purposes, but then again, so can the bbcode img tag.
     
  16. Tom

    Tom Regular Member

    Joined:
    May 27, 2009
    Messages:
    153
    Likes Received:
    18
    Location:
    New York
    This is true.


    I agree with you. Both HTML and IMG codes can be risky.

    Most people use IMG codes, any way, as previously mentioned.
     
  17. Ryan

    Ryan Regular Member

    Joined:
    May 27, 2009
    Messages:
    522
    Likes Received:
    58
    I do not allow HTML on any of the forums.
     

Share This Page