the browser security model is quite efficient and heavily tested tho.