Results 1 to 6 of 6
Thread: Javascript + DOM XML :(
Hybrid View
-
9th February 2007 10:15 #1Dark tranquillity
Join Date: Aug:2006
Location: Sofia
Posts: 796
Javascript + DOM XML :(
, javascript save- DOM XML-. Access denied.
:
xmlDoc=new ActiveXObject("Microsoft.XMLDOM");
xmlDoc.async=false;
xmlDoc.load("file.xml");
.....................
xmlDoc.save("file.xml"); -> Access denied.
windows/linux, / .
?Core 2 Duo E6600 @ 3.15GHz + Zalman 9500| Gigabyte 965P DS-4 | Asus EAX1950Pro + Samsung 226BW | 4 x 1GB DDR-2 800 A-Data | CM Elite 330 + Fortron BS 500W | X-Fi Fatal1ty Pro | Samsung HD400LJ 400GB | NEC AD-7170A | MS Natural KB + A4 X7 G100 Game pad | Mouse A4 X750 BF
-
9th February 2007 12:55 #2
file.xml "./" ->
xmlDoc.save("./file.xml");
-
9th February 2007 15:12 #3
? PHP xml PHP .....
e e , :
JavaScript Security Models
The modern JavaScript security model is based upon Java. In theory, downloaded scripts are run by default in a restricted sandbox environment that isolates them from the rest of the operating system. Scripts are permitted access only to data in the current document or closely related documents (generally those from the same site as the current document). No access is granted to the local file system, the memory space of other running programs, or the operating systems networking layer. Containment of this kind is designed to prevent malfunctioning or malicious scripts from wreaking havoc in the users environment. The reality of the situation, however, is that often scripts are not contained as neatly as one would hope. There are numerous ways that a script can exercise power beyond what you might expect, both by design and by accident.Last edited by zero; 9th February 2007 at 15:19.
-
9th February 2007 15:23 #4Dark tranquillity
Join Date: Aug:2006
Location: Sofia
Posts: 796
Save "", security- ?
Core 2 Duo E6600 @ 3.15GHz + Zalman 9500| Gigabyte 965P DS-4 | Asus EAX1950Pro + Samsung 226BW | 4 x 1GB DDR-2 800 A-Data | CM Elite 330 + Fortron BS 500W | X-Fi Fatal1ty Pro | Samsung HD400LJ 400GB | NEC AD-7170A | MS Natural KB + A4 X7 G100 Game pad | Mouse A4 X750 BF
-
9th February 2007 16:42 #5
save-a js , e ,
, , / .js ?
http://www.thescripts.com/forum/thread90416.html
-
9th February 2007 17:32 #6




Reply With Quote

Lenovo ThinkPad 15 IdeaPad 15
5th May 2023, 22:16 in