automatic login

2 posts / 0 new
Last post
Pavel
automatic login

hi ,

i want to create an automatic sistem for Ig but i need to understand witch is the best way to login on a sistem and prevent the disconnection.

i was thinking to store username/passoword/apikey inside a db or file for some user but i think is not very safe.

there is another way?

effbiae
login

well, you could have the user type the password at the console when logging in (with no echo). then you have problems with keystroke sniffing.

if that's not acceptable, the user could encrypt their home directory and you could store the triple in one file as JSON.

you are going to get disconnected from lightstreamer now and then. i think it's simpler to restart your process than try to recover from a disconnection, but i'm happy to be proved wrong!

ta, jack

Log in or register to post comments