Results 1 to 6 of 6

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Dark 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

  2. #2
    White awesomeness z0ne's Avatar
    Join Date: Feb:2002
    Location: o
    Posts: 13,331
    file.xml "./" ->
    xmlDoc.save("./file.xml");

  3. #3
    Registered User zero's Avatar
    Join Date: Nov:2002
    Location:
    Posts: 2,169
    ? 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.

  4. #4
    Dark 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

  5. #5
    Registered User zero's Avatar
    Join Date: Nov:2002
    Location:
    Posts: 2,169

  6. #6
    دارس وعامل Siemens's Avatar
    Join Date: Jul:2003
    Location:
    Posts: 1,576
    ( ) . ( browse input file). .. .
    , js input type=file - - submit- .
    , IE6/7, windows.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Copyright © 1999-2011 . .
iskamPC.com | mobility.BG | Bloody's Techblog | | 3D Vision Blog |