tl;dr at the bottom of the post
See, the thing is that the filtering of malicious javascripts works quite well if the person writing them knows what they're doing. It gets difficult when they don't and try to add broken code to the site. Broken code breaks the parser which breaks the forums, roughly speaking.
(10-17-2015, 09:23 PM)Someone else Wrote: In all honesty HTML probably should be disabled altogether in signatures and anywhere else for that matter. If people want tables and fancy stuff then there should simply be bbcodes for them.
If an iframe can mess up the forum layout then I do not want to see a cross site scripting attack.
Thinking similar. Yes, html lets us have pretty signatures but it should be security over design. Considering the things that are possible with the current setup, it seems about time to limit that. In fact, from all online platforms I am registered at, LFE seems to have one of the most loose policies in that regard. Others go down to the other extreme where they just allow unformatted text.
Currently, I am evaluating in which way html is beneficial to the entirety of LFE. So far, the only reason I have seen would be for conveniently placing elements in the contests:
1 2 3, to give a few examples. Doing a very simple BBCode-table would probably be not too much effort; dealing with iframes is ugly on a whole new level. I actually don't have an alternative solution for latter apart from simply linking to the respective page.
(10-18-2015, 08:01 AM)Someone else Wrote: (10-17-2015, 11:01 PM)MangaD Wrote: Please don't disable html. My sig would be less cute.
Your signature consists of an image and a flash object that plays a sound. If flash is secure enough (which would have to be researched) a flash bbcode could be added, else a sound bbcode could be added. Either or I do not think the security of the forum should be compromised because anyone wants a cute signature.
This. Personally, I think that flash has too many security holes to be feasible at all (sorry, @
MangaD, your player is just a gray box for me because I disabled flash altogether
). As far as I know, flash runs in its own container so that it cannot actually break forum in its entirety; however, it can negatively affect individual users: from minor inconveniences such as an auto-playing sound all the way to full-fledged rageworthy things like browser-freezes/-crashes or any kind of exploit that the latest version of flash most certainly contains again.
...which kind of reinforces my opinion to disable html altogether.
(10-18-2015, 08:49 AM)Doctor A Wrote: (10-18-2015, 08:01 AM)Someone else Wrote: Alternatively allow trusted members to use HTML in their signatures and stuff, which is also a lot of work, and introduces the problem that you do not know in whom you can trust. When can trust someone? Can you trust me? The only one that who knows you can trust me is me.
Eh, whether someone is "trustworthy" or not should not grant them special functional features in a forum.
Well, this is how the whole moderating-system works
Also, I am admin because MH trusted me that I wouldn't break things (hmmm). In this way, there exists such a thing as privs for trust. In this matter, though, we will have to make an exception and really refrain from having a two-class society.
tl;dr: tempted to disable html altogether. Possibly adding table-bbcode. I'd probably retain the ability to add html-thingummies for admins
because I'm selfish just like that for somewhat official and/or important announcements and for demonstrating purposes. After all, admins
should know what code breaks the forums and what doesn't. Be assured, though, I am not going to paste html everywhere I go, if that is alright with you guys.