473,395 Members | 1,742 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

HTTPS connections

I need to be login to several websites and download files that are https
connections. I just tried IPWorks demo, but it does not seem to offer
https.

Does anyone know an https capable product, or a way I can do this myself?

Thank you.

Masahiro
Nov 20 '05 #1
7 1830
Cor
Hi Masahiro,

The change that you get an answer on that in this newsgroup is small.

But in this newsgroup you have a better change.

Aspnet
<news://msnews.microsoft.com/microsoft.public.dotnet.framework.aspnet>

Web interface:

<http://msdn.microsoft.com/newsgroups...ups/loadframes
..asp?icp=msdn&slcid=us&newsgroup=microsoft.public .dotnet.framework.aspnet>
I hope this helps,

Cor

Nov 20 '05 #2
Masahiro Ito <ma**@pleasespamgoaway.it> wrote in
news:Xn************************@207.46.248.16:
Does anyone know an https capable product, or a way I can do this myself?


WebRequest which is built in can do HTTPS.
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"
ELKNews - Get your free copy at http://www.atozedsoftware.com

Nov 20 '05 #3
"Chad Z. Hower aka Kudzu" <cp**@hower.org> wrote in
news:Xn******************@127.0.0.1:
Masahiro Ito <ma**@pleasespamgoaway.it> wrote in
news:Xn************************@207.46.248.16:
Does anyone know an https capable product, or a way I can do this
myself?


WebRequest which is built in can do HTTPS.


Hi Chad. I am following and very interested in your project, but first
learning hard so hopefully soon I can help.

I am using Webrequest, and can get the HTTPS pages, but don't have any
experience with ASP, forms, post etc.

The page I am trying to login seems to have a simple form:

<h5>To login:</h5>
<FORM NAME="form1" TARGET="_top" ACTION="signon.asp" METHOD="post">
<INPUT TYPE="hidden" NAME="action" VALUE="admin">
<table width="59%" border="0">
<tr>
<td width="64%">Please enter your User ID:</td>
<td width="36%"><input name="Uid" id="Uid" maxLength=13>
</td>
</tr>
<tr>
<td>Please enter your password:</td>
<td><input name="Pswd" type="password" id="Pswd" maxLength=10>
</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>
<input name="Submit" type="submit" id="Submit2" value="Login">
</td>
</tr>
</table>
</FORM>

I have been using many variations like:
Dim web As New System.Net.WebClient
web.Headers.Add("Content-Type", "application/x-www-form-
urlencoded")

Dim d As Byte() = System.Text.Encoding.ASCII.GetBytes
("uid=UserID&pswd=Password")
Dim res As Byte() = web.UploadData
("https://free.info.com/login.html", "POST", d)

txtReturn.Text = System.Text.Encoding.ASCII.GetString(res)
web.Dispose()
This page is the login page. The page with the data I want to access
(files to download) is different. I tried using this page, (ie:
"https://free.info.com/download.asp" but it redirects to a page that must
submit an "I agree with the Contract", then a page for login (if i follow
in IE).

This site is not very secure (I can download the files without any
authentication if I know the filename of the file), but the filenames
change every month and I would like to be able to get the html page using
authentication.
Thank you.

Masa

Nov 20 '05 #4
Masahiro Ito <ma**@pleasespamgoaway.it> wrote in
news:Xn************************@207.46.248.16:
Hi Chad. I am following and very interested in your project, but first
Thanks. But its not mine. :) There is a whole team behind it - I could not
possibly take credit for all their hard and dedicated work. Im just the
chair.
learning hard so hopefully soon I can help.
Would love to have you on board.
Dim d As Byte() = System.Text.Encoding.ASCII.GetBytes
("uid=UserID&pswd=Password")
Dim res As Byte() = web.UploadData
("https://free.info.com/login.html", "POST", d)
Im not that familiar with WebRequest's actual usage, only its capabilities. I
have no need to use it. :)

But you have a few possible problems:

1) <INPUT TYPE="hidden" NAME="action" VALUE="admin">
<input name="Submit" type="submit" id="Submit2" value="Login">


You forgot to include these two variables in your list.

2) POST passes arguments differently. Im not sure that you are passing them
correctly, but I dont know how UploadData uses that third parameter.

3) Im not sure what UploadData does - but it doesnt sound like the right
method for post. It might be - if so its not named in the style of HTTP. In
Indy you would just call .Post. Upload data to me sounds more like a raw
command interface - maybe thats what it is.

If it were Indy I could tell you exactly how to do it. But Indy does not have
an SSL provider for .net yet, so https wont work in the .net assembly yet.
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"
ELKNews - Get your free copy at http://www.atozedsoftware.com

Nov 20 '05 #5
You probably downloaded IP*Works! instead of IP*Works! SSL. IP*Works!
SSL has support for HTTPS, FTPS, SMTPS, and many other secure Internet
protocols.

-Eric

Masahiro Ito <ma**@pleasespamgoaway.it> wrote in message news:<Xn************************@207.46.248.16>...
I need to be login to several websites and download files that are https
connections. I just tried IPWorks demo, but it does not seem to offer
https.

Does anyone know an https capable product, or a way I can do this myself?

Thank you.

Masahiro

Nov 20 '05 #6
er***@nsoftware.com (Eric M.) wrote in
news:d9**************************@posting.google.c om:
You probably downloaded IP*Works! instead of IP*Works! SSL. IP*Works!
SSL has support for HTTPS, FTPS, SMTPS, and many other secure Internet
protocols.


Thanks Eric,

Do you use this IP*Works stuff? I was surprised how weak the documentation
was, and thought that I would not use their components. Also, I didn't see
any commmunity area to discuss the products - something that is available
from virtually every other component company we have used.

Masa
Nov 20 '05 #7
Sure, I use it every day - I work at /n software :).

We have had a number of compliments about our documentation, though I
realize it is kind of technical. Combined with the dozens of sample
applications provided in the package you should be able to get up and
running very quickly. With our new IP*Works! V6 we have tried to work
on making the documentation a lot easier to follow.

As for a community - that's why I'm writing you now ;). We don't
substitute community for technical support. We have a dedicated
support staff that provides free email technical support for the life
of your product.

-Eric

Masahiro Ito <ma**@pleasespamgoaway.it> wrote in message news:<Xn***********************@207.46.248.16>...
er***@nsoftware.com (Eric M.) wrote in
news:d9**************************@posting.google.c om:
You probably downloaded IP*Works! instead of IP*Works! SSL. IP*Works!
SSL has support for HTTPS, FTPS, SMTPS, and many other secure Internet
protocols.


Thanks Eric,

Do you use this IP*Works stuff? I was surprised how weak the documentation
was, and thought that I would not use their components. Also, I didn't see
any commmunity area to discuss the products - something that is available
from virtually every other component company we have used.

Masa

Nov 20 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Grant Edwards | last post by:
In the program shown below, all of the connections to the servers are using port 443 and https (TLS protocol) -- both the initial connection to login.postini.com and subsequent connections to...
16
by: Paul Sweeney | last post by:
Does anyone know of a working (python) https proxy which allows viewing of unencrypted data being sent from my browser to an https site? I've worked my way through most on the list at...
7
by: John McDermidt | last post by:
Is there a way to use HTTPS only on certain pages? I have two pages that I want to use my SSL Cert, but the rest of the files I do not... they are all in the same folder, and I can not move them.
6
by: Todd Peterson | last post by:
I'm encountering some wierd behavior with a <link> tag over an HTTPS connection, vs. an HTTP connection... In an ASP/HTML page on my website, I've add a <link rel="shortcut icon"...> in order to...
2
by: MarkAurit | last post by:
I have a web service Im using on a machine via http in a dmz that works file. Im now attempting to use it in a second server, this one using https. When I attempt to add the Web Reference in vs.net...
4
by: Jason P | last post by:
Basically we have a web method with a dynamic URL. The client is developed in C++ and I've been using the webReference.SetUrl( "http://test.example.com..." ) method successfully with various web...
1
by: Randall Parker | last post by:
Some basic security questions: 1) Is there any difference in the sort of encryption keys needed for encrypted cookies versus for https connections? 2) Does one need encrypted cookies for...
0
by: txtoth | last post by:
I've got a web service client using mutualCertificate10Security talking to a Tomcat/Axis/WSS4J service over http. When I tried to get it to work over https I got the following error when trying to...
4
by: bkasmai | last post by:
My asp.net application (developed using vs2003) runs fine on a windows 2000 server using iis 5.0. Our network manager wants to do away with any http connections and only use https for services that...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.