473,549 Members | 2,734 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Classic ASP - Custom Login Page - Redirects to Windows Auth websit

Hi All,
We have a requirement where we have to develop a custom Login Page which
will accept user's NT credentials ( Username , password, domain name).

This then needs to be passed to a website which uses Windows Authentication

Now my question is how do we pass these credentials to IIS in classic ASP?
Would appreciate any help/pointers on this.

Thanks in advance.
Best Regards,
Parag
Feb 23 '07 #1
6 9865

"Parag Gaikwad" <Pa**********@d iscussions.micr osoft.comwrote in message
news:6E******** *************** ***********@mic rosoft.com...
Hi All,
We have a requirement where we have to develop a custom Login Page which
will accept user's NT credentials ( Username , password, domain name).

This then needs to be passed to a website which uses Windows
Authentication
>
This slightly ambigous, are you developing ASP which inturn talks to another
web site that requires Windows Logon?
Now my question is how do we pass these credentials to IIS in classic ASP?
Would appreciate any help/pointers on this.
Turn off anonymous access and ensure Windows integrated access is on.

Feb 23 '07 #2
Anthony, Thanks for the response.
Yes the custom login page is in another website which has anonymous access.

The requirement is - The user should use the custom login page to enter
credentials to access this website which requires Windows Logon.

I hope this gives clear picture of what I want to acheive.
Thanks and Regards,
Parag
"Anthony Jones" wrote:
>
"Parag Gaikwad" <Pa**********@d iscussions.micr osoft.comwrote in message
news:6E******** *************** ***********@mic rosoft.com...
Hi All,
We have a requirement where we have to develop a custom Login Page which
will accept user's NT credentials ( Username , password, domain name).

This then needs to be passed to a website which uses Windows
Authentication

This slightly ambigous, are you developing ASP which inturn talks to another
web site that requires Windows Logon?
Now my question is how do we pass these credentials to IIS in classic ASP?
Would appreciate any help/pointers on this.

Turn off anonymous access and ensure Windows integrated access is on.

Feb 26 '07 #3

"Parag Gaikwad" <Pa**********@d iscussions.micr osoft.comwrote in message
news:F4******** *************** ***********@mic rosoft.com...
Anthony, Thanks for the response.
Yes the custom login page is in another website which has anonymous
access.
>
The requirement is - The user should use the custom login page to enter
credentials to access this website which requires Windows Logon.

I hope this gives clear picture of what I want to acheive.
Barely.

Are the two servers on the same domain or in domains that can trust each
other?

Are you trying to pass through requests from the client to the other server
(the one requiring windows logon)? OR will the client be redirected
somehow to this server?

Do you intended to enforce HTTPS on the custom login page?

Thanks and Regards,
Parag
"Anthony Jones" wrote:

"Parag Gaikwad" <Pa**********@d iscussions.micr osoft.comwrote in
message
news:6E******** *************** ***********@mic rosoft.com...
Hi All,
We have a requirement where we have to develop a custom Login Page
which
will accept user's NT credentials ( Username , password, domain name).
>
This then needs to be passed to a website which uses Windows
Authentication
>
This slightly ambigous, are you developing ASP which inturn talks to
another
web site that requires Windows Logon?
Now my question is how do we pass these credentials to IIS in classic
ASP?
Would appreciate any help/pointers on this.
>
Turn off anonymous access and ensure Windows integrated access is on.



Feb 26 '07 #4
Thanks, Anthony.
Ok the requirement is something like this -
All our websites are Intranet sites and within one domain.
Now there is a website which allows anonymous acess to users.
This website will have a custom login page which will take the NT
credentials from the user (like domain, user name , password).
It will then redirect the user to the sites, user wish to visit.
Now all this sites have a windows logon authentication enabled (default IIS
authentication) .
Now we should be able to pass these credentials to these sites so that user
should not get the IIS authentication pop up box.

Hope this gives more clearer picture.
Thanks once again.
Best Regards,
Parag
"Anthony Jones" wrote:
>
"Parag Gaikwad" <Pa**********@d iscussions.micr osoft.comwrote in message
news:F4******** *************** ***********@mic rosoft.com...
Anthony, Thanks for the response.
Yes the custom login page is in another website which has anonymous
access.

The requirement is - The user should use the custom login page to enter
credentials to access this website which requires Windows Logon.

I hope this gives clear picture of what I want to acheive.

Barely.

Are the two servers on the same domain or in domains that can trust each
other?

