Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / December 2007

Tip: Looking for answers? Try searching our database.

SslStream and HttpListener

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ashish Kaila - 13 Dec 2007 11:39 GMT
I have an asp.net website that my clients use via SSL. I need another http
communication within a postback to receive remote data to fulfill my current
postback request operation. I have to listen to this ssl/http request on
port 443 but a different uri prefix. If I use HttpListener, can I then use
SslStream on the Request.InputStream to receive and decrypt data? I saw
examples on the net where a different port was used and configured using
httpcfg.exe tool but my constraint binds me only to 443 and since IIS owns
that port I cannot use this tool.
Kevin Spencer - 13 Dec 2007 12:52 GMT
Build an ASP.Net HttpHandler for that URI that handles the request, and pass
the information received to whatever you want to.

Signature

HTH,

Kevin Spencer
Chicken Salad Surgeon
Microsoft MVP

>I have an asp.net website that my clients use via SSL. I need another http
>communication within a postback to receive remote data to fulfill my
[quoted text clipped - 4 lines]
>configured using httpcfg.exe tool but my constraint binds me only to 443
>and since IIS owns that port I cannot use this tool.
Ashish Kaila - 13 Dec 2007 13:11 GMT
But how do I retrieve the information in the waiting postback session?
HttpHandler and postback are two different sessions. And I may have several
of the postback sessions. The way I was thinking of differentiating was to
choose a unique uri prefix every time.

> Build an ASP.Net HttpHandler for that URI that handles the request, and
> pass the information received to whatever you want to.
[quoted text clipped - 7 lines]
>>configured using httpcfg.exe tool but my constraint binds me only to 443
>>and since IIS owns that port I cannot use this tool.
Kevin Spencer - 14 Dec 2007 13:01 GMT
You create an HttpRequest to the HttpHandler.

Signature

HTH,

Kevin Spencer
Chicken Salad Surgeon
Microsoft MVP

> But how do I retrieve the information in the waiting postback session?
> HttpHandler and postback are two different sessions. And I may have
[quoted text clipped - 12 lines]
>>>and configured using httpcfg.exe tool but my constraint binds me only to
>>>443 and since IIS owns that port I cannot use this tool.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.