[x3d-public] [consortium] Cross Origin Access, CORS support for X3DOM editor

Brutzman, Donald (Don) (CIV) brutzman at nps.edu
Sun May 7 21:13:34 PDT 2023

Wow very powerful results, thanks Leonard for excellent work.


There are quite a few CORS references online as follows, additional
suggestions are welcome.

*	X3D Scene Authoring Hints: CORS


Also thanks Andreas for making this capability available.  Again wow.


Looking forward to continued experimentation and progress.


all the best, Don


Don Brutzman  Naval Postgraduate School, Code USW/Br        brutzman at nps.edu

Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA    +1.831.656.2149

X3D graphics, virtual worlds, navy robotics https://faculty.nps.edu/brutzman


From: consortium <consortium-bounces at web3d.org> On Behalf Of Web3D
Sent: Sunday, May 7, 2023 8:45 PM
To: x3d-public at web3d.org; Consortium <consortium at web3d.org>
Subject: [consortium] Cross Origin Access


The entirety of the https://www.web3d.org/x3d/content directory tree has
been made cross-origin accessible. Existing restricting apply on the actual
request. That means that a request by a browser running a web page from a
host different from https://www.web3d.org/ can request access to any file in
https://www.web3d.org/x3d/content/*. The browser should grant Cross Origin
access (aka CORS) to that request. The Web3D server will separately
determine if the request will be granted.

For example, various X3D worlds in
https://www.web3d.org/x3d/content/examples/Basic can be displayed in
Andreas' X3DOM viewer at
ZnNRm0ZBfnjaIL%2BDviATej%2BItiiyzixM%3D&reserved=0> , specifically
PQE71lAMV3SqICErPHE9lmxLxarTjIaZkTgA%3D&reserved=0>  does display this

The access controls are a little looser than I would like. I plan on
tightening them up over the next week for all files not in
https://www.web3d.org/x3d/content/examples/. If files not in that path need
CORS support OR files in that path should not have CORS support, then please
let me know right away.

Leonard Daly
WebServices, Web3D Consortium
President, Daly Realism - Creating the Future

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20230508/726d61ca/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: HelloWorldX3domEditor.1600x1060.png
Type: image/png
Size: 616817 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20230508/726d61ca/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5464 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20230508/726d61ca/attachment-0001.p7s>

More information about the x3d-public mailing list