crossdomain.XML for subdirectory level

Hello

We must deploy crossdomain.xml on our Web server, but the host name remains the same across different Web sites.

How can we add restrictions to the sub-directoty (website1) level?

the URLS are like below, now how do I add striking restriction only for website1?

www.mysite.com/content/WebSite1/test.html

www.mysite.com/content/website2/test.html

www.mysite.com/content/website3/test.html

e, g,

<? XML version = "1.0"? >

<! DOCTYPE cross-domain-policySYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd" > ""

< cross-domain-policy >

"< allow-access-from domain ="www.mysite.com"safe ="false"/ >"

< allow-access-from domain = "mysite.com" safe = "false" / > "

< / cross-domain-policy

Thank you!

at the level of your root use crossdomain.xml:

http://www.Adobe.com/XML/DTDs/cross-domain-policy.DTD">

and in a subdirectory that you want to allow access, use crossdomain2.xml:

http://www.Macromedia.com/XML/DTDs/cross-domain-policy.DTD">

Tags: Adobe Animate

Similar Questions

  • What does "REQUEST_URI = crossdomain.xml" mean?

    When my site receives a 404 error I sent it to me. I see this a lot sometimes...

    'REDIRECT_URL = crossdomain.xml.

    (see below for the code). What it means? I know it has to do with the Flash in some way.

    HTTP_REFERER = desktop.htm

    HTTP_USER_AGENT = Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.4 (KHTML, like Gecko) Safari/537.4 Chrome/22.0.1229.94

    LAST_MODIFIED =

    PATH = / bin: / bin

    QUERY_STRING =

    REDIRECT_STATUS = 404

    REDIRECT_URL = crossdomain.xml

    Flash requires a cross-domain policy file. Cross-domain policy files allow to control the types of resources and requests Flash Player can do when you talk to your server.

    You can read more details on the different policy files that obeys Flash Player here:

    http://www.Adobe.com/devnet/flashplayer/articles/flash_player10_security_wp.html

  • Urgent: crossdomain.xml location on Weblogic 10.3.3.0

    Guys,

    Pls tell me where to put the file crossdomain.xml on weblogic server.
    I want to access this file in this way: http://localhost:7001 / crossdomain.xml

    Can anyone how? also, if any WAR needs to be updated, then what is the name of the WAR file? How can I update and redeploy?

    Thank you
    Aerts

    I don't know if it will however work according to the link:

    http://msdn.Microsoft.com/en-us/library/cc197955%28V=vs.95%29.aspx

    It is written "save the crossdomain.xml file to the root of the domain where the service is hosted. If, for example, the service is hosted in http://fabrikam.com, then the file must be located at http://fabrikam.com/crossdomain.xml. »

    Try to create a Web - App simple 'test' and deploy in the same or the server that hosts the Web service.

    1 ' essay' contains 'web - inf' & 'crossdomain.xml '.

    2 ' web - inf' contains

    WebLogic.Xml
    ------------


    /

    Web.Xml
    -------

    3. deploy to the servers hosting the Web service.

    4. in doing so, you should be able to access the http://hostname:port / crossdomain.xml.

    Hope this helps

    -Akshay

  • IOError in IE but not in Firefox (problem possible crossdomain.xml)

    Yesterday I debugged If all goes well a problem that happens for our application in Internet Explorer but not in Firefox.

    This has to do with access to remote content from a separate domain.

    In all aspects, it SEEMS to be a problem of crossdomain.xml, but the fact that this arrises only problem in IE is what prompted me to post here.

    We have a solution in progress (in the bureaucratically speaking), but I want to check here.

    Our application is the field of "a.domain".

    It access a file xml on 'b.domain/xml/ '.

    And finally (this is the tricky part) it also accesses an xml file to "b.domain/forwardingPath/" which is actually transmitted to the 'c.domain/xml/ '.

    The crossdomain.xml is located at "b.domain/crossdomain.xml".

    The application of "b.domain/xml/anXMLFile.xml" works without any problem.

    The demand for the 'b.domain/forwardingPath/anotherXMLFile.xml' exists in Firefox but not in IE (remember, ACTUAL demand is sent to "c.domain/xml/anotherXMLFile.xml").

    In Internet Explorer, I get an IOError.

    I think that we need a proper crossdomain.xml file, also located in the "c.domain/crossdomain.xml" and put in this request.  I want to confirm is whether this interpretation is correct.  I'm not at all a person on the server side.  It's all of the elves and fairies for me.  And then finally, why the hell is this inconsistent behavior between IE and Firefox?  The version of flash player Firefox violates its own safety standards?

    I swap this in the stack overflow.  field-xml-issue http://StackOverflow.com/questions/7395931/ioError-in-IE-but-not-in-Firefox-possible-Cross

    I have ping our developers on this subject and this is what they have to say:

    "We did some work for the plugin around redirects andhence the correct behavior on Firefox.

    As far as I KNOW, on IE we don't get the redirection messages and may not participate in the decision-making process of security during redirection scenarios. This behavior is beyond our control.

    There is a workaround solution described in the AS3docs here: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/system/LoaderCont ext.html #checkPolicyFile

    Here's the relevant paragraph:

    Be careful with checkPolicyFile if you are downloading anobject from a URL that can use HTTP redirects on the server side. Arealways policy files comes from the corresponding initial URL that you specify inURLRequest.url. If the final object comes from a different URL because of the HTTPredirects, the initially downloaded policy files might not applicableto the of the object's final URL, which is the URL that matters in security decisions. If you are in this situation, you can examine the value of ofLoaderInfo.url after receiving an orEvent.COMPLETE ProgressEvent.PROGRESS event, which tells you the final URL of the object. Then call the method theSecurity.loadPolicyFile () with a URL based on the object URL policy file ' sfinal. Then query the value of LoaderInfo.childAllowsParent until it becomes true. »

    Chris

  • FileReference - crossdomain.xml - restrict access to all MY Flex application?

    I have a Flex application based on the web (domain A) concerning must download files on the desktop of the user FROM an external server (domain B). I use Adobe FileReference class to do this. Now, I know that I need a file crossdomain.xml to the external server in domain B to establish trust between the Flex application and the server download. In the end, I need any user to any domain to have access on the server download for the cross-domain file must specify:

    allow-access-from domain="*"

    But this will open up acess to the downloadble files to any flex app out there on the web . Is there a way to restrict access to just MY Flex app in the
    crossdomain.xml file?

    thx in advance!

    -MC

    Why do you need any user to any domain access?

    Anyone using your web application will be in area a. unless you count should the swf for others to download from their servers (which woiuld be strange)

    the field is the place where its hosted

  • Flex Mobile + crossdomain.xml

    OK, so here's a fun one for you.

    I have a webservice that calls the mobile application.  It works fine on a http://localhost/... run, but when tests on the device, the device cannot interpret the localhost.

    Which means I have to:

    1.) put the webservice on a domain (completed)

    2.) make a crossdomain.xml file?

    <? XML version = "1.0"? >
    < cross-domain-policy >
    < site permitted-cross-domain-policies of control = "master only" / >
    < allow-access-from domain = "*" / >
    < / cross-domain-policy >

    I mean, the domain must be "*" because mobile applications can be anywhere...

    Does anyone have any idea on this?  I tried to use the webservice on my domain server, but nothing helped.

    I had the same problem and I have just set.
    The phone do not translate the hostname to an IP address.
    So instead of http://localhost/webservice.asmx?wsdl put http://192.168.0.1/webservice.asmx?wsdl (where 192.168.0.1 is the ip address of your local host)

  • HTTPService to localhost does not work in Flex4... Even with crossdomain.xml

    So, it worked before I recompiled with Flex4, (in Flex 3.5) and now I can't get the following to work...

    History:

    I use httpservice in flex as:

    "" < mx:HTTPService id = "methods" url = "http://localhost/parser.php"method = "POST" showBusyCursor = "true" resultFormat = "e4x" result ="xmlresultHandler (event)" fault = "faultHandler (event)" / > "

    Everything is in my directory on my web server. When run in debugging or directly from flashbuilder, the call works fine. If I ran a release build, FTP in/var/www rejection (my roots) and try to access the server, the site pulls upward, and the series of swf files, but I always get a

    Fault: Channel .Security .error

    FaultString: 'error of security to access the url.

    faultDetail: ' Destination: DefaultHTTP.

    When it tries to read the httpservice.

    I have a crossdomain.xml file in my folder/var/www (webroot) with what I see as a permissive super settings... Below:

    <? 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 =" "*" ports = "*" / >
    < site permitted-cross-domain-policies of control = 'all' / >
    "< allow-http-request-headers-from domain =" "*" headers = "*" / >
    < / cross-domain-policy >

    Any help would be GREATLY appreciated.

    You may need to set the - use-network = false compiler option.

    Project - Properties - Flex Compiler

    Add the option - use-network = false for the ' additional compiler arguments: "section.

    When deploying on a live server, you probably need to recompile it with the option - use-network = true.

    Who knows, maybe in your situation, it must be set to true.

    If this post answers your question or assistance, please mark it as such.

    Greg Lafrance - Flex 2 and 3 certified ACE

    www.ChikaraDev.com

    Training Flex and Support Services

  • Domain name in the crossdomain.xml file

    Hello

    I have a Flex application that accesses data from an external system that is hosted by a 3rd party. We want to maintain a crossdomain.xml on this system, but not sure what should be the name of the system.

    We have 3 out of the intellectual property and in the file corssdomain should be the outgoing our IP domain or IP address from our local server on which flex is running, or both.

    Please give me advice.

    Thank you

    Colinet

    It should be everything that can appear after http:// in the URL for sovereign wealth funds

    Alex Harui

    Flex SDK Developer

    Adobe Systems Inc..

    Blog: http://blogs.adobe.com/aharui

  • Generate output XML for a PL/SQL stored procedure concurrent program (EBS).

    Hello

    I trying to generate XML output for a simultaneous PL/SQL program and then use it as a model for BEEP.
    Program PL/SQL for a report consist of sliders/queries and other calculations of output data.
    Program (report) made up of topics, couple of col. values of one or more tables DB and rest of the columns are values read from DB colonel and calculated. The length of the neck extends up to 280 characters.

    All out - put is shown using fnd_file.put_line (fnd_file.ouput,...);
    before first fnd_file statement, included the following stmt.
    fnd_file.put_line (fnd_file.output,' <? xml version = "1.0" encoding = "UTF - 8"? > ');

    Using demand conc., notice ouptut poster error...
    The XML page cannot be displayed
    Invalid at the top level of the document. Error during processing of the resources ' http://ohcol0ws023.amp-ohio.org:8004/OA_CGI/FNDWRR.exe...
    <? XML version = "1.0" encoding = "UTF-8"? >

    I tried to add tags in the rest of the fnd_file.put_line stmts. as
    fnd_file.put_line (fnd_file.output, '< Heading1 >' |) 'Report name ' | (/ head2 > '); etc.

    View output shows the same error message.

    PL. advise how go further or tell me the link, if it's already been answered earlier.

    Thank you
    Prak

    Copy the file from $APPLCSF / $APPLOUT to your customer and try to open it. Find out what's wrong with the code XML, for example, you may need to top level element:

    Write to me if you can't get by - see my profile.

    Kind regards
    Gareth

  • Just crossdomain.XML doesn't work do not

    Hello

    I have move my request to my Local computer problems to a development/TEST server for testing. My application uses c# Web Services to access data and a Flex front-end.

    Here is the error I get (only on the development/TEST server):

    An error occurred communicating with the server.
    Error message: HTTP request error
    Faul Code is: Server.Error.Request
    Lack of detail is: error: [IOErrorEvent type = "ioError" bubbles = false cancelable = false eventPhase = 2 text = "Error #2032: stream error."] "URL: http://DOMAIN/APPLICATION/WebService.asmx" URL: WebService.asmx

    Exactly the same configuration works on my local machine. I have a crossdomain.xml in place file that looks like this:

    <? XML version = "1.0"? >
    <! DOCTYPE cross-domain-policy (View Source for full doctype...) >
    -cross-domain-policy >
    < site permitted-cross-domain-policies of control = 'all' / >
    < allow-access-from domain = "' * ' course ="fase"/ >"
    "< allow-http-request-headers-from domain =" "*" headers = "*" course = "fase" / >
    < / cross-domain-policy >

    However, I don't think the crossdomain is actually necessary, because there is demand on the same domain and directory as the webServices. But, I added one anyway, because every google search seems to say that the HTTP request error: Server.Error.Request is a problem of crossdomain.xml.

    Little, I thought it might be a permission error. However, I have the web page, run as an 'application' and user account for the application has permissions to the root directory and all it's children files/directories (so he can read the crossdomain.xml) and also the identity of the application has access to run all selects them.

    Unfortunately I am running this on IIS6 on the machine of dev/TEST and IIS7 on my local machine. So I can't set up the failed request tracking to see if I can find the problem there.

    Does anyone have any help that they can share? I spent the full day try everything I can think of to make it work with no will.

    Any help would be greatly appreciated!

    Thank you!!
    -Mike

    It turns out that the problem was that the Application Pool identity did not have access to the SQL DB do CRUD. I guess you should never be too sure of things. -= o /

  • Where are the best sites for high-level and how information to do different things in Oracle?


    Hello

    Where are the best sites for high-level and how information about various things in Oracle?

    Some examples of things:

    * spa

    * spm

    * db replay

    * Resource Manager

    I need a place high-level

    and also a place of step by step.

    For example, I look at these sites:

    www.Oracle-base.com

    www.psoug.org

    Thank you Roger

    Part of the problem is not so much finding sites that have articles on Oracle, that is to find reliable websites with this information.  When I search my site of certification for resources, I find a significant number of people who have 'technical' Articles on Oracle. However, many of these blog posts have simply no useful information.  It is not even that they are wrong so far as article does not include anything that is not declared more clearly and in detail in the documentation.

    That said, a site you have not mentioned above is the Oracle Learning Library.  There very often an excellent material that is very closely linked to the themes of the certification:

    https://apexapps.Oracle.com/pls/Apex/f?p=44785:1:0

  • generation of XML for each record

    I have a table db with a few thousand records in it. I need to generate an xml file for each record so that it can power a search machine.

    Can someone help me with this? I could not get it. Here is the example of table.

    create table test_xml)

    number of U_ID

    title varchar2 (500),

    VARCHAR2 (500) keywords.

    Description varchar2 (500),

    VARCHAR2 (500) of the user.

    e-mail varchar2 (500),

    initiator_function varchar2 (500),

    function_impacted varchar2 (500),

    old_request_num varchar2 (500),

    project_region varchar2 (500)

    );

    insert into test_xml values (1, "Heading1 test", "blah bla1", "test 123 ', 1234567',' [email protected]', 'test init funct', 'funct hit test', '55556677', 'abc' ');

    insert into test_xml values (2, 'Title2 test', 'blah bla2', ' test 1232', 1234522',' [email protected]', 'test init funct2 ',' test power supply impacted2', ' 55556679', 'abcccs' ");

    the end result is an XML for each record in this format.

    <? XML version = "1.0" encoding = "utf-8"? >

    <! DOCTYPE gsafeed PUBLIC "-//Google//DTD GSA RSS / / IN" "" > "".

    < gsafeed >

    < header >

    < datasource > ID 1 < / datasource >

    < feedtype > full < / feedtype >

    < / header >

    <>Group

    " < analysis record immediately = 'true' url = ' http://test.com/SearchResult.php?id=1 "action = 'Add' mimetype =" text/html"lock ="true"> "

    < content > <! [CDATA]

    < html >

    < head >

    Heading1 test < title > < /title >

    < meta name = "Keywords" content = "bla bla1" / >

    < name meta = "description" content = "testing 123" / >

    < name meta = "user" content = "1234567" / >

    " < name meta = 'EMAIL' content = ' [email protected] " />

    < name meta = "Source" content = "1" / >

    < / head >

    < body >

    < p > user: 1234567

    < p > EMAIL: bob . [email protected] 

    < p > INITIATOR_FUNCTION: test init funct

    < p > FUNCTION_IMPACTED: test hit funct

    < p > OLD_REQUEST_NUM: 555566777

    < p > PROJECT_REGION: abc

    < /p > < / body >

    < / html >

    []] > < / content / >

    < / recording >

    < / Group >

    < / gsafeed >

    Thanks for any help.

    I'd use SQL/XML functions, more rapid way to generate XML from relational data data.

    Something like the following should you get.

    It displays a document (such as a CLOB) per line in the base table:

    with html_content as (
      select xmlcdata(
               xmlserialize(document
                 xmlelement("html"
                 , xmlelement("head"
                   , xmlelement("title", t.title)
                   , xmlelement("meta", xmlattributes('Keywords' as "name", t.keywords as "content"))
                   , xmlelement("meta", xmlattributes('description' as "name", t.description as "content"))
                   , xmlelement("meta", xmlattributes('user' as "name", t.user_ as "content"))
                   , xmlelement("meta", xmlattributes('EMAIL' as "name", t.email as "content"))
                   , xmlelement("meta", xmlattributes('Source' as "name", t.u_id as "content")) -- ??
                   )
                 , xmlelement("body"
                   , xmlelement("p", 'EMAIL: '||t.email)
                   , xmlelement("p", 'INITIATOR_FUNCTION: '||t.initiator_function)
                   , xmlelement("p", 'FUNCTION_IMPACTED: '||t.function_impacted)
                   , xmlelement("p", 'OLD_REQUEST_NUM: '||t.old_request_num)
                   , xmlelement("p", 'PROJECT_REGION: '||t.project_region)
                   )
                 )
                 indent
               )
             ) as content
      from test_xml t
    )
    select '' ||
           '' ||
           xmlserialize(document
             xmlelement("gsafeed"
             , xmlelement("header"
               , xmlelement("datasource", 'ID 1')
               , xmlelement("feedtype", 'full')
               )
             , xmlelement("group"
               , xmlelement("record"
                 , xmlattributes(
                     'true' as "crawl-immediately"
                   , 'http://test.com/searchresult.php?ID=1' as "url"
                   , 'add' as "action"
                   , 'text/html' as "mimetype"
                   , 'true' as "lock"
                   )
                 , xmlelement("content", html.content)
                 )
               )
             )
             indent
           )
    from html_content html ;
    

    NB: indent option is to print only, you can remove it if you don't need.

  • Essbase backup for all levels

    Currently, I have this script to backup the data of level 0.

    Wondering how this can be updated for all levels of backup data?

    The warnings to watch?

    echo '- EXPORT ESSBASE DATA BACKUP -';

    echo "Running export orders Database...". » ;

    export data from database AppName.CubeName Level0 to data_file 'D:/Oracle/Administration/DataBackup/DataBackup_AppName_CubeName_File.txt ';

    echo "Completed data backup export";

    Instead of "Level0" in export command, use "All". The downside is that the export will be much more and much longer to run. Unless you have superior entry level data, you probably want to use this.

    Sabrina

  • need a sample of weblogic - application.xml for weblogic 10.3.5

    Hello

    Could someone please provide a weblogic - application.xml for weblogic 10.3.5 sample?

    Thank you

    "http://xmlns.Oracle.com/WebLogic/WebLogic-application" xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" "xsi: schemaLocation ="http://xmlns.oracle.com/weblogic/weblogic-applicationhttp://xmlns.oracle.com/weblogic/weblogic-application/1.2/weblogic-application.xsd">..." "

    Examples can be found here: extracts of Middleware: the class loading and packaging of the Application

    Description of all items can be found here: Enterprise Application Deployment Descriptor éléments.

  • B2B Gateway fails to generate data xml for 997

    Hi all

    I am faced with a particular problem with one of my test B2B case, where xml for 997 EDI X 12 file is not generated. The file EDI 997 is get picked up however it will fail to generate the request message. In the report so there will be no errors. When I click on the details link on the page of reports for the 997 message the message of application link is not active and does not redirect to the details of the application pop up message by clicking on it.

    Could someone of you please think why this problem occurs... It worked perfectly in my case of dev...

    Please also suggest if more details could be found in the log files of B2B.


    concerning
    Rakesh

    Your real problem is configuration...

    You must go to the Configuration under Administration tab and section of the page, set "notify functional Inbound" accused of reception and the "receipt functional managed automatically ' to 'true '. Otherwise the message from the Application does not get generated for your 997 s entering.

Maybe you are looking for

  • Is there a way to get the synchronization (in sync now) on Firefox Android?

    I logged on Firefox Sync on my desk and two mobile devices and everything seems ok, except that on mobile devices synchronization that happens to intervals rather long. I have the button "sync" in the toolbar of my office; is there something similar

  • Missing FaceTime on iPhone SE after update to IOS 9.3.2

    Hey Apple team & support I updated my iPhone, but my FaceTime disappeared... I checked in the settings including under restrictions where the FaceTime icon appears at all either, but also the restrictions is defined as OFF. I have synced my iTunes as

  • Why do third-party keyboard apps have problems in Mozilla for Android browser?

    I have a third party application that I use as a keyboard: SwiftKey X. whenever I select this keyboard as my default and start typing, that whether in the text on the site itself or the adressbar fields, he never seems to get the text right. For exam

  • DVD / disc not recognized Equium A100

    I recently bought a laptop with Vista installed Equium. On my old pc (Windows XP Home edition), I supported a large number of pictures and files on a DVD disc with nero, when I try to load these on my laptop the drive is not recognized. I have a lot

  • HP EliteDesk 800 G1 tour upgrade to win 8.1

    I have installed and configured a new EliteDesk 800 G1 Tower system that came with Windows 7 Pro (like a downgrade from Windows Pro 8.1).  Support don't really understand my question - what is the process and where can I get the software to perform a