Webview Cache Security

How secure is the webview? Can a user modify the cached .js file?

Any idea how to secure the cache?