newelfik
August 30th, 2011, 09:13 AM
Hi everyone,
I'm developing a screensaver under ubuntu.
This is an dynamic screensaver which done some actions on the system in background.
So i would like to restrict right to some users, so done an access politic to the screensaver.
I have a server and some client in Python, communication in TCP/Socket. the client listen gnome-screensaver dbus.
So I would like to secure the communication and authentication.
As it is a screensaver, there is no way to login/password authentication.
Have you got any idea ?
For the moment, I get back username in client module and send it to server with a config file for the rights, but python is not a compiled language, so... users can modify source code.
I'm developing a screensaver under ubuntu.
This is an dynamic screensaver which done some actions on the system in background.
So i would like to restrict right to some users, so done an access politic to the screensaver.
I have a server and some client in Python, communication in TCP/Socket. the client listen gnome-screensaver dbus.
So I would like to secure the communication and authentication.
As it is a screensaver, there is no way to login/password authentication.
Have you got any idea ?
For the moment, I get back username in client module and send it to server with a config file for the rights, but python is not a compiled language, so... users can modify source code.