Is a client server model to do root operations without asking for password everytime secure?

I’m writing a python application that will do some operations that will require root privileges. Instead of asking for user password every time i decided to use server client model.
A python script will be executed as root user using pkexe… Continue reading Is a client server model to do root operations without asking for password everytime secure?