Request for comments on modular application design and security.

J

Jorge Godoy

Hello.


I'm somewhat new to Python and I'm working on a modular application
that needs to access a database. Let me describe what I've done so far
and what I'm thinking about before asking something.

We have a login program that authenticates the user against passwords
available in the database and it opens a connection with priviledges
only to read the user's table. If the access is granted than we
os.execv() a second module that contains a menu list of modules of the
system that are available for them. This will be used as the 'main
menu'. If a button is clicked, the final program is called with all of
its options. The problem is how to pass the information that the user
was successfully authenticated and that connections should be opened
with its username and password on the database.

How can I pass this information from one proccess to another without
compromising security and in a way that's available in both Linux and
Windows? (They have half of the machines running each OS and are
migrating to Linux.)


Also, I'd appreciate comments on my approach. The program is going to
be huge in size and with several screens. I've adopted separate
modules to allow me to have it installed one piece a time and have it
working nicely on old machines (mainly P-233 or a maximum of P-300
with 64/128 MB of RAM).



TIA,
 
J

Jorge Godoy

Jorge Godoy said:
How can I pass this information from one proccess to another without
compromising security and in a way that's available in both Linux
and Windows? (They have half of the machines running each OS and are
migrating to Linux.)

It seems that PyRO will do that. Is it the best approach?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top