EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024 
<== Date ==> <== Thread ==>

Subject: Display Builder Web Runtime HTML pages
From: Hasan SANSAR via Tech-talk <tech-talk at aps.anl.gov>
To: tech-talk at aps.anl.gov
Date: Thu, 26 Oct 2023 16:03:11 +0300
Hi,

I have built dbwr and pvwr with tomcat9. For showing .bob files, dbwr is generating a html files that has like address:

http://192.168.56.11:8080/dbwr/view.jsp?display=file:/opt/bob/fpga.bob&macros=%7B%22S%22:%22Value%20One%22,%22N%22:%221%22%7D

I want to show html files in only iframes, I should use Content-Security-Policy frame-ancestors for this and, tomcat9 has not built-in CSP.

Could I run this html file with .bob files from another PC? I think that if I can publish html files from another PC, I can control permissions for showing pages.

I got html sources and changed href attribute of link tags, src attribute of script tags, window.location.host parameter, file path from another PC is assigned to this html file in dbwr.load_content, but it didn't worked.

Thank you for your responses.

--
Hasan SANSAR


Replies:
RE: Display Builder Web Runtime HTML pages CAOUEN Loïc via Tech-talk

Navigate by Date:
Prev: pvxs configuration problem Jörn Dreyer via Tech-talk
Next: RE: Display Builder Web Runtime HTML pages CAOUEN Loïc via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024 
Navigate by Thread:
Prev: Re: pvxs configuration problem Michael Davidsaver via Tech-talk
Next: RE: Display Builder Web Runtime HTML pages CAOUEN Loïc via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024 
ANJ, 27 Oct 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·