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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T09:34:16+00:00 2026-06-12T09:34:16+00:00

I am working on a file sharing web application. This application is being developed

  • 0

I am working on a file sharing web application. This application is being developed using jsp and servlet, MySql, Apache tomcat 6.0 webserver and Eclipse Juno IDE. My expert level is beginner to these given technologies.

This application have a file upload utility. Under this utility user enters some basic information regarding file in a HTML form and gives path to file on local machine using browse button. When User clicks on Submit button the data in form is saved in database and the file is gets uploaded on server on a fix common location specified by application. While uploading a file to server this utility will create a directory on given fix common location and upload the file in this created directory.

I have following questions and doubts regarding which I want guidance and solution from experts.

  1. Currently I have my web server and database server on same machine and the file uploaded are also on same web server in the applications directory. I want to put the uploaded files very secure. I want to ask experts whether is this kind of setup is Correct or is there any other secure and perfect setup design for the same situation?

  2. The number of users logged in to application is not decided yet but it may be from few numbers to thousand.
    There is no restriction on count of Uploading file.
    So finally the total size of files uploaded by all users in fix common location may be in GB’s or in few tb’s Currently no issues regarding disk space required but still suggestion and guidance regarding this is always welcome

  3. As the process mentioned above I need to create a directory on given fix common location. Whether the server or other security application on server will going to allow me to create directory on fly that fix common location?

  4. Is it a good practice to put the uploaded files in its own web application folder?

Thank You!

  • 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-06-12T09:34:17+00:00Added an answer on June 12, 2026 at 9:34 am

    1) I would recommend to save the uploaded files in your database. In this manner you will have an extra layer (db security) of added security and reliable storage, without the need to sort files in directories.

    2) To be able to decide for your disk storage, it is crucial to know in advance proximately the average file size to be uploaded and the number of users to use the application. If you take into consideration my point above and you use a database, there are methods to extend your database size for extra scalability in case you need it.

    3) Yes directory creation is allowed as long as you have enough permissions to do so from your OS.

    4) NO! Don’t do it. Consider the case you want to redeploy your application.

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

Sidebar

Related Questions

I working on adding file uploading to my web application. I'm using an iframe
I'm working on a file sharing application in C++. I want to write console
I have file sharing via iTunes working in my application (reference What's New in
Okay I'll try to be direct. I am working on a file sharing application
I am working on a project which lists file sharing urls from the likes
On whatever reason this is not working (says 'file not found'), set in=c:\myprogram\_save cd
This is my first time working with file i/o in java, and it's not
I have this file sharing program, where i can get mye files from a
I'm working on a video sharing application that can load plugins that share to
I am working on a videos sharing web site and I want to take

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.