Re: prototype of wiki inside freenet

Matthew Toseland <toad-EI5O+8PHWbJeeLb3ft/[email protected]>
Newsgroups gmane.network.freenet.technical
Message-ID <[email protected]>
On Monday 02 June 2008 15:19, Daniel Cheng wrote:
> 2008/6/2 Florent Daignière <[email protected]>:
> > * Daniel Cheng <[email protected]> [2008-06-01 23:11:04]:
> >
> >> On Sun, Jun 1, 2008 at 5:03 AM, Ahmed MANSOUR <[email protected]> wrote:
> >> > Hi,
> >> > I discovered recently a wiki system called "wiki on the stick" and
> >> > TiddlyWiki.com, they are both single file wiki system made
> >> > in JavaScript so they run inside the browser without the need of a
> >> > webserver or other scripting languages.
> >>
> >> er.. FProxy strip out javascripts ...
> >>
> >> This is essential for user privacy (until someone come up with a
> >> custom browser that won't access the internet)
> >>
> >
> > It strips it out because we don't have a javascript filter yet... Maybe
> > it's a good reason to code one :)
> >
> 
> Is that doable?
> An attacker can change the .src attribute of a <img> tag pointing to
> an external site.
> There are several DOM and non-DOM method for changing that. A
> whitelist approach will make many Object in javascript non-usable.

It IS feasible IMHO, however it would be a pretty big project. It would likely 
require modifying the javascript to introduce run time type analysis, as well 
as providing sanitised versions of various setters and so on...

_______________________________________________
Tech mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/tech
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQBIRXDSA9rUluQ9pFARAn9ZAJ459P1M+D5P2DfutiAJYyGNtkRk0QCdGoBu
Ud7ZguloClnEfMeVpNiZqwI=
=8Sef
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.