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

  • Home
  • SEARCH
  • 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

Related Questions

I have a rather large (80k loc) java desktop app that talks to a
I have a desktop (winforms) application that uses a Firebird database as a data
I have a desktop application written in C#. It is trying to manage a
I have a desktop, and a Laptop. The Desktop has Windows 7 64-bit and
Introduction In my current organisation, we have many desktop and web applications all feeding
I have a .Net desktop application with a TreeView as one of the UI
I have an Java desktop application which connects directly with the DB (an Oracle).
I have heard of desktop applications whose code has been open-sourced, but are there
For programming in my spare time, I have both a desktop and a laptop
I have written an Application Desktop Toolbar (a.k.a AppBar), it works great except for

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.