Are you trying to pass through requests from the client to the other server
(the one requiring windows logon)? OR will the client be redirected
somehow to this server?

Do you intended to enforce HTTPS on the custom login page?

Thanks and Regards,
Parag
"Anthony Jones" wrote:
>
"Parag Gaikwad" <Pa**********@d iscussions.micr osoft.comwrote in
message
news:6E******** *************** ***********@mic rosoft.com...
Hi All,
We have a requirement where we have to develop a custom Login Page
which
will accept user's NT credentials ( Username , password, domain name).

This then needs to be passed to a website which uses Windows
Authentication

>
This slightly ambigous, are you developing ASP which inturn talks to
another
web site that requires Windows Logon?
>
Now my question is how do we pass these credentials to IIS in classic
ASP?
Would appreciate any help/pointers on this.

>
Turn off anonymous access and ensure Windows integrated access is on.
>
>
>
>


Feb 26 '07 #5

"Parag Gaikwad" <Pa**********@d iscussions.micr osoft.comwrote in message
news:8A******** *************** ***********@mic rosoft.com...
Thanks, Anthony.
Ok the requirement is something like this -
All our websites are Intranet sites and within one domain.
Now there is a website which allows anonymous acess to users.
This website will have a custom login page which will take the NT
credentials from the user (like domain, user name , password).
It will then redirect the user to the sites, user wish to visit.
Now all this sites have a windows logon authentication enabled (default
IIS
authentication) .
Now we should be able to pass these credentials to these sites so that
user
should not get the IIS authentication pop up box.
If all of these sites are in the intranet zone and the intranet zone
security settings are set to their default then IE will attempt to use the
current users logon credentials to connect. Hence logon boxes should not be
seen. This assumes the client machines are in the same domain as well.

When a user tries to connect to one of these servers does IE show them to be
in the intranet zone?

Are you using a FQDN (e.g., server1.mydomai n.com) or simply the server
name (e.g. server1) in the URLs to these servers?

Hope this gives more clearer picture.
Thanks once again.
Best Regards,
Parag
"Anthony Jones" wrote:

"Parag Gaikwad" <Pa**********@d iscussions.micr osoft.comwrote in
message
news:F4******** *************** ***********@mic rosoft.com...
Anthony, Thanks for the response.
Yes the custom login page is in another website which has anonymous
access.
>
The requirement is - The user should use the custom login page to
enter
credentials to access this website which requires Windows Logon.
>
I hope this gives clear picture of what I want to acheive.
Barely.

Are the two servers on the same domain or in domains that can trust each
other?

Are you trying to pass through requests from the client to the other
server
(the one requiring windows logon)? OR will the client be redirected
somehow to this server?

Do you intended to enforce HTTPS on the custom login page?

Thanks and Regards,
Parag
"Anthony Jones" wrote:
>

"Parag Gaikwad" <Pa**********@d iscussions.micr osoft.comwrote in
message
news:6E******** *************** ***********@mic rosoft.com...
Hi All,
We have a requirement where we have to develop a custom Login Page
which
will accept user's NT credentials ( Username , password, domain
name).
>
This then needs to be passed to a website which uses Windows
Authentication
>

This slightly ambigous, are you developing ASP which inturn talks to
another
web site that requires Windows Logon?

Now my question is how do we pass these credentials to IIS in
classic
ASP?
Would appreciate any help/pointers on this.
>

Turn off anonymous access and ensure Windows integrated access is
on.



Feb 26 '07 #6
The client machines are not in the same domain. Infact these are trusted
third parties outside our network which have our domain logon credentials
created for them. They access these websites through a secure pipe available
to them, that is the reason we have to provide a custom login page for them.
They access the servers using the server name (eg .
http://servername/websitename)

"Anthony Jones" wrote:
>
"Parag Gaikwad" <Pa**********@d iscussions.micr osoft.comwrote in message
news:8A******** *************** ***********@mic rosoft.com...
Thanks, Anthony.
Ok the requirement is something like this -
All our websites are Intranet sites and within one domain.
Now there is a website which allows anonymous acess to users.
This website will have a custom login page which will take the NT
credentials from the user (like domain, user name , password).
It will then redirect the user to the sites, user wish to visit.
Now all this sites have a windows logon authentication enabled (default
IIS
authentication) .
Now we should be able to pass these credentials to these sites so that
user
should not get the IIS authentication pop up box.

If all of these sites are in the intranet zone and the intranet zone
security settings are set to their default then IE will attempt to use the
current users logon credentials to connect. Hence logon boxes should not be
seen. This assumes the client machines are in the same domain as well.

When a user tries to connect to one of these servers does IE show them to be
in the intranet zone?

Are you using a FQDN (e.g., server1.mydomai n.com) or simply the server
name (e.g. server1) in the URLs to these servers?

Hope this gives more clearer picture.
Thanks once again.
Best Regards,
Parag
"Anthony Jones" wrote:
>
"Parag Gaikwad" <Pa**********@d iscussions.micr osoft.comwrote in
message
news:F4******** *************** ***********@mic rosoft.com...
Anthony, Thanks for the response.
Yes the custom login page is in another website which has anonymous
access.

The requirement is - The user should use the custom login page to
enter
credentials to access this website which requires Windows Logon.

I hope this gives clear picture of what I want to acheive.
>
Barely.
>
Are the two servers on the same domain or in domains that can trust each
other?
>
Are you trying to pass through requests from the client to the other
server
(the one requiring windows logon)? OR will the client be redirected
somehow to this server?
>
Do you intended to enforce HTTPS on the custom login page?
>
>
>
>
Thanks and Regards,
Parag
"Anthony Jones" wrote:

>
"Parag Gaikwad" <Pa**********@d iscussions.micr osoft.comwrote in
message
news:6E******** *************** ***********@mic rosoft.com...
Hi All,
We have a requirement where we have to develop a custom Login Page
which
will accept user's NT credentials ( Username , password, domain
name).

This then needs to be passed to a website which uses Windows
Authentication

>
This slightly ambigous, are you developing ASP which inturn talks to
another
web site that requires Windows Logon?
>
Now my question is how do we pass these credentials to IIS in
classic
ASP?
Would appreciate any help/pointers on this.

>
Turn off anonymous access and ensure Windows integrated access is
on.
>
>
>
>
>
>
>


Feb 26 '07 #7

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

Similar topics

1
2243
by: Mark Aurit | last post by:
I have an intranet application that uses w2k Integrated Windows Authentication to authenticate users. We now have a situation where people will be accessing it who are on our network but will not be logged into w2k - so now they are challenged and fail the challenge. To handle that situation I plan to use iis custom errors with one of the...
2
3305
by: Iggy Evans | last post by:
Hi My app is trying to login to an ASP.NET site that uses Forms authentication. I am trying to do in my app (what was previously posted in a newsgroup) the same that a browser does 3) The browser requests the login page specified 4) The server responds with the login pag 5) The user fills in the login page and submits the form, so the...
4
5613
by: 23s | last post by:
I had this problem in the past, after a server reformat it went away, and now after another server reformat it's back again - no clue what's doing it. Here's the flow: Website root is public, no SSL no forms auth. One of the subfolders in the public area is the root of a "protected" area; SSL is required from this subfolder on forward and...
7
2208
by: Joe Rigley | last post by:
Hi, I have a custom class with a public method. I want to perform a repose.redirect if an error occurs in the public method GetUserRoles. Unfortunately, Visual Studio 2003 is throwing an error when I try to do this. I have imported the System.Web namespace and the same code works fine on a ..aspx page. Can you not perform...
8
16485
by: Keith H | last post by:
I'm looking for a way to force the user to re-authenticate with their Windows username/password/domain after clicking the submit button on an ASP.NET page. This is for an internal application. Does anyone know if/how this can be done?
3
2127
by: bill | last post by:
I need to open a asp.net web form from a classic asp page, and pass a username and password to the asp.net page. The username and password exist as session variables in the classic asp application. I can't put the password in the classic asp page form as a hidden field and submit it, because someone can view source and see the password. ...
12
6550
by: Michael | last post by:
Please Help me. I've got a .Net 2003 program that attaches to a SQL Server machine and I'm getting the above error when a user tries to log in. The SQL server is setup to use Windows Auth. and I have added the new user to the database and have given the user access to the database for the app. But everytime I try and login using this users ID,...
1
6428
by: Andrew Poulos | last post by:
I have a simple page with a form in it that gets posted to the following ASP <%@ language="javascript" %> <% var login_success_page = "../intro.asp"; var login_failed_page = "../failed.asp"; // some db related code here
3
6497
by: dev648237923 | last post by:
We have an asp.net web application that uses Forms Authentication. We need to launch a second application from links in this app. We don't want the user to have to also login to this second app. Is there a way to let the second app know that we are authenticated on the first app. I thought about just using the http_referrer and saying the...
0
7451
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7720
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
7812
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
6048
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
5372
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
5089
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...
1
1944
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1061
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
766
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.