Dannii wrote:
Signing is a good solution I think, and libraries already exist:
http://kjur.github.com/jsrsasign/ Just have to decide if the code footprint of such a library is acceptable. I think that one is around 10kb which is fine.
I agree with vaporware. This is the wrong direction. Any system that needs concern itself with security in this day and age is a really bad idea. Working with the constructs of the standard web is the way to go.
That being said, when I open up my portal, I'm unlikely to allow anything but image, text, and game file uploads. If someone wants to alter the JavaScript code base, they'll have to work with me on that.
I still don't see why anyone is building anything custom regarding styles. The browser has solved this (like it or not) with CSS and JavaScript and HTML. Let the author identify context and let the browser do the rest.
David C.
textfyre.com