alanchinese Posted March 8, 2005 Posted March 8, 2005 i am making an environment with application-wise authentication. users login into the menu program. from the menu program, it creates a new process to launch other applications. is there a way for me to pass in the user and configuration info into this new process as xml serialization objects instead of command line arguments? Quote
AlexCode Posted March 8, 2005 Posted March 8, 2005 I did some experiences here but couldn't do what you want... What you may do is to save the XML file to a temporary file, on a specific location (you can even encrypt it), start the 2nd application with no command line arguments, and make that 2nd application read the previouslly saved file. After the read you can delete the temp file for security. Alex :p Quote Software bugs are impossible to detect by anybody except the end user.
HJB417 Posted March 8, 2005 Posted March 8, 2005 named pipes, sockets, and remoting come to mind. Quote
alanchinese Posted March 8, 2005 Author Posted March 8, 2005 users are remotely accessing the server and use the app there. which is more expensive? read/write to a local file, or sockets, or remoting? which is less secured? named pipes' date=' sockets, and remoting come to mind.[/quote'] Quote
HJB417 Posted March 8, 2005 Posted March 8, 2005 you may also want to to consider a windows or web service to validate authentication. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.