[webkit-dev] chrooting WebKit

Adam Barth abarth at webkit.org
Mon Apr 6 17:44:09 PDT 2009


There isn't currently an API for doing this.  You're right, though,
that SecurityOrigin.cpp would be the file that would implement this
feature.

Adam


2009/4/6 Wellu Mäkinen <wellu.makinen at nokia.com>:
> Hi,
>
> is there an API to limit the WebKit's access to local resources? What I've
> been looking for is kind of chroot() inside of WebKit. So a local file loaded
> e.g from /usr/share/test would only be able to refer to files under
> /usr/share/test. Currently a file loaded from local disk can refer to anywhere.
>
> I've been looking at SecurityOrigin.cpp but it seems that once the file is
> considered local then it can access any local file.
>
> Thanks,
> --
> Wellu
>
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>


More information about the webkit-dev mailing list