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

Calling Windows login from ASP page

Most people cancel the "allow anonymous user" and IIS will automatically
popup the user login dialog.
Not me.
I want anonymous users to be able to do somethings.
Then, if they want to do more, they can to go to a "login page".
This used to be my own ASP page.
Now I dont want that. Instead I want the Windows login dialog to popup.

How do I do that.
How do I in my ASP page cause the Windows Login dialog to popup.
I am running on Win2K server.

Thanks
Archie
Jul 19 '05 #1
3 1544
You need to separate the application logically into multiple virtual
directories. The one where the user can do things without being
authenticated you place those ASP pages, and turn the anonymous
authentication on. For the other folders, turn anonymous account off, and
rely on the windows user account.

--
Manohar Kamath
Editor, .netWire
www.dotnetwire.com
"Archie Campbell" <ar****@accordsystems.com> wrote in message
news:Ok**************@tk2msftngp13.phx.gbl...
Most people cancel the "allow anonymous user" and IIS will automatically
popup the user login dialog.
Not me.
I want anonymous users to be able to do somethings.
Then, if they want to do more, they can to go to a "login page".
This used to be my own ASP page.
Now I dont want that. Instead I want the Windows login dialog to popup.

How do I do that.
How do I in my ASP page cause the Windows Login dialog to popup.
I am running on Win2K server.

Thanks
Archie

Jul 19 '05 #2
"Manohar Kamath [MVP]" <mk*****@TAKETHISOUTkamath.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
You need to separate the application logically into multiple virtual
directories. The one where the user can do things without being
authenticated you place those ASP pages, and turn the anonymous
authentication on. For the other folders, turn anonymous account off, and
rely on the windows user account.


FWIW - the directories don't need to be "virtual". As long as they have
different authentication settings as appropriate it will work.

--
Tom Kaminski IIS MVP
http://www.microsoft.com/windowsserv...y/centers/iis/
http://mvp.support.microsoft.com/
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
http://www.tryiis.com
Jul 19 '05 #3

Thanks for both replies.
I must admit I am a bit surprised there isnt a way to force another
login.
But, again thanks for the work around.
Archie
*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 19 '05 #4

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

Similar topics

0
by: Michael Brandt Lassen | last post by:
Hi gurus This problem is about calling Web services secured by Forms Authentication from Windows Forms user controls embedded in HTML. Using the object tag I’ve managed to include a Windows...
2
by: qaz | last post by:
I have login links on a number of pages in my site. Some of the pages expect variables on the querystring. I want to be able to login from any of these pages. The login link redirects me to a...
3
by: NWx | last post by:
Hi, I defined a base class, Panel, based on System.Web.UI.UserControl, as below: Public MustInherit Class Panel Inherits System.Web.UI.UserControl ..... In another module, I want to...
3
by: Gary | last post by:
I am using VS.Net 2002 with windows 2000 advanced server and windows 2000 professional. I have a requirement to use windows service with a GUI. I want to show my own User Interface(Dialog) to get...
9
by: Justin Engelman | last post by:
Hi, I have a website that uses an ISAPI filter that will redirect anyone going to any page on the site to an SSL login page (on a different website with the same root domain) if they do not have...
4
by: dalgibbard | last post by:
This (im hoping) is an easy problem to solve! Quite simply, i have a HTML login form, where users can type their usernames and passwords for an FTP server of mine. The code im using is; <?...
6
by: =?Utf-8?B?UGFyYWcgR2Fpa3dhZA==?= | last post by:
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...
4
by: gengyue | last post by:
Hi, I need to call .Net webservice from my JSP page. My application is Struts application. It is deployed on Oracle application server. Here is the whole process. I have a login form. When user...
4
by: gengyue | last post by:
Hi, I need to call .Net webservice from my JSP page. My application is Struts application. It is deployed on Oracle application server. Here is the whole process. I have a login form. When user...
1
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
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...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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?
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...

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.