1. Vijay Jha
  2. PowerBuilder
  3. Monday, 19 December 2022 05:30 AM UTC

Hi There,

I have below questions for Appeon -

1. Are we really using INET enough to need TLS 1.2/1.3 ?

2. Does INET support TLS 1.2/1.3 ?

3. Why INET is a security vulnerability (just TLS or something else)? 

Note - In our case we are only using INET to launch a browser on the workstation, not make web service calls across the network. 

4. if this is really a problem for us ? (is there some research up front to determine ? ) If so, then what Appeon recommends as a replacement for INET ?

 

Thanks

Vijay Jha

John Fauss Accepted Answer Pending Moderation
  1. Monday, 19 December 2022 06:30 AM UTC
  2. PowerBuilder
  3. # 1

Hi, Vijay -

If the only thing you need is to open a web browser app (but you don't know what browser the user typically uses), I've posted code in CodeXchange that shows how to determine the path and name of the user's default web browser. Perhaps it can help:

   https://community.appeon.com/index.php/codeexchange/powerbuilder/313-a-get-default-browser-function

Best regards, John

Comment
  1. Roland Smith
  2. Monday, 19 December 2022 13:42 PM UTC
My RunAndWait example uses the AssocQueryString Windows API function to return the default browser:

https://www.topwizprogramming.com/freecode_runandwait.html
  1. Helpful 3
There are no comments made yet.
Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Monday, 19 December 2022 06:23 AM UTC
  2. PowerBuilder
  3. # 2

Inet doesn’t support the newer TLS versions.  The other issue is it doesn’t support newer security mechanisms, such as tokens, two-way SSL, etc.  Lastly, since it is obsolete we are not fixing any security vulnerabilities that might be discovered in the future.  Therefore, you should replace Inet with HTTPClient.

Comment
  1. Vijay Jha
  2. Monday, 19 December 2022 10:08 AM UTC
what is the replacement for the obsolete HyperlinkToURL() ?
  1. Helpful
  1. Chris Pollach @Appeon
  2. Monday, 19 December 2022 13:39 PM UTC
Hi Vijay;

The planned replacement (AFAIK) at this time is to add something like the HyperLinkToURL command to the HTTPCLIENT object in PB 2022 R2.

Regards ... Chris
  1. Helpful
There are no comments made yet.
Vijay Jha Accepted Answer Pending Moderation
  1. Monday, 19 December 2022 10:13 AM UTC
  2. PowerBuilder
  3. # 3

what is the replacement for the obsolete HyperlinkToURL() ?

Comment
  1. Armeen Mazda @Appeon
  2. Monday, 19 December 2022 15:10 PM UTC
We will have replacement coming in PB 2022 R2 or you can do what John and Roland said.
  1. Helpful
There are no comments made yet.
Vijay Jha Accepted Answer Pending Moderation
  1. Wednesday, 21 December 2022 09:56 AM UTC
  2. PowerBuilder
  3. # 4

Hey There,

 

I was trying to open one link from one window by using httpclient ( using get and post) but, it is not opening either. I was using INET with getcontextservice() and HyperlinkToURL() earlier when I'm trying to replace all INET stuff with httpcleint , link is not at all opening. I tried above ways but no luck.

I see GetContectService is listed under httpclient function but when i'm passing reference it is giving error. 

 

Can anyone help me with some sample code through which I can replace INET object with HTTPCLEINT and can open my URL from my window ?

it is only one page so even I tried with PDF ways but, no luck.

 

If, anyone is having with some sample code let me know ?

 

Thanks

Vijay Jha

 

 

 

Comment
  1. Armeen Mazda @Appeon
  2. Wednesday, 21 December 2022 16:36 PM UTC
As I mentioned, replacement for HyperLinkToURL() coming in PB 2022 R2. Inet does many things... current HTTPClient is not replacement for HyperlinkToURL(). In meantime, you can consider to keep using the obsolete feature or switch to methods outlined by John and Roland.
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.