matthiasblaesing commented on pull request #26:
URL: https://github.com/apache/netbeans-html4j/pull/26#issuecomment-981938033


   > Launching the HTTP server is the only solution I have for providing rich 
refactoring UIs, but the security issue is real.
   
   Ähm - NetBeans is not such a bad IDE and it is build around Swing. I know it 
en en vouge to bash Swing and to call it dead and all, but it is here and I 
don't see it dying (at least there is no valid successor visible right now). 
Refactoring works right now.
   
   And yes, I see it when a HTML renderer is used, it is visually different and 
looks worse, than plain Swing.
   
   > The only way I can think of to avoid it is: Create a random UID. Use it 
for the first connection between the browser and the server. Then stop 
accepting further request. That'd be safe, right? Plus stop listening on first 
wrong UID connection or if no connection is made in 5s...
   
   That is one way - or why not use an in-memory transport? That way you don't 
get zero exposure and direct interaction between the runtimes. For the OpenJFX 
webview a direct interaction between Java and Javascript code is possible by 
injecting a Java object into the JS context of the Webview. I bet other 
environment offer similar options, I doubt, that all webview integration go 
though a network port for interaction.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to