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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T16:52:59+00:00 2026-05-17T16:52:59+00:00

We have an internal web application that acts as a repository to which users

  • 0

We have an internal web application that acts as a repository to which users can upload files. These files can be any format, including HTML pages.

We have tested than in IE8, if you download an HTML file that contains some script that tries to access your cookies and, after downloading, you choose the “Open” option, the script executes and gets your cookie information with no problems at all.

Actually, that script could use XmlHttpRequest object to call the server and do some malicious operations within the session of the user who downloaded the file.

Is there any way to avoid this? We have tested that both Chrome and Firefox do not let this happen. How could this behaviour be avoided in any browser, including IE8?

  • 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-17T16:52:59+00:00Added an answer on May 17, 2026 at 4:52 pm

    Don’t allow the upload of arbritary content. It’s exclusively a terrible idea.

    One potential “solution” could be to only host the untrusted uploads on a domain that doesn’t have any cookies and that the user doesn’t associate any trust with in any way. This would be a “solution”, but certainly not the ideal one.

    Some more practical options could be an authorisation-based process, where each file goes through an automated review and then a manual confirmation of the automated cleaning/analysis phase.

    All in all though, it’s a very bad idea to allow the general public to do this.

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

Sidebar

Related Questions

I have a web application that should behave differently for internal users than external
I have a web application written in C# that consumes several internal web services.
I have an application dependent on some internal web services, and so we want
This a bit of strange one.... We have an internal web app that runs
I have an internal enterprise app that currently consumes 10 different web services. They're
I have a internal website that users log into. This data is saved as
We have an internal .NET case management application that automatically creates a new case
I have an internal web app with an image at the top of the
Assumption: this is an internal web server Is there anything special you have to
I have an internal enterprise application I've developed for my company built on .Net

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.