 <p>Setting the website's trust level to "full" has no bearing on how script runs on the client browser, it affects how the server runs your site.</p> <p>Generally, you are not allowed to muck around on a "client PC" in this way, for fairly obvious reasons, and depending on where (and how) this code is running (is it in a client script block or on the server?) will affect the permissions needed.</p>