473,387 Members | 1,542 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,387 software developers and data experts.

accessing a password protected site by passing the username and pa

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://si**@site.com?ssn=111111111&name=someGuy:<username >:<password>
Jul 22 '05 #1
2 1751
"Rickard" wrote in message
news:CB**********************************@microsof t.com...
: 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://si**@site.com?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
Jul 22 '05 #2
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.
Jul 22 '05 #3

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

Similar topics

36
by: Thomas | last post by:
after spending countless hours trying, i give up and hope to get some help in here. on server1 i got the web myweb.com with my test.asp. in the test.asp, i'm trying to read a file from an UNC...
9
by: Ben Allen | last post by:
Hi, I want to create a password protected page to administer my site from (the news is read from a mySQL database and I have created a PHP form to as a GUI to do this). I thought of...
5
by: Darren | last post by:
Hello, we're fully paid up and signed up to a password protected site, so this isn't hacking. In this site we can download a price list in CSV format. What I'd like to do is have a PHP...
3
by: MicroMoth | last post by:
Hi, I've got a User class which holds details of the user and is populated by a query. I create this User object when the user successfully logs in and then I set this object to a session variable...
4
by: apondu | last post by:
I'm trying to screen scrape a site that requires a password. I am using C#.Net, i am new to this and with the information available around on the internet i just put tht information into the...
2
by: confused1234 | last post by:
I want to access a xml file. If i try and access it via http manually, it prompts me for a username and password with a popup. I have been told to do something like...
3
by: rodrigo | last post by:
I am trying to retrieve a password protected page using: get = urllib.urlopen('http://password.protected.url"').read() While doing this interactively, I'm asked for the username, then the...
10
by: Anton | last post by:
Hi, when accessing a secured 3rd party webservice i'm getting a 401 HTTP Statuscode (unauthorized). When entering the url in a browser and entering the username and password manually, the wsdl is...
0
by: embeddedbob | last post by:
Hi there, I appreciate any help on the following issue. I can't seem to find any other similar topic. (CS4, ActionScript 3.0, Flash 10) I have a SWF embedded within a page that is protected by...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...

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.