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 476105
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T00:27:21+00:00 2026-05-13T00:27:21+00:00

We have a desktop app that allows users to fill in a questionnaire. For

  • 0

We have a desktop app that allows users to fill in a questionnaire. For certain question types, users can upload files. The desktop app performs the following logic:

  • copies the file to a temp location
  • reads the bytes from the copy and caches in memory
  • uploads all cached bytes when the questionnaire is submitted

It doesn’t take more than five seconds of googling to see that client-side file access from a web app is a security hole. I gather it’s possible if you cripple your security settings but there is no way our IT dept will allow that :).

The requirement that the desktop app logic is designed to fulfil is to not keep the user waiting during the process of filling out indovidual questions. The only wait they experience is at the very end when they hit the “Submit” button. At this point, all questions and files are submitted.

However, after googling, I now think that I will not be able to do offer this in the web version.

So my actual question is: Is there a way to fulfil the requirement of no file transfer until the end of the questionnaire proccess? Can you perhaps create a set of posted files from a set of cached file names? What I need is a way to do a multiple file upload from a set of cached file paths.

But I’m not sure this will be good enough without a copy having been created of the files first….e.g. what happens if the user deletes the file after assigning it to a question but before they submit the questionnaire?

I have looked through all the questions listed as similar to mine but not seen anything that I think I can use. Any tips will be very gratefully appreciated.

  • 1 1 Answer
  • 2 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-13T00:27:21+00:00Added an answer on May 13, 2026 at 12:27 am

    You could perform the upload in the background using an iframe. This would alow the user to continue filling in the questionaire as they moved through the process.

    You’d have to design your questionaire forms using Ajax correctly though so as not to transition pages whilst the upload(s) were happening.

    You’d also have to put a progress bar or something on the final page to ensure all files were uploaded before they closed the browser.

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

Sidebar

Ask A Question

Stats

  • Questions 280k
  • Answers 280k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Rather than let this question hang out here unanswered forever,… May 13, 2026 at 3:42 pm
  • Editorial Team
    Editorial Team added an answer Sites such as FreshMeat (http://freshmeat.net/) have some components and http://java-source.net/… May 13, 2026 at 3:42 pm
  • Editorial Team
    Editorial Team added an answer This should work fine, without a database column or attr_accessor:… May 13, 2026 at 3:42 pm

Related Questions

I'm looking for a corporate collaboration tool to help bring together my team, who
I need to create a Web-based Dashboard tool for a LOB application. Essentially users
We have an integrated system (at least is that what we call it), which
I'm the leader of a small web development team, and I have a feeling

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.