Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. JavaScript
  4. usb

usb

Scheduled Pinned Locked Moved JavaScript
javascriptadobequestion
6 Posts 5 Posters 8 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    moein serpico
    wrote on last edited by
    #1

    hi guys can javascript read usb device like flash disks?

    S Y W 3 Replies Last reply
    0
    • M moein serpico

      hi guys can javascript read usb device like flash disks?

      S Offline
      S Offline
      Sandeep Mewara
      wrote on last edited by
      #2

      I agree with the reply given here in this thread discussion[^].

      D 1 Reply Last reply
      0
      • S Sandeep Mewara

        I agree with the reply given here in this thread discussion[^].

        D Offline
        D Offline
        daveyerwin
        wrote on last edited by
        #3

        javascript in an HTML Application can. When a regular HTML file is executed, the execution is confined to the security model of the web browser, that is, it is confined to communicating with the server, manipulating the page's object model (usually to validate forms and/or create interesting visual effects) and reading or writing cookies. On the other hand, an HTA runs as a fully trusted application and therefore has more privileges than a normal HTML file; for example, an HTA can create, edit and remove files and registry entries [^]

        Y 1 Reply Last reply
        0
        • M moein serpico

          hi guys can javascript read usb device like flash disks?

          Y Offline
          Y Offline
          Yusuf
          wrote on last edited by
          #4

          Simply No. That would be huge security hole

          Yusuf May I help you?

          1 Reply Last reply
          0
          • D daveyerwin

            javascript in an HTML Application can. When a regular HTML file is executed, the execution is confined to the security model of the web browser, that is, it is confined to communicating with the server, manipulating the page's object model (usually to validate forms and/or create interesting visual effects) and reading or writing cookies. On the other hand, an HTA runs as a fully trusted application and therefore has more privileges than a normal HTML file; for example, an HTA can create, edit and remove files and registry entries [^]

            Y Offline
            Y Offline
            Yusuf
            wrote on last edited by
            #5

            You can't run hta (html application) from web sites. No browser supports it. The file needs to be downloaded to run locally.

            Yusuf May I help you?

            1 Reply Last reply
            0
            • M moein serpico

              hi guys can javascript read usb device like flash disks?

              W Offline
              W Offline
              WoutL
              wrote on last edited by
              #6

              Yes, you can do this with javscript. But if you run javascript from a webpage, the access to local disks including flash disks is blocked.

              Wout Louwers

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups