Re: uploading directories recursively
- From: "Richard Cornford" <Richard@xxxxxxxxxxxxxxxxxxx>
- Date: Tue, 21 Feb 2006 15:10:10 -0000
Kamen TOMOV wrote:
Is uploading recursively directories to a web server possible
with JavaScript?
Not using javascript from a remote web sites under the standard security
restrictions (the browser does not normally expose the local files
system, or facilitate the loading of files from the local computer into
a variable).
I mean is it possible read a directory recursively and
dynamically construct <input type="file"> with value
- the path to the corresponding file and call submit
with the script.
In Windows IE, with security practically disabled, you can do exactly
that (You can instantiated a Scripting.FileSystemObject activeX object
and read the entire file system, including all the file names in all
directories). But with that level of security you can also re-format the
user's hard drives so you cannot expect these facilities over the public
Internet.
Richard.
.
- Follow-Ups:
- Re: uploading directories recursively
- From: Kamen TOMOV
- Re: uploading directories recursively
- References:
- uploading directories recursively
- From: Kamen TOMOV
- uploading directories recursively
- Prev by Date: Re: Dynamic IFRAME problem
- Next by Date: Re: Dynamic IFRAME problem
- Previous by thread: uploading directories recursively
- Next by thread: Re: uploading directories recursively
- Index(es):
Relevant Pages
- Re: JS and security.
... > According to a financial website I tried to access without JavaScript:
... > How would using JS improve security? ... the main browser window
will not contain the history of the child window. ... (comp.lang.javascript) - Re: Javascript disabled in my browser?
... I have already enabled Active Scripting ... > Click "OK" to close the Security
window. ... > JavaScript is now enabled for our web site. ... (microsoft.public.windows.inetexplorer.ie6.browser) - [Full-disclosure] The state of JavaScript Hacking
... this than the security mailing lists. ... importance of JavaScript and other
under appreciate web technologies ... As you might already know JavaScript is becoming
more and more popular ... If you have less overhead with developing desktop and web applications
... (Full-Disclosure) - Re: JS and security.
... How would using JS improve security? ... Firs off for any of this to mean anything
the sitew would have to only function with JavaScript enabled. ... This has the benefit
that once that window is closed the main browser window will not contain the history of the child
window. ... Active reminders to close a browser window when leaving an application ) to
prevent history mining) are often effective. ... (comp.lang.javascript) - Re: New IE security hole
... > Javascript for a month or two," both because it would break needed ...
Security researchers in favor of full and immediate ... > Microsoft always takes at
least 45 days to test and release a patch. ... saying Microsoft needs 45 days to fix
this is a load of cow "flap". ... (microsoft.public.security)