Groups > Software Support > Adobe Acrobat Scripting > Re: This document has accessed more than one site




This document has accessed more than one site

This document has accessed more than one site
Tue, 13 May 2008 16:20:47 -070
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
Post Reply
Re: This document has accessed more than one site
Wed, 14 May 2008 06:11:01 -070
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.

Post Reply
Re: This document has accessed more than one site
Wed, 14 May 2008 22:25:30 -070
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.

Post Reply
Re: This document has accessed more than one site
Thu, 15 May 2008 05:40:56 -070
this.URL will be considered accessing localhost. Anytime you access anything in
URL form it is considered connecting to a URL.

Post Reply
Re: This document has accessed more than one site
Thu, 15 May 2008 14:52:25 -070
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);

Other than that I am playing a wm player movie on enter.

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

Edit: have been testing and it is this.path thats making the message accur now
this.URL and this.path seem to cause the same problem can anyone help is there a
way to get the query string without acrobat saying I am accessing a URL.

Post Reply
about | contact