You are here: Re: Newbie: Ajax permission'g question « HTML « IT news, forums, messages
Re: Newbie: Ajax permission'g question

Posted by Hywel Jenkins on 04/17/06 14:46

hemant.singh@gmail.com wrote:
> Hello all,
> I am developing a solution(JS/Ajax+ruby) which will be hosted on say
> domain x.com
>
> now my client can be comg from any domain, all they need to do is
>
> <!-- Magic script starts -->
> <div id="mymagic">
> <script src="http://x.com/javascripts/client.js" />
> <script type='text/javascript'>
> showThemReality();
> </script>
> </div>
> <!-- Magic script ends -->
>
> Now the client.js loaded from x.com is making a ajax connection to
> x.com, is this a issue? If not than how to access x.com server scripts
> from client.js? I am try'g and it is giving me permission denied
> exception.


You've come up against the cross-domain scripting browser security.
This has been around for a long time. I suspect googling for "ajax
cross domain security" will yield something helpful.

--
Hywel

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация