Running Python scripts under a different user
gandalf at designaproduct.biz
Mon May 29 14:01:43 CEST 2006
>> From what you wrote, I think that you need to change architecture. You
>> should write your own service rather than write tricky programs. This
>> way you can develop your own security system, and restrict access to
>> specific files/programs. You can write tools that can connect to your
>> service. The service program can be ran on the background, with
>> sufficient privileges. How does it sound?
> [Bermard] Any ressource you could point me to as to write services?
> I'm totally unexperienced with that.
I'm sorry, I was out of town in the weekend. You can try to write a
multi-threaded application server that provides services through TCP/IP.
Probably, the easiest to start with an existing framework:
There are many other libraries, you can look for them in the cheeseshop.
You can also develop your own protocol with SocketServer or xmlrpc:
More information about the Python-list