Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 993883
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T06:29:36+00:00 2026-05-16T06:29:36+00:00

After all what I’ve read on this topic, I know that there is no

  • 0

After all what I’ve read on this topic, I know that there is no way to do automated file upload from browser without some kind of “elevated permissions”.

But, elevated permissions is something what I have, bacause the application runs on intranet and user currently enables access to ActiveX control that makes it possible to do some document scanning using COM. Then a scanned document saved on file system needs to be uploaded.

Now, the only browser requirement is IE7+ compatibility. But with IE8, the only way to set value to <input type="file" ... /> is manually clicking “browse” button.

Is there really no way to set value to input form field, even if the site is added to trusted sites and full access for ActiveX code is enabled?

The same seems to apply to Flash and Silverlight, security policy makes it impossible to upload file without user manually selecting it. Silverlight probably could do it in OOB mode, but that is way too interruptive if a user has to click to enable out of browser mode every time.

ActiveX and Java applet could probably do it. If using <input type="file" ... /> is not an option, is there any lightweight (possibly free/open-source) ActiveX control that would handle uploading from file system?

update

I did investigated all the options quite in depth back there, and it turned out it’s the paradigm of security model which makes it impossible to do automated file upload from the browser without user interaction. That means the use must either manually interact to upload file or confirm some ActiveX control or similar plugin to do that job. If you manage to find a way to upload without some special plugin with elevated permissions, you probably found a security hole, which will be fixed soon. However, that’s the way web brower technologies are designed to work.

As Jesse pointed out, there are trust and license issues with third party ActiveX controls.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T06:29:36+00:00Added an answer on May 16, 2026 at 6:29 am

    You’re correct that RIAs like Flash, Silverlight, and Java won’t allow this for security reasons, and that a Silverlight OOB trusted app would technically work, but doesn’t sound ideal.

    Since you’re basically looking for a component that will poke a hole in the web security model, I doubt you’ll find many good off-the-shelf components for this (and if you do, I’d be suspicious of them from a security point of view).

    I’d suggest writing your own ActiveX control for this, but be sure to think through the security implications. For example, you’d probably want to make sure this control can only be used by trusted websites on your company’s network — this is sometimes called “site locking”.

    Here’s a good page on writing secure ActiveX controls: http://msdn.microsoft.com/en-us/library/bb250471(VS.85).aspx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there an event that is triggered after all Page_Load events have completed? How
after reading all posts that come close to this, I still find no solution
Is there an equivalent of the XADD command in .Net? This is, after all,
Update, Solved: After all this I found out that I was calling an old
Im amazed that even after all this time (jQuery has been around since 2006
I don't know if I should test my @Entity-annotated Pojos. After all, there are
Is there an event that I can register that will be executed after all
Even after all the hotfixes and updates that are supposed to fix this, my
Is there a new upcoming C Standard that supersedes C99? After all there's an
Is there a way to run my own javascript after all JS files have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.