Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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?

Posted

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

Software bugs are impossible to detect by anybody except the end user.
Posted

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']

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...