<div dir="auto">I am considering adding CORS files to X3DJSONLD (GUI).  I already use a local copy.</div><div dir="auto"><br></div><div dir="auto">I have one question though…is it possible to add search features, like searching for filenames, say i want to create a menu from results?   I realize i could create a cache to traverse.</div><div dir="auto"><br></div><div dir="auto">Probably someone has faced this before?</div><div dir="auto"><br></div><div dir="auto">Hmm!</div><div dir="auto"><br></div><div dir="auto">John</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, May 22, 2023 at 5:19 AM Brutzman, Donald (Don) (CIV) <<a href="mailto:brutzman@nps.edu">brutzman@nps.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word"><div class="m_9044697055877632956WordSection1"><ol style="margin-top:0in" start="1" type="1"><li class="m_9044697055877632956MsoListParagraph">Leonard, am still hoping we can get models the following two archives handled similarly.  Please advise if there are any difficulties with this.<u></u><u></u></li></ol><p class="MsoNormal"><u></u> <u></u></p><ul style="margin-top:0in" type="disc"><li class="m_9044697055877632956MsoListParagraph" style="margin-left:0in"><a href="https://x3dgraphics.com/examples/X3dForWebAuthors/Chapter01TechnicalOverview/HelloWorld.x3d" target="_blank">https://x3dgraphics.com/examples/X3dForWebAuthors/Chapter01TechnicalOverview/HelloWorld.x3d</a><u></u><u></u></li><li class="m_9044697055877632956MsoListParagraph" style="margin-left:0in"><a href="https://x3dgraphics.com/examples/X3dForAdvancedModeling/HelloWorldScenes/HelloWorld.x3d" target="_blank">https://x3dgraphics.com/examples/X3dForAdvancedModeling/HelloWorldScenes/HelloWorld.x3d</a><u></u><u></u></li></ul><p class="MsoNormal"><u></u> <u></u></p><ol style="margin-top:0in" start="2" type="1"><li class="m_9044697055877632956MsoListParagraph">Also when time permits, request details on the <a href="http://web3d.org" target="_blank">web3d.org</a> server configuration that you accomplished.  Can ensure that there is nothing revealing (security-wise) and then our CORS documentation can be updated for use by other server administrators hosting X3D models.<u></u><u></u></li></ol><p class="MsoNormal"><u></u> <u></u></p><ul style="margin-top:0in" type="disc"><li class="m_9044697055877632956MsoListParagraph" style="margin-left:0in">X3D Scene Authoring Hints: CORS<u></u><u></u></li><li class="m_9044697055877632956MsoListParagraph" style="margin-left:0in"><a href="https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#CORS" target="_blank">https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#CORS</a><u></u><u></u></li></ul><p class="MsoNormal"><u></u> <u></u></p><ol style="margin-top:0in" start="3" type="1"><li class="m_9044697055877632956MsoListParagraph">Holger, if you decide to add something similar to X_ITE’s repertoire of capabilities, please let me know and I will add autogeneration of corresponding links to all of the individual Web3D example pages.<u></u><u></u></li></ol><p class="MsoNormal"><u></u> <u></u></p><ol style="margin-top:0in" start="4" type="1"><li class="m_9044697055877632956MsoListParagraph">Michalis (for view3dscene) and Doug (for FreeWRL) it is interesting to consider options for tools to launch such an editable viewer.<u></u><u></u></li></ol><p class="m_9044697055877632956MsoListParagraph"><u></u> <u></u></p><p class="MsoNormal">I’ll be adding that as a menu option for X3D-Edit, once we finish our build transition to github in support of NetBeans native plugin capability.<u></u><u></u></p><p class="MsoNormal"><br>X3D-Edit already can publish scenes to X_ITE and X3DOM, similarly such utility methods are part of Java X3DJSAIL library and Python X3DPSAIL x3d.py library.  Am looking forward to adding these further utility methods for returning X3DOM Editor links.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">The more we facilitate CORS the better, it handles important Web security issues that have protected HTML5 pages as well.<u></u><u></u></p></div></div><div lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word"><div class="m_9044697055877632956WordSection1"><div><p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New""><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">all the best, Don<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">-- <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">Don Brutzman  Naval Postgraduate School, Code USW/Br        <a href="mailto:brutzman@nps.edu" target="_blank">brutzman@nps.edu</a><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA    +1.831.656.2149<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">X3D graphics, virtual worlds, navy robotics <a href="https://faculty.nps.edu/brutzman" target="_blank">https://faculty.nps.edu/brutzman</a><u></u><u></u></span></p></div><p class="MsoNormal"><u></u> <u></u></p><div><div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b>From:</b> Brutzman, Donald (Don) (CIV) <br><b>Sent:</b> Friday, May 12, 2023 1:01 AM<br><b>To:</b> Web3D WebServices <<a href="mailto:webmaster@web3d.org" target="_blank">webmaster@web3d.org</a>>; <a href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a>; Consortium <<a href="mailto:consortium@web3d.org" target="_blank">consortium@web3d.org</a>><br><b>Cc:</b> <a href="mailto:brutzman@nps.edu" target="_blank">brutzman@nps.edu</a><br><b>Subject:</b> RE: [consortium] Cross Origin Access, CORS support for X3DOM editor<u></u><u></u></p></div></div><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Thank you for correctly diagnosing the problem with ConformanceNist  examples, Leonard.   I have fixed the corresponding stylesheet and all conversions of <a href="http://web3d.org" target="_blank">web3d.org</a> content should be OK now.  Additional examples:<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><ul style="margin-top:0in" type="disc"><li class="m_9044697055877632956MsoListParagraph" style="margin-left:0in">X3D Example Archives: Conformance Nist, Appearance, Appearance, material<u></u><u></u></li><li class="m_9044697055877632956MsoListParagraph" style="margin-left:0in">Test of Appearance node ability to accept a Material node as an argument for the material field.<u></u><u></u></li><li class="m_9044697055877632956MsoListParagraph" style="margin-left:0in"><a href="https://www.web3d.org/x3d/content/examples/ConformanceNist/Appearance/Appearance/materialIndex.html" target="_blank">https://www.web3d.org/x3d/content/examples/ConformanceNist/Appearance/Appearance/materialIndex.html</a><u></u><u></u></li><li class="m_9044697055877632956MsoListParagraph" style="margin-left:0in"><a href="https://andreasplesch.github.io/Library/Viewer/index.html?url=https://www.web3d.org/x3d/content/examples/ConformanceNist/Appearance/Appearance/material.x3d" target="_blank">https://andreasplesch.github.io/Library/Viewer/index.html?url=https://www.web3d.org/x3d/content/examples/ConformanceNist/Appearance/Appearance/material.x3d</a><u></u><u></u></li></ul><p class="MsoNormal"><u></u> <u></u></p><ul style="margin-top:0in" type="disc"><li class="m_9044697055877632956MsoListParagraph" style="margin-left:0in">X3D Example Archives: Conformance Nist, STEP, CTC 03, Nist Ctc 03 Asme 1 Ap 203 Occ<u></u><u></u></li><li class="m_9044697055877632956MsoListParagraph" style="margin-left:0in">NIST Product and Manufacturing Information (PMI) Complex Test Case 3.<u></u><u></u></li><li class="m_9044697055877632956MsoListParagraph" style="margin-left:0in"><a href="https://www.web3d.org/x3d/content/examples/ConformanceNist/STEP/CTC03/NistCtc03Asme1Ap203OccIndex.html" target="_blank">https://www.web3d.org/x3d/content/examples/ConformanceNist/STEP/CTC03/NistCtc03Asme1Ap203OccIndex.html</a><u></u><u></u></li><li class="m_9044697055877632956MsoListParagraph" style="margin-left:0in"><a href="https://andreasplesch.github.io/Library/Viewer/index.html?url=https://www.web3d.org/x3d/content/examples/ConformanceNist/STEP/CTC03/NistCtc03Asme1Ap203Occ.x3d" target="_blank">https://andreasplesch.github.io/Library/Viewer/index.html?url=https://www.web3d.org/x3d/content/examples/ConformanceNist/STEP/CTC03/NistCtc03Asme1Ap203Occ.x3d</a><u></u><u></u></li></ul><p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New""><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">all the best, Don<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">-- <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">Don Brutzman  Naval Postgraduate School, Code USW/Br        <a href="mailto:brutzman@nps.edu" target="_blank">brutzman@nps.edu</a><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA    +1.831.656.2149<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">X3D graphics, virtual worlds, navy robotics <a href="https://faculty.nps.edu/brutzman" target="_blank">https://faculty.nps.edu/brutzman</a><u></u><u></u></span></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><b>From:</b> x3d-public <a href="mailto:x3d-public-bounces@web3d.org" target="_blank">x3d-public-bounces@web3d.org</a> <b>On Behalf Of </b>Web3D WebServices<br><b>Sent:</b> Thursday, May 11, 2023 6:07 AM<br><b>To:</b> <a href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a><br><b>Subject:</b> Re: [x3d-public] [consortium] Cross Origin Access, CORS support for X3DOM editor<u></u><u></u></p><p>The one listed issue is that there is no file at the specified URL. There needs to be another 'Appearance/' in the path. <u></u><u></u></p><p>Leonard Daly<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><div><div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b>From:</b> Brutzman, Donald (Don) (CIV) <br><b>Sent:</b> Thursday, May 11, 2023 1:39 AM<br><b>To:</b> Web3D WebServices <<a href="mailto:webmaster@web3d.org" target="_blank">webmaster@web3d.org</a>>; <a href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a>; Consortium <<a href="mailto:consortium@web3d.org" target="_blank">consortium@web3d.org</a>><br><b>Cc:</b> <a href="mailto:brutzman@nps.edu" target="_blank">brutzman@nps.edu</a><br><b>Subject:</b> RE: [consortium] Cross Origin Access, CORS support for X3DOM editor<u></u><u></u></p></div></div><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Building on this great work:<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Links to X3DOM editor are now available for each of the 2000 scenes in archives served by <a href="http://web3d.org" target="_blank">web3d.org</a> server.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><ul style="margin-top:0in" type="disc"><li class="m_9044697055877632956MsoListParagraph" style="margin-left:0in"><a href="https://www.web3d.org/x3d/content/examples/Basic" target="_blank">https://www.web3d.org/x3d/content/examples/Basic</a><u></u><u></u></li><li class="m_9044697055877632956MsoListParagraph" style="margin-left:0in"><a href="https://www.web3d.org/x3d/content/examples/ConformanceNist" target="_blank">https://www.web3d.org/x3d/content/examples/ConformanceNist</a><u></u><u></u></li><li class="m_9044697055877632956MsoListParagraph" style="margin-left:0in"><a href="https://www.web3d.org/x3d/content/examples/HumanoidAnimation" target="_blank">https://www.web3d.org/x3d/content/examples/HumanoidAnimation</a><u></u><u></u></li><li class="m_9044697055877632956MsoListParagraph" style="margin-left:0in"><a href="https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook" target="_blank">https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook</a><u></u><u></u></li></ul><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Spot-check examples:<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><ul style="margin-top:0in" type="disc"><li class="m_9044697055877632956MsoListParagraph" style="margin-left:0in">X3D Example Archives: Basic, Chemical Markup Language, Caffeine<u></u><u></u></li><li class="m_9044697055877632956MsoListParagraph" style="margin-left:0in">Autogenerated version of Caffeine.x3d scene produced from Caffeine.xml Chemical Markup Language (CML) version 1.0 source file.<u></u><u></u></li><li class="m_9044697055877632956MsoListParagraph" style="margin-left:0in"><a href="https://www.web3d.org/x3d/content/examples/Basic/ChemicalMarkupLanguage/CaffeineIndex.html" target="_blank">https://www.web3d.org/x3d/content/examples/Basic/ChemicalMarkupLanguage/CaffeineIndex.html</a> then <i>X3DOM (<b><span style="color:#2f5597"><a href="https://andreasplesch.github.io/Library/Viewer/index.html?url=https://www.web3d.org/x3d/content/examples/Basic/ChemicalMarkupLanguage/Caffeine.x3d" target="_blank"><span style="color:#0000bf">editor</span></a></span></b>)</i><u></u><u></u></li><li class="m_9044697055877632956MsoListParagraph" style="margin-left:0in"><a href="https://andreasplesch.github.io/Library/Viewer/index.html?url=https://www.web3d.org/x3d/content/examples/Basic/ChemicalMarkupLanguage/Caffeine.x3d" target="_blank">https://andreasplesch.github.io/Library/Viewer/index.html?url=https://www.web3d.org/x3d/content/examples/Basic/ChemicalMarkupLanguage/Caffeine.x3d</a><u></u><u></u></li></ul><p class="MsoNormal"><u></u> <u></u></p><ul style="margin-top:0in" type="disc"><li class="m_9044697055877632956MsoListParagraph" style="margin-left:0in">X3D Example Archives: Humanoid Animation, Characters, Jin LOA 3<u></u><u></u></li><li class="m_9044697055877632956MsoListParagraph" style="margin-left:0in">Articulated 3D game character designed with a general graphics tool, then converted into an X3D HAnim model.<u></u><u></u></li><li class="m_9044697055877632956MsoListParagraph" style="margin-left:0in"><a href="https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Characters/JinLOA3Index.html" target="_blank">https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Characters/JinLOA3Index.html</a> <u></u><u></u></li><li class="m_9044697055877632956MsoListParagraph" style="margin-left:0in"><a href="https://andreasplesch.github.io/Library/Viewer/index.html?url=https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Characters/JinLOA3.x3d" target="_blank">https://andreasplesch.github.io/Library/Viewer/index.html?url=https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Characters/JinLOA3.x3d</a><u></u><u></u></li></ul><p class="MsoNormal"><u></u> <u></u></p><ul style="margin-top:0in" type="disc"><li class="m_9044697055877632956MsoListParagraph" style="margin-left:0in">X3D Example Archives: VRML 2 Sourcebook, Siggraph 98 Course, Robots<u></u><u></u></li><li class="m_9044697055877632956MsoListParagraph" style="margin-left:0in">Robot generator prototype to create multiple new nodes.<u></u><u></u></li><li class="m_9044697055877632956MsoListParagraph" style="margin-left:0in"><a href="https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/RobotsIndex.html" target="_blank">https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/RobotsIndex.html</a><u></u><u></u></li><li class="m_9044697055877632956MsoListParagraph" style="margin-left:0in"><a href="https://andreasplesch.github.io/Library/Viewer/index.html?url=https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/Robots.x3d" target="_blank">https://andreasplesch.github.io/Library/Viewer/index.html?url=https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/Robots.x3d</a><u></u><u></u></li><li class="m_9044697055877632956MsoListParagraph" style="margin-left:0in">user warning: all those high-intensity eyes following me around makes me nervous… 8)<u></u><u></u></li></ul><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><span style="background:yellow">Problem: ConformanceNist examples do not appear to be getting handled properly.  Example:<u></u><u></u></span></p><p class="MsoNormal"><span style="background:yellow"><u></u> <u></u></span></p><ul style="margin-top:0in" type="disc"><li class="m_9044697055877632956MsoListParagraph" style="margin-left:0in"><span style="background:yellow"><a href="https://andreasplesch.github.io/Library/Viewer/index.html?url=https://www.web3d.org/x3d/content/examples/ConformanceNist/Appearance/material.x3d" target="_blank">https://andreasplesch.github.io/Library/Viewer/index.html?url=https://www.web3d.org/x3d/content/examples/ConformanceNist/Appearance/material.x3d</a><u></u><u></u></span></li><li class="m_9044697055877632956MsoListParagraph" style="margin-left:0in"><span style="background:yellow"><a href="http://web3d.org/x3d/content/examples/ConformanceNist/Appearance/material.x3d" target="_blank">web3d.org/x3d/content/examples/ConformanceNist/Appearance/material.x3d</a>' from origin '<a href="https://andreasplesch.github.io" target="_blank">https://andreasplesch.github.io</a>' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.<u></u><u></u></span></li></ul><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Leonard, when you are satisfied that everything is set up OK for <a href="http://web3d.org" target="_blank">web3d.org</a> CORS, I hope that you can configure <a href="http://x3dgraphics.com" target="_blank">x3dgraphics.com</a> CORS similarly.<u></u><u></u></p><div><p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New""><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">all the best, Don<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">-- <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">Don Brutzman  Naval Postgraduate School, Code USW/Br        <a href="mailto:brutzman@nps.edu" target="_blank">brutzman@nps.edu</a><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA    +1.831.656.2149<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">X3D graphics, virtual worlds, navy robotics <a href="https://faculty.nps.edu/brutzman" target="_blank">https://faculty.nps.edu/brutzman</a><u></u><u></u></span></p></div><p class="MsoNormal"><u></u> <u></u></p><div><div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b>From:</b> Brutzman, Donald (Don) (CIV) <<a href="mailto:brutzman@nps.edu" target="_blank">brutzman@nps.edu</a>> <br><b>Sent:</b> Sunday, May 7, 2023 9:14 PM<br><b>To:</b> Web3D WebServices <<a href="mailto:webmaster@web3d.org" target="_blank">webmaster@web3d.org</a>>; <a href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a>; Consortium <<a href="mailto:consortium@web3d.org" target="_blank">consortium@web3d.org</a>><br><b>Cc:</b> Brutzman, Donald (Don) (CIV) <<a href="mailto:brutzman@nps.edu" target="_blank">brutzman@nps.edu</a>><br><b>Subject:</b> RE: [consortium] Cross Origin Access, CORS support for X3DOM editor<u></u><u></u></p></div></div><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Wow very powerful results, thanks Leonard for excellent work.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">There are quite a few CORS references online as follows, additional suggestions are welcome.<u></u><u></u></p><ul style="margin-top:0in" type="disc"><li class="m_9044697055877632956MsoListParagraph" style="margin-left:0in">X3D Scene Authoring Hints: CORS<u></u><u></u></li><li class="m_9044697055877632956MsoListParagraph" style="margin-left:0in"><a href="https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#CORS" target="_blank">https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#CORS</a><u></u><u></u></li></ul><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Also thanks Andreas for making this capability available.  Again wow.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Looking forward to continued experimentation and progress.<u></u><u></u></p><div><p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New""><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">all the best, Don<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">-- <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">Don Brutzman  Naval Postgraduate School, Code USW/Br        <a href="mailto:brutzman@nps.edu" target="_blank">brutzman@nps.edu</a><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA    +1.831.656.2149<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">X3D graphics, virtual worlds, navy robotics <a href="https://faculty.nps.edu/brutzman" target="_blank">https://faculty.nps.edu/brutzman</a><u></u><u></u></span></p></div><p class="MsoNormal"><u></u> <u></u></p><div><div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b>From:</b> consortium <<a href="mailto:consortium-bounces@web3d.org" target="_blank">consortium-bounces@web3d.org</a>> <b>On Behalf Of </b>Web3D WebServices<br><b>Sent:</b> Sunday, May 7, 2023 8:45 PM<br><b>To:</b> <a href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a>; Consortium <<a href="mailto:consortium@web3d.org" target="_blank">consortium@web3d.org</a>><br><b>Subject:</b> [consortium] Cross Origin Access<u></u><u></u></p></div></div><p class="MsoNormal"><u></u> <u></u></p><p>The entirety of the <a href="https://www.web3d.org/x3d/content" target="_blank">https://www.web3d.org/x3d/content</a> 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 <a href="https://www.web3d.org/" target="_blank">https://www.web3d.org/</a> can request access to any file in <a href="https://www.web3d.org/x3d/content/*" target="_blank">https://www.web3d.org/x3d/content/*</a>. The browser should grant Cross Origin access (aka CORS) to that request. The Web3D server will separately determine if the request will be granted.<u></u><u></u></p><p>For example, various X3D worlds in <a href="https://www.web3d.org/x3d/content/examples/Basic" target="_blank">https://www.web3d.org/x3d/content/examples/Basic</a> can be displayed in Andreas' X3DOM viewer at <a href="https://andreasplesch.github.io/Library/Viewer/index.html" target="_blank">https://andreasplesch.github.io/Library/Viewer/index.html</a>, specifically <a href="https://andreasplesch.github.io/Library/Viewer/index.html?url=https://www.web3d.org/x3d/content/examples/HelloWorld.x3d" target="_blank">https://andreasplesch.github.io/Library/Viewer/index.html?url=https://www.web3d.org/x3d/content/examples/HelloWorld.x3d</a> does display this example.<u></u><u></u></p><p>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 <a href="https://www.web3d.org/x3d/content/examples/" target="_blank">https://www.web3d.org/x3d/content/examples/</a>. 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.<u></u><u></u></p><div><p class="MsoNormal">-- <br><b>Leonard Daly</b><br>WebServices, Web3D Consortium<br>President, Daly Realism - <i>Creating the Future</i><u></u><u></u></p></div></div></div>_______________________________________________<br>
x3d-public mailing list<br>
<a href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a><br>
<a href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org" rel="noreferrer" target="_blank">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a><br>
</blockquote></div></div>