Solved

HTTPS Implementation in VC++

Posted on 2000-04-18
6
568 Views
Last Modified: 2008-03-03
I have done HTTP component in vc++ which can get any file from webserver and put any file into webserver.

But i want to implement SSL ie..,HTTPS.

Please help in it with ideas and samples.

Prabhakar Reddi S
0
Comment
Question by:prabhakarreddy
  • 3
  • 2
6 Comments
 
LVL 11

Expert Comment

by:mikeblas
Comment Utility
I would just use WININET.DLL--it handles HTTPS just fine.

..B ekiM
0
 

Accepted Solution

by:
lbelkind earned 75 total points
Comment Utility
As an extension to the posted comment.
You should try using WinInet library (available from Microsoft). they have very simple interface, which can be used both for HTTP and HTTPS (seamlessly). All MFC HTTP Classes are based on this implementation, i.e. it is stable and working.
0
 
LVL 11

Expert Comment

by:mikeblas
Comment Utility
An extension?  How did your "answer" provide any more information than I did?  As far as I can tell, you're just poaching.

..B ekiM
0
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 

Expert Comment

by:jenkins_pete
Comment Utility
Here is more of an answer but I am not looking for points but rather more insight from mikeblas.

From the MS KB:

http://support.microsoft.com/support/kb/articles/Q168/1/51.ASP

Using the code example HTTP connections work without error.  When specifing INTERNET_FLAG_SECURE and INTERNET_DEFAULT_HTTPS_PORT as specified the application hangs on execution.  Anyone have a code snippet or see what is wrong with this KB articles code?

Thanks!

email jenkins_pete@hotmail.com if needed.
0
 
LVL 11

Expert Comment

by:mikeblas
Comment Utility
> what is wrong with this KB articles code?

The code is incomplete, but what it shows is not incorrect.

 > I am not looking for points but rather more insight from mikeblas.

Huh?  Then, shoudln't you open your own question and initiate a new discussion?

..B ekiM
0
 

Expert Comment

by:jenkins_pete
Comment Utility
New topic posted: "MS KB code incomplete"
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now