4 Replies Latest reply: May 15, 2008 1:52 PM by (Daniel_Telfer) RSS

    This document has accessed more than one site

      Hi all Thanks in advance

      I am getting this message

      "This document has accessed more than one site and might be trying to
      share data among different locations. This could be a privacy concern.
      Are you sure you want to continue?"

      Clicking on the "details" button give the following message:
      List of sites accessed by these documents:
      file://localhost
      http://www.digitalfuel.co.nz
      Site which might be receiving data from the above sites:
      file:///C|/DOCUME%7E1/ADMINI%7E1/LOCALS%7E1/Temp/AcrE452.tmp.wmv

      I am running a java script that uses this.URL to get Query String it is this that seems to be the problem. I am also running a movie using enter page.

      Can any one tell me why and how I can rid of this message

      Thanks
      Daniel
        • 1. Re: This document has accessed more than one site
          Patrick Leckey Community Member
          What you're trying to do is refered to as "data taint". It's when a form accesses data from two (or more) different URLs and then tries to return that data to a yet different URL. It is a legitimate security concern and that is why you are seeing the message.

          The only way to prevent it is to limit your application to 2 URLs max - one to collect data from and one to post data to.
          • 2. Re: This document has accessed more than one site
            Community Member
            Thanks PDL

            I am new to this. as you can probably see.
            I now why I am accessing digitalfuel and File:///C....wmv
            digitalfuel is where the pdf lives File... is wmv the player for playing the movie. But why would I be accessing Localhost this must be when I get the this.URL I thought I was accessing digitalfuel again.

            Do you know what would be accessing localhost. Is it the movie or this.URL. Message only happens when I use this.URL and not when I use this.documentFileName but this does not give me the query string.

            Edit: Ive been thinking. So it must be the movie accessing LocalHost and this.URL Accessing digitalFuel. The then is I need to access both is there another way to do this. to only access one as I need to get the query string.

            Thanks again for your help
            • 3. Re: This document has accessed more than one site
              Patrick Leckey Community Member
              this.URL will be considered accessing localhost. Anytime you access anything in URL form it is considered connecting to a URL.

              You can try this.path instead.
              • 4. Re: This document has accessed more than one site
                Community Member
                Thanks again PDL

                I have tried this.path and have noticed that LocalHost reference has gone But I still get the message

                Clicking on the "details" button now only gives the following message:
                List of sites accessed by these documents:
                http://www.digitalfuel.co.nz
                Site which might be receiving data from the above sites:
                file:///C|/DOCUME%7E1/ADMINI%7E1/LOCALS%7E1/Temp/AcrE452.tmp.wmv

                I am narrowing it down but what is accessing www.digitalfuel.co.nz as I say I am only running a movie and this.path which has helped.

                here is the java I am using for the querystring and is the only script in the document at this time.

                function parseQueryString(href) {
                var hrefParts = href.split('?');

                // [0] is the URL, [1] is the query string
                var query = new String(hrefParts[1]);
                var getArray = query;

                return getArray;
                }

                var href = new String(this.path);
                var getArray = parseQueryString(href);

                var strReplaceAll = getArray;
                var intIndexOfMatch = strReplaceAll.indexOf( "%20" );

                while (intIndexOfMatch != -1){
                // Relace out the current instance.
                strReplaceAll = strReplaceAll.replace( "%20", " " )

                // Get the index of any next matching substring.
                intIndexOfMatch = strReplaceAll.indexOf( "%20" );
                }

                var fPointer = this.getField("Names");
                fPointer.value = (strReplaceAll);

                Any more help would be great I appreciate the time you are giving.

                Edit: If I remove this.path or this.URL from the script then the movie plays without security warning if I replace either the warning comes back. I really need to do both play movie and get query string. can anyone help is there a way to get the query string without acrobat saying I am accessing a URL.

                Cheers Daniel