[webkit-dev] chrooting WebKit

Wellu Mäkinen wellu.makinen at nokia.com
Mon Apr 6 05:21:34 PDT 2009


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



More information about the webkit-dev mailing list