Public client or Confidential client: should I generate a client secret?

I’ve read about this but I don’t fully understand how to choose.
I have two options:
Public client

"A native, browser or mobile-device app. Cognito API requests are made from user systems that are not trusted with a client secret.&qu… Continue reading Public client or Confidential client: should I generate a client secret?

Detect invalid cert Android client if URL being redirected to a fake server

Here is the scenario:

Server A is an authentic server (A.com).
Server F is a fake server (F.com) that also has a valid cert for
F.com has a copy of A.com certificate to it (to fake as A.com).
Client C is trying to connect to A.com via a r… Continue reading Detect invalid cert Android client if URL being redirected to a fake server

Which is safer – using the sql_conn Flutter package or using a web server as a middle layer for requests against a SQL Server database?

We are currently working on setting up new Android handheld devices (RF guns) to read/write to our SQL Server 2019 database and are at a fork in the road in deciding what to do. Both options below would work, but option 1 is a lot faster t… Continue reading Which is safer – using the sql_conn Flutter package or using a web server as a middle layer for requests against a SQL Server database?

How to secure a web-only chat with message persistence and ability to delete a message?

I want to create a website for internal secure chat. I want to be able to give people a user name and log in and then they can log in to a portal at a website; then I can chat to them solely in a chat interface on this website. If they hav… Continue reading How to secure a web-only chat with message persistence and ability to delete a message?