Click here to Skip to main content
15,888,095 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: I don't quite get this thing I've noticed Pin
Richard MacCutchan13-Feb-17 21:49
mveRichard MacCutchan13-Feb-17 21:49 
GeneralRe: I don't quite get this thing I've noticed Pin
leon de boer15-Feb-17 17:31
leon de boer15-Feb-17 17:31 
QuestionUDP Server vs Client Pin
bkelly1311-Feb-17 13:40
bkelly1311-Feb-17 13:40 
AnswerRe: UDP Server vs Client Pin
Richard MacCutchan11-Feb-17 20:40
mveRichard MacCutchan11-Feb-17 20:40 
GeneralRe: UDP Server vs Client Pin
bkelly1312-Feb-17 3:38
bkelly1312-Feb-17 3:38 
GeneralRe: UDP Server vs Client Pin
Richard MacCutchan12-Feb-17 6:07
mveRichard MacCutchan12-Feb-17 6:07 
AnswerRe: UDP Server vs Client Pin
leon de boer12-Feb-17 6:59
leon de boer12-Feb-17 6:59 
QuestionHow to create a Data Segment in a DLL that can only be accessed by a valid trusted application Pin
Rajesh_Parameswaran9-Feb-17 3:26
Rajesh_Parameswaran9-Feb-17 3:26 
Hi there,
I have an application which requires to read the credentials and login to the DB.
Since my application runs on schedule, someone has to fed in the credentials.

Storing the credentials in flat file with any encryption (including DPAPI) is not helping as the entropy will be stored in the same file and it can be easily retrieved.

Thought of having the Salt for the entropy in-memory which will be key-ed in by the user through an application that will be written on a secured shared memory and the same will only be able to access by my own process (with validating the Digital signature thump print).

The provision of creating the shared segment is done by a DLL and the Client process which sets the password and my process which reads the password is digitally signed and I can validate the same in the DLLMain - PROCESS_ATTACH. If the digital signature is invalid, I'm unloading the DLL by terminating the same.

All worked well with LoadLibrary API and when we tried testing with LoadLibraryEx with the option: DONT_RESOLVE_DLL_REFERENCES, it was not hitting the DLLMain and was able to call all the exported functions.

My query is that is there a way to securely share a data between two trusted application alone?
The application is developed using C++.

thanks in advance,
Rajesh Iyer
AnswerRe: How to create a Data Segment in a DLL that can only be accessed by a valid trusted application Pin
Rick York9-Feb-17 7:05
mveRick York9-Feb-17 7:05 
QuestionPostMessage issues/questions Pin
ForNow8-Feb-17 2:15
ForNow8-Feb-17 2:15 
AnswerRe: PostMessage issues/questions Pin
Victor Nijegorodov8-Feb-17 11:09
Victor Nijegorodov8-Feb-17 11:09 
GeneralRe: PostMessage issues/questions Pin
ForNow9-Feb-17 2:05
ForNow9-Feb-17 2:05 
QuestionDeleting Image IN VC++ Pin
raajpatel7-Feb-17 23:14
raajpatel7-Feb-17 23:14 
SuggestionRe: Deleting Image IN VC++ Pin
Jochen Arndt7-Feb-17 23:28
professionalJochen Arndt7-Feb-17 23:28 
GeneralRe: Deleting Image IN VC++ Pin
raajpatel8-Feb-17 0:47
raajpatel8-Feb-17 0:47 
AnswerRe: Deleting Image IN VC++ Pin
Jochen Arndt8-Feb-17 0:54
professionalJochen Arndt8-Feb-17 0:54 
AnswerRe: Deleting Image IN VC++ Pin
CPallini7-Feb-17 23:50
mveCPallini7-Feb-17 23:50 
QuestionIM chat question Pin
Tracy Software5-Feb-17 21:17
Tracy Software5-Feb-17 21:17 
QuestionCoding on hostel mannagement in c program Pin
Member 129807512-Feb-17 21:39
Member 129807512-Feb-17 21:39 
AnswerRe: Coding on hostel mannagement in c program Pin
Jochen Arndt2-Feb-17 22:27
professionalJochen Arndt2-Feb-17 22:27 
AnswerRe: Coding on hostel mannagement in c program Pin
Afzaal Ahmad Zeeshan2-Feb-17 22:34
professionalAfzaal Ahmad Zeeshan2-Feb-17 22:34 
AnswerRe: Coding on hostel mannagement in c program Pin
Patrice T6-Feb-17 15:51
mvePatrice T6-Feb-17 15:51 
QuestionI tried PostMessage as well Pin
ForNow2-Feb-17 16:17
ForNow2-Feb-17 16:17 
AnswerRe: I tried PostMessage as well Pin
Victor Nijegorodov2-Feb-17 22:03
Victor Nijegorodov2-Feb-17 22:03 
AnswerRe: I tried PostMessage as well Pin
leon de boer2-Feb-17 23:48
leon de boer2-Feb-17 23:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.