Quantcast
Channel: create and modify xml file using javascript (want to save xml file on client side) - Stack Overflow
Viewing all articles
Browse latest Browse all 5

Answer by rahul for create and modify xml file using javascript (want to save xml file on client side)

$
0
0

This is not allowed in JavaScript. This will be a security vulnerability.

Read JavaScript security

JavaScript and the DOM provide the potential for malicious authors to deliver scripts to run on a client computer via the web. Browser authors contain this risk using two restrictions. First, scripts run in a sandbox in which they can only perform web-related actions, not general-purpose programming tasks like creating files. Second, scripts are constrained by the same origin policy: scripts from one web site do not have access to information such as usernames, passwords, or cookies sent to another site. Most JavaScript-related security bugs are breaches of either the same origin policy or the sandbox.


Viewing all articles
Browse latest Browse all 5

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>