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

pass basic authentication credentials server side iis5 asp

The site is configured for anonymous access.
One area is configured with basic authentication.
When the user clicks on a menu item they will request an .asp file in
the anonymous part of the site that will redirect or trasfer them to
the secured part. Along with this request I would like to pass the
necessary username and password. Using:

Response.Redirect(http://username:password@website/asp/index.asp)

doesnt work as the credentials are lost

Using:

Server.transfer doesnt work either.

Any ideas. I have seen this q asked many times before but never
answered properly.

thanks
Andrew
Jul 22 '05 #1
2 1763
"Andrew" <im******@lineone.net> wrote in message
news:36*************************@posting.google.co m...
The site is configured for anonymous access.
One area is configured with basic authentication.
When the user clicks on a menu item they will request an .asp file in
the anonymous part of the site that will redirect or trasfer them to
the secured part. Along with this request I would like to pass the
necessary username and password. Using:

Response.Redirect(http://username:password@website/asp/index.asp)

doesnt work as the credentials are lost

Using:

Server.transfer doesnt work either.

Any ideas. I have seen this q asked many times before but never
answered properly.


IE doesn't support that anymore, plus it's insecure. What's the point of
doing that? Maybe we can find a better way ...
Jul 22 '05 #2
Our intranet is currently configured for anonymous access. We have
some documents that I only want certain people to have access to. The
first time someone logs in we ask for their userid and password which
is then encrypted and stored in a cookie. Therefore on the server side
we have these credentials available. We filter against a list to allow
access to the secure are. Then from within this area I want the users
to be able to get the documents without being prompted for their
userid and password.

thanks
Jul 22 '05 #3

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

Similar topics

2
by: Julie | last post by:
I have a page that authenticates users by reading Request.ServerVariables("AUTH_USER") and Request.ServerVariables("AUTH_TYPE"). When users try to access this page from windows NT/2000, it works...
0
by: chrisnet | last post by:
We use a .NET web application on one server that is using basic integrated authentication and therefore getting the windows prompt for domain credentials. These credentials are then passed to a...
4
by: Joseph | last post by:
I have an intranet application that I setup using windows authentication through IIS basic authentication. Is there a way to set a timeout, so that after ten minutes the user will be prompted...
6
by: Erez Shor | last post by:
Hi, I need to build and asp page which access a remote windows server's registry and create a registry key. In order for the ASP page to be able to access the registry on the remote server I need...
3
by: - Steve - | last post by:
I have a website where I use forms based authentication. There's a couple links in there that go to another website that uses basic authentication. How can I pass the credentials of the logged...
3
by: cmueller | last post by:
Hey all - I'm in a bit of a bind concerning web services and integrated authentication. I'll give you a little background as to what I'm trying to do ... I have a client application that...
3
by: sefe dery | last post by:
hi ng, i try to create a asp.net 1.0 website on windows server 2003(Servername: ServerX) with iis 6.0. PROBLEM: The user should login with his windows credentials in basic.aspx and...
1
by: beachboy | last post by:
how can pass the login (security info) to secondary application? ASP.NET 1.1 user login to application 1(app1.myapp.com) with their username and password, then they have a link to application 2...
4
by: Tommaso Caldarola | last post by:
Book: "Building Secure ASP.NET Applications", at page 276 says: I'm speaking about .NET Remoting Security chapter. "With Basic Authentication the username and password are available to the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.