CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   JavaScript programming (http://www.codingforums.com/forumdisplay.php?f=2)
-   -   iframe json security question (http://www.codingforums.com/showthread.php?t=217591)

dereko 02-06-2011 06:47 PM

iframe json security question
 
a simple NO YOU CAN'T or a BUY A TEXTBOOK & READ IT will probably answer my query..
what i want to do is to analyse a load of share bulletin boards, from a webpage on my home pc. i'd hoped to do it by putting the bb page in an iframe and parsing the iframe's innerHTML. but this is barred by javascript.
i'm a bit cheesed off having found that out only after doing the hard work of writing the parsing-code.. (i had pasted a sample bulletin board source code into the iframe, so it was all local..)
but i read something about JSON.. which might outflank the security. i'd like to know: can i get an example of how this might be done? how much of a learning curve is JSON. can i fix it up on this machine?
thanks for any help..

Philip M 02-06-2011 07:54 PM

http://www.openajax.org/whitepapers/...20Security.php

http://www.zackgrossbart.com/hackito/jsonp-sop/

Read it carefully, and note the security issues involved. And as it says, this is university level code.

Are you sure that there are no copyright issues involved? If there are you may well attract a swarm of expensive lawyers.


It is your responsibility to die() if necessary….. - PHP Manual

dereko 02-06-2011 10:22 PM

thanks. i'll give it some thought, though it looks a little too complex. i'm up to my intellectual limit as it is..

i can't see it being illegal: my snooping isn't going to be rebroadcast. i'm trying :mad: :confused: to rework the idea by pasting the bulletin board source one at a time into a textarea.. i was hoping to fire a load of urls into the processor to analyse bulletin boards relating to different companies..


All times are GMT +1. The time now is 02:29 PM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.