Scripting: Socket object to create HTTPS connection. Any way to implement TLS or SSL protocol?

  • 1
  • Question
  • Updated 1 year ago
Hello.
I need to send sensitive data securely from Photoshop extension that is written in ExtendScript .jsx (extended implementation of JavaScript). It may be also any other Adobe product that provides a scripting interface. I can see at Adobe docs, that available Socket object is really simple. You can specify custom port to 443, but there is missed data encryption. Has anyone idea or already found solution how do transfer data securely over HTTPS from Adobe scripting?
Photo of Krasbit Jarosław Kraska

Krasbit Jarosław Kraska

  • 5 Posts
  • 0 Reply Likes

Posted 1 year ago

  • 1
Photo of Krasbit Jarosław Kraska

Krasbit Jarosław Kraska

  • 5 Posts
  • 0 Reply Likes
I had to use workaround without using Socket object. It is based on app.system() and VisualBasic script + winHttpRequest or curl for mac.
Photo of Max Johnson

Max Johnson, Champion

  • 488 Posts
  • 235 Reply Likes
If you write a full extension you can use node.js libraries... But that's not exactly a standalone solution. Has to be installed...