NetTalk Central

Recent Posts

Pages: 1 2 [3] 4 5 ... 10
21
Web Server - Ask For Help / Re: Bearer authentication in a webservice - how?
« Last post by Bruce on February 26, 2024, 10:09:03 PM »
Hi Niels,

I expect you will want to better understand what they are actually asking for. It sounds like they are assuming that "Bearer" means something, and I'm not sure that you (or I) are on board yet with what it actually means (to them). It might be useful to understand where the token comes from, how it works, and so on.

In terms of incoming requests - there's an Authenticate embed in WebHandler which takes a token. (You're probably familiar with the one that takes user and password, used in basic authentication, but there's also one for brearer.) You can obviously add any code you like to authenticate the token in there.

In terms of what the token is, maybe you generate it - or maybe they generate it? Or maybe it's generated by a 3rd-party service (like "log in with google").

Incidentally an example of bearer token authentication is in Secwin 7. Web apps protected with Secwin 7 allow the user to "be remembered". This generates a token, which is sent to the client. This token is then sent back to the server, and evaluated as above when the user reconnects later on. but that's just an example, I don't know what your requirement actually is.

Cheers
Bruce

22
Hi Bruce,

Is there any webinar which explain how to setup the control template for the web server ?

Thanks
23
Hi

Moving from 8.59 to 12.63.

24
Web Server - Ask For Help / Bearer authentication in a webservice - how?
« Last post by Niels Larsen on February 26, 2024, 07:54:58 AM »
Hi

I have been given the task of coding an api where the access control is Bearer. Is there anyone who has done something similar and would like to share how it can be attacked.
As I see it, there are two tasks. One where I have to generate a token (from Account id, Client ID and a secret) which must be kept alive for a period of time and then the actual validation of the token.

Regards Niels
25
Web Server - Ask For Help / Re: VarnishCheck? slightly NTWS related
« Last post by JohanR on February 26, 2024, 03:06:15 AM »
Hi Bruce

Thanks!
I did try and follow the link over the weekend but it ended up on the amazon standard website,

BUT
after your suggestion I tried again and this time a form popped up with exactly the required function,
perhaps I mis copied the previous URL.

"Stop unwanted Amazon Route 53 health checks"

thanks for the help,

regards

Johan



26
Web Server - Ask For Help / Re: VarnishCheck? slightly NTWS related
« Last post by Bruce on February 26, 2024, 02:02:21 AM »
I'm guessing this IP was used by someone before, and set up a health-check.
Follow the link in the User Agent to see if you can turn it off.
27
Web Server - Ask For Help / Re: VarnishCheck? slightly NTWS related
« Last post by JohanR on February 25, 2024, 10:30:52 PM »
Hi Bruce

No AWS, it's a dedicated server in a datacentre, self managed.
Not aware of any health checks installed, but will do scratch around

thanks

Johan

28
Web Server - Ask For Help / Re: Update LineItem option in Accounts example
« Last post by Bruce on February 25, 2024, 09:21:54 PM »
sure, adapt the example to include the user interface you have in mind.
A "Save, Insert Another" button, or a checkbox, or a global setting, or whatever other UI you think is appropriate.

Then from that UI I can make suggestions as to what might work, or where an alternate UI might be better.

Cheers
Bruce
29
Web Server - Ask For Help / Re: VarnishCheck? slightly NTWS related
« Last post by Bruce on February 25, 2024, 09:20:04 PM »
I'm guessing your old server was on AWS? And the new server is on AWS?
And youve got an Amazon Health Check set up on your web server
https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover.html

?
30
Web Server - Ask For Help / Re: Update LineItem option in Accounts example
« Last post by Richard I on February 25, 2024, 03:13:16 PM »
Thanks for the reply Bruce

The Update Browse examples have the option to "Insert another" or "Return to Browse"
I am unable to create an example, I have nothing to send, because as discussed, I cannot locate the option in the update browse embeditor.

notwithstanding, I believe the option is a good one but it should not, in my opinion, be "set in stone" but be available to the user when required for obvious reasons.
So are you able to give it some consideration, please,  and perhaps enable  the user to select at run time by the use of a value, but as it is, it worries me that the "insert another" option cycles after the priming.

Regards,
Richard

Pages: 1 2 [3] 4 5 ... 10