Q
Problem solve Get help with specific problems with your technologies, process and projects.

Is there a way to share security credentials amongst several programs?

I am trying to find a way to share security credentials amongst several programs. I only want the first instance of a program to check the security credentials, then any other applications that load need to query and use the previously provided credentials. Any suggestions on how to have a new instance of a program query a different instance? I use a custom security system in the applications database. It then assigns the use and roles to the applications thread using Thread.CurrentPrincipal. I am at a loss....
I don't think you can pass those security credentials around that easily. The main problem is that security credentials are assigned on a per process basis so even if you manage to pass the value of a security credential from one process to another, it's not the actual security credential. You'll have to do the work inside each process.

Dig Deeper on Win Development Resources

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchCloudComputing

SearchSoftwareQuality

TheServerSide.com

Close