Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > accessing a password protected site by passing the username and pa

Reply
Thread Tools

accessing a password protected site by passing the username and pa

 
 
Rickard
Guest
Posts: n/a
 
      01-26-2005
OK. I have the need on a form submit to pass the data to anther system that
require a login and password only I want to automate the process in an server
side asp file and then process the response. I am having the form submit
pass a users ss # and name to an asp file, I want that asp file to pass that
info on to my "verifying" site along with the username and password for that
"verification" site.
Is there some way in asp to access a url and include the username and
password to that other site in the url? something like

https://(E-Mail Removed)?ssn=111111111&name=someGuy:<username >:<password>


 
Reply With Quote
 
 
 
 
Roland Hall
Guest
Posts: n/a
 
      01-26-2005
"Rickard" wrote in message
news:(E-Mail Removed)...
: OK. I have the need on a form submit to pass the data to anther system
that
: require a login and password only I want to automate the process in an
server
: side asp file and then process the response. I am having the form submit
: pass a users ss # and name to an asp file, I want that asp file to pass
that
: info on to my "verifying" site along with the username and password for
that
: "verification" site.
: Is there some way in asp to access a url and include the username and
: password to that other site in the url? something like
:
: https://(E-Mail Removed)?ssn=111111111&name=someGuy:<username >:<password>
:
It's nice to see you're doing this on an SSL connection but you can only
send it on the URL if it accepts it that way but then they may be checking
the referer against the server name to keep people from posting remotely.

Passing the name and password on the URL is no longer supported except with
FTP unless the developer allows for it but I doubt they would accept that in
plain text, even with an SSL connection.

FirstPay (online merchant) accepts information, similarly, but they require
a MD5 checksum of various things. So, it just all depends on the site.

--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp


 
Reply With Quote
 
 
 
 
BenM
Guest
Posts: n/a
 
      01-27-2005
I have done something similar to this before. What worked for me in this
scenario was to name my form elements the same as the form elements that the
post-to page is listening for. Then, simply make your action property of the
form point to the URL outside of your site.

So, the user will fill out a form on your site, which will then post to a
URL outside your site. So, when the form processor receives my post, it is
requesting form elements with a particular name, which are named the same as
the ones it is used to expecting.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Java to supply username and password to login to a web site Amit Java 8 10-13-2011 05:05 AM
OpenLDAP --- accessing to verify Username, Password, Organization and one or two other credentials. Does someone have an example, please? John Apps ASP .Net Security 0 05-19-2008 06:44 PM
Passing username and password using LWP::UserAgent neo Perl Misc 5 12-12-2006 01:59 PM
site asking for username and password Winista ASP .Net 3 02-21-2006 05:21 PM
Bypass username/password dialog when accessing remote network thoducng@gmail.com ASP .Net 1 10-17-2005 09:07 PM



Advertisments