Prevent Blynk from writing a digital Pin wich was not designed in the App

Hi there and hello Blynk community!

i use Blynk with Virtual Pins V01 V02 etc. for App communication.

depending on the input, i wish to close a relais, turn on a lamp, etc.

I can choose wich Pins the App user can see and control, but…

How to prevent the app user from directly running https://server.tld:9443/authkey/update/D06?value=1

Since the user’s got the QR code containing server, port and authkey he can change any Pin
even if not designed in the App

is there a way to prevent that?

Greetings

Adding this line, preferably at the top of your sketch, should achieve that…

#define BLYNK_NO_BUILTIN   // Disable built-in analog & digital pin operations

Pete.

1 Like

Wow that was quick! i will test it!
Thanks a bunch!

it cannot be further defined in detail?

Greetings

As far as I’m aware, that’s it. What more were you looking for?

Pete.

1 Like