Hi !
I am working with a Raspberry pi 3 and Blynk Server (0.39.8), it’s working perfectly but I’d like to know if it what possible to block user registration. I already have my user account created and I won’t create new ones. I want to do this as I am afraid someone could create one if he has my IP. (tell me if i’m stressing for nothing )
I’ve opened the app port on my box as I need it to be.
Sorry if my English isn’t perfect !
Thanks,
Chris.
YES, you can block it. Just follow the “manual” in server.properties file
Chris24
November 10, 2018, 4:20pm
3
Hi,
Thank you very much !
Hi,
I’m sorry, but I didn’t understand the answer:
Just follow the “manual” in server.properties file
I checked the example server.properties file and didn’t see anything to help.
Could you provide more details?
Thanks.
I had difficulty at first finding the same file, here are my mini instructions.
create a server.cfg file and add these lines (edit to your settings)
server.host=my.server.org
contact.email=my@email.com
admin.email=my@email.com
admin.pass=mypassword
start the server with the new config
java -jar server-0.41.2.jar -serverConfig server.cfg
login to the admin console using the username and password you entered in the server config.
navigate to Config > server.properties
pull copy/paste all the stuff you want to change, add the lines you want to change to the server.cfg file.
These arent perfect instructions, but they work for me when i setup my local server.
Does this operation prevent a random user from registering their Blynk project with my local server?
oops i read the question wrong (apologies), been a long day. I see what you’re trying to do, find the setting that locks out new users from creating an account.
looking still.
try this .
allowed.users.list=my@email.com,wifes@email.com
1 Like
Oops… i fubbed again… Batting zero for the night.
Hi,
Put the last version of the Blynk local server on a fresh rapsbian.
Working all flawless and put it on internet to manage it from remote.
Becouse security purpose id like to permit register only for user of my custom domain.
By first step try to put on server.properties this directive “allowed.users.list=@mydomain.ovh”. But complete a full registration with a @gmail address.
Next step was to put “allowed.users.list=admin@mydomain.ovh,me@mydomain.ovh”. But same result with a @gmail addre…
Gunner
January 31, 2019, 5:33am
10
So, basically no options in the Local Server to restrict users, only via whatever security you set on your router/network.
What the future will bring is still undetermined, but marking this solved as it at least shows an answer.
1 Like
Dmitriy
January 31, 2019, 7:51am
11
lvennard:
allowed.users.list
No longer supported and was removed.
marvin7
January 31, 2019, 11:53am
12
Wow, thanks for info. So now my server is “open” to everyone?.. Still no new, unknown users though.
1 Like
Gunner
January 31, 2019, 12:03pm
13
Only if you let us know your Public IP and port You can share it here, I won’t tell anyone
2 Likes
marvin7
January 31, 2019, 12:13pm
14
Gunner:
I won’t tell anyone
Sure, I bet you won’t Same for me - I won’t tell/share anyone
I’ve found, that a kind of “workaround” might be the initial.energy=0
settings. It will allow to create account, but this will be useless.
4 Likes