473,573 Members | 2,918 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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
"verificati on" 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?s sn=111111111&na me=someGuy:<use rname>:<passwor d>
Jul 22 '05 #1
2 1763
"Rickard" wrote in message
news:CB******** *************** ***********@mic rosoft.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
: "verificati on" 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?s sn=111111111&na me=someGuy:<use rname>:<passwor d>
:
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
16345
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 path with a FSO: Set myFile = Server.CreateObject("Scripting.FileSystemObject").GetFile("\\server2\myshare\myfile.txt") this fails with an Permission...
9
2202
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 password-protecting it by creating a page with the login details (which are the same as those needed for the mySQL database, passing these as variable to the...
5
2813
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 script log into the site and download the CSV file so we can then display it on our website. Is this posible?
3
1162
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 (its for a ASP.Net site) so that I can access any of the user's details from this session object. The problem is when I'm trying to access a...
4
5125
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 code. But still i am not able to achieve what i want to. I have posted the code which i have written, along with the site and the userid ans...
2
1561
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 http://username:password@site.com but due to new security this is not longer possible. The admin of the xml has pointed me to http://support.microsoft.com/kb/834489 but i don't...
3
19549
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 password at the terminal. Is there any way to do this non-interactively? To hardcode the user/ pass into the script so I can get the page...
10
9741
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 returned. So the username and password should be ok. I'm using this code: Merchant myMerch = new Merchant();...
0
2334
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 digest authentication. To access this page, the browser asks for username/password. So far so good, the SWF works fine. Now, within that SWF, the...
0
8021
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8202
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7787
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8065
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6419
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5593
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5291
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3733
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1041
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.