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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T22:24:53+00:00 2026-06-03T22:24:53+00:00

Im fetching a local xml file using jQuery ajax through an html that i

  • 0

Im fetching a local xml file using jQuery ajax through an html that i download from my site.

The problem is that each and every time the file gets downloaded, the user must right click on it -> properties -> unblock. Otherwise jquery ajax throws a “permission denied” error.

Is there any way to mark the file as trusted or something similar? Should i implement something on the serverside when downloading the file? Or add something on the client side in the saved html file? Thanks in advance.

  • 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-03T22:24:55+00:00Added an answer on June 3, 2026 at 10:24 pm

    The NTFS file system attache to this file a flag as unsafe. You can use one utility from Sysinternals called Streams to remove this flag. You can download the Streams from:

    http://technet.microsoft.com/en-us/sysinternals/bb897440.aspx

    Then using the Process class you can run the streams -d <file.xml> command to remove this flag, after you have get the file. How to run it:

    Process runcommd = new Process();
    
    runcommd.StartInfo.FileName = "streams";
    runcommd.StartInfo.Arguments = " -d \"fullpath\\file.xml\"";
    
    runcommd.StartInfo.UseShellExecute = false;
    runcommd.StartInfo.CreateNoWindow = false;
    
    runcommd.StartInfo.RedirectStandardError = true;
    runcommd.StartInfo.RedirectStandardOutput = true;
    runcommd.StartInfo.RedirectStandardInput = true;
    
    // now run it
    runcommd.Start();
    
    // be sure that we end
    runcommd.StandardInput.Flush();
    runcommd.StandardInput.Close();
    

    The Streams are from MS site, so its official and credible source, and its just a utility that remove this flag from the file. I think that you can do your job.

    Related:
    https://superuser.com/questions/38476/this-file-came-from-another-computer-how-can-i-unblock-all-the-files-in-a

    http://www.k9ivb.net/files/This%20file%20came%20from%20another%20computer%20and%20might%20be%20blocked.pdf

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

Sidebar

Related Questions

I have simple JavaScript code that is using the Ajax API for fetching a
I am trying to output a XML file by fetching data from a dataset.
I'm fetching some data from an MSSQL table using the mssql_fetch_object, but the text
I am fetching JSON data from my local server and was wondering what functions
I'm fetching data from all 3 tables at once to avoid network latency. Fetching
I am currently asynchronously fetching json documents to update elements in a few html
I have tried fetching MySQL query results using mysql_fetch_row() and mysql_result() and numeric values
I am fetching the current date & time using NOW() in mysql. I want
I am fetching the datas from the database...And the datas are displayed as dropdownmenu
I am fetching lots of thumbnails from a remote server and displaying them in

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.