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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T17:55:39+00:00 2026-05-16T17:55:39+00:00

we have two webserver and we have dedicated the task between these two servers.

  • 0

we have two webserver and we have dedicated the task between these two servers.
we’ve decided to put all the asp/aspx page into one server and put an upload.aspx + sql server into another one:

and here is name of the servers :

http://server1.somecompany.com // this is where all the pages reside + swfupload

http://server2.somecompany.com // this is where upload.aspx and sql server resides

and here is the code inside add_item.asp where swfupload gonna call upload.aspx from server2

SWFUpload.onload = function () {
    var audio_settings = {
        flash_url : "../script/swfupload.swf",
        upload_url: "http://server2.somecompany.com/upload.aspx", // this is where swfupload from server1 call server 2
        post_params: {
            "ASPSESSID" : "{CDDAF2E2-1178-4465-9842-E54751DE8664}",
            "HELLO-WORLD" : "Here I Am",
            "section" : "sound"
        },

when I click upload button swfupload tries to redirect my page to server2.somecompany.com and doesn’t do its job properly

but when I change the upload_url : to someting like :

http://server1.somecomapny.com

everything works fine

I know it is something about security issue in swfupload and they have solved it like this but this fixation makes us dazed .

what can I do about it?

regards.

  • 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-16T17:55:39+00:00Added an answer on May 16, 2026 at 5:55 pm

    This is a security measure in Flash. You can configure your remote server to accept these requests, however, by including a file called crossdomain.xml in your server’s HTML root.

    The file should look something like this:

    <?xml version="1.0"?>
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
    
      <allow-access-from domain="[ YOUR SOURCE DOMAIN HERE ]" to-ports="80" />
    
    </cross-domain-policy>
    

    If you must allow access from everywhere, replace “[ YOUR SOURCE DOMAIN HERE ]” with an asterisk “*”.

    For more information, read here: http://www.adobe.com/devnet/flashplayer/articles/cross_domain_policy.html

    Good luck!

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

Sidebar

Related Questions

I have two html pages on my webserver www.example.com/desktop.html www.example.com/mobile.html In principle the content
We're seeing an odd pattern in our QA Lab. We have two ASP.NET applications,
We have WebServer (based on Orchard CMS ) and two SQL Server databases: master
i have two database one database in webserver and other database in local here
I have two domains sitting on the one webserver. I have images and other
hi i am using tomcat 6 as webserver. i have two webbapplication installed on
I have one webserver (IIS) and in this I have two folders: website1 and
I have two dev servers, one is PHP version 5.3.1 which is on my
Say I have two web servers, one local development and one live. Under SVN
I saw these two libraries can help me to upload file to the webserver.

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.