We are trying to set a value for input type 'file' but we are not able to achieve it. We know that there are some security issues but still we wanted to know whether it is possible to achieve it or not.
Asked
Active
Viewed 1.8k times
1
-
3It's not possible, for security reasons indeed. – Damien Pirsy Jun 03 '14 at 05:18
-
Is there any other options similar to that feature, I mean...we wanted to upload an image automatically. – Mike Jun 03 '14 at 05:20
-
If you could upload an image automatically, you could upload `/etc/passwd` automatically. Or a database file. Or the Windows Registry files. – Amadan Jun 03 '14 at 05:21
1 Answers
1
This is not allowed due to security reason:
You can reference the following links: