| Author |
Message
|
| maclema |
Posted: Tue May 08, 2007 12:01 am Post subject: Handling Sandbox Security |
|
|
Site Admin
Joined: 07 May 2007 Posts: 29
|
To access your database server you will need a crossdomain.xml file on the root of the server the database is located on.
Example: This allows any website to access the database from a flex app.
<?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=“*” to-ports=“3306″ />
</cross-domain-policy>
Example 2: This allows yourdomain.com to access mysql.yourdomain.com: (Place crossdomain.xml on root of mysql.yourdomain.com)
<?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=“*yourdomain.com” to-ports=“80,3306″ />
</cross-domain-policy>
These should work, let me know if they dont.
Matt |
|
| Back to top |
|
 |
| defri |
Posted: Tue Sep 18, 2007 12:14 am Post subject: Re: Handling Sandbox Security |
|
|
Joined: 18 Sep 2007 Posts: 2
|
if i'm using localhost webserver aplication (e.g Appserv), where should i put this xml file ? (appserv wwwroot in C:\appserv\www)
C:\Appserv
|----Apache2
|----Php
|----www
thnx |
|
| Back to top |
|
 |
| michael_ramirez44 |
Posted: Thu Sep 20, 2007 1:28 pm Post subject: |
|
|
Joined: 04 Sep 2007 Posts: 4
|
| It should be in your C:\appserv\www so that it can be accessed via http://your-domain/crossdomain.xml. You don't need the cross domain xml file if your Mysql server and web site are in the same domain. |
|
| Back to top |
|
 |
| defri |
Posted: Thu Sep 20, 2007 7:37 pm Post subject: |
|
|
Joined: 18 Sep 2007 Posts: 2
|
i'm still getting "SandBox..." i'm using Webserver and PHP, MySQL Server on the same domain  |
|
| Back to top |
|
 |
| michael_ramirez44 |
Posted: Fri Sep 21, 2007 12:11 pm Post subject: |
|
|
Joined: 04 Sep 2007 Posts: 4
|
| Could you post some source code? |
|
| Back to top |
|
 |
| Alex G |
Posted: Mon Oct 29, 2007 12:54 am Post subject: domain zone |
|
|
Joined: 29 Oct 2007 Posts: 1
|
| michael_ramirez44 wrote: |
| It should be in your C:\appserv\www so that it can be Ecatalog USA accessed via http://your-domain/crossdomain.xml. You don't need the cross domain xml file if your Mysql server and web site are in the same domain |
The domain zone matters?
unique pages
portals online
MySQL (pronounced (IPA) /mɑɪ ɛs kjuː ɛl/, "my S-Q-L"[1]) is a multithreaded, multi-user SQL database management system (DBMS)[2] which has, according to MySQL AB, more than 10 million installations.[3] The basic program runs as a server providing multiuser access to a number of databases.
MySQL is owned and sponsored by a single for-profit firm, the Swedish company MySQL AB, which holds the copyright to most of the codebase. This is similar to the JBoss model. It is dissimilar to the Apache project, where the software is developed by a public community and the copyright to the codebase is owned by its individual authors. Some industry observers believe MySQL will file for an IPO in early 2008.[citation needed]
The company develops and maintains the system, selling support and service contracts, as well as proprietary-licensed copies of MySQL, and employing people all over the world who collaborate via the Internet. MySQL AB was founded by David Axmark, Allan Larsson, and Michael "Monty" Widenius. The CEO is Mårten Mickos.
Last edited by Alex G on Sat Dec 22, 2007 10:41 am; edited 6 times in total |
|
| Back to top |
|
 |
| email9034656 |
Posted: Mon Nov 05, 2007 2:51 pm Post subject: very useful |
|
|
Joined: 05 Nov 2007 Posts: 1
|
|
| Back to top |
|
 |
| Franklin |
Posted: Thu Oct 16, 2008 2:14 am Post subject: |
|
|
Joined: 16 Oct 2008 Posts: 9
|
|
| Back to top |
|
 |
| Monrovia |
Posted: Mon Jul 05, 2010 10:02 pm Post subject: |
|
|
Joined: 05 Jul 2010 Posts: 1
|
|
| Back to top |
|
 |
|
|