Trying to setup IIS5.0 to require a login and password to be entered prior
to accessing an asp page. I want this to use the Windows Users in order to
allow/disallow access. I need to allow administrators to access the asp page
but not a user.

I've used the directory security tab/file security tab in the IIS settings
and set it for Windows Integrated Authentication however, when the page is
called, it asks defaults to the Guest account and will not allow entry of
another user id.

Any help is appreciated.

Thanks,

Doug

Re: require login and password by Carroll

Carroll
Wed Oct 29 19:33:57 CST 2003

You can find the complete code to create your login pages by visiting the
following link, http://www.haneng.com/Code.asp . Once you go to this page,
download the following zip file. (I think you should be able to click on
the password zip file right from this email as well from the table below, I
just copied and pasted it from the Haneng website)Password: A database
password protection script Kulin Parikh password.zip


Below is a very very good Resource site for all of your ASP needs as well as
a great forum to talk to others about ASP.

You could also visit the following and get the code you need to create an
ASP page that would have a log in / password form on it. You can go to this
link (http://www.aspfree.com/articles/1302,1/articles.aspx) and find the
code that you are looking for to create the login page (just move down the
page a little below the advertising at the top)

You may also want to read/learn lots of other code by visiting this part of
the same site: (http://www.aspfree.com/articles/asp/).


Thank you for your time and have a great day,

Carroll P. MacDonald
System Administrator
Webmaster
Microsoft Certified Professional
A+ Certified

® Carroll P. MacDonald Digital Drive
1668 Route 133
Grand Barachois, N.B.
E4P 8H5
Ph.: (506) 532-2013
Cell: (506) 531-0483
http://www.digitaldrive.ca/ (work)
http://www.pegusisfreeware.com/ (personal)


"Doug Rixmann" <rixmann@sympatico.ca> wrote in message
news:OdZnb.6817$Tf.791972@news20.bellglobal.com...
> Trying to setup IIS5.0 to require a login and password to be entered prior
> to accessing an asp page. I want this to use the Windows Users in order to
> allow/disallow access. I need to allow administrators to access the asp
page
> but not a user.
>
> I've used the directory security tab/file security tab in the IIS settings
> and set it for Windows Integrated Authentication however, when the page is
> called, it asks defaults to the Guest account and will not allow entry of
> another user id.
>
> Any help is appreciated.
>
> Thanks,
>
> Doug
>
>



Re: require login and password by Doug

Doug
Thu Oct 30 14:35:27 CST 2003

Thanks but I'm looking for validation through Windows users... not through a
"codeword" or a user database.

The ASP page should only be accessible to users that are a part of the
administrator group.

Doug

"Carroll P. MacDonald" <pegusisii@hotmail.com> wrote in message
news:epitKVonDHA.2304@TK2MSFTNGP11.phx.gbl...
> You can find the complete code to create your login pages by visiting the
> following link, http://www.haneng.com/Code.asp . Once you go to this
page,
> download the following zip file. (I think you should be able to click on
> the password zip file right from this email as well from the table below,
I
> just copied and pasted it from the Haneng website)Password: A database
> password protection script Kulin Parikh password.zip
>
>
> Below is a very very good Resource site for all of your ASP needs as well
as
> a great forum to talk to others about ASP.
>
> You could also visit the following and get the code you need to create an
> ASP page that would have a log in / password form on it. You can go to
this
> link (http://www.aspfree.com/articles/1302,1/articles.aspx) and find the
> code that you are looking for to create the login page (just move down the
> page a little below the advertising at the top)
>
> You may also want to read/learn lots of other code by visiting this part
of
> the same site: (http://www.aspfree.com/articles/asp/).
>
>
> Thank you for your time and have a great day,
>
> Carroll P. MacDonald
> System Administrator
> Webmaster
> Microsoft Certified Professional
> A+ Certified
>
> ® Carroll P. MacDonald Digital Drive
> 1668 Route 133
> Grand Barachois, N.B.
> E4P 8H5
> Ph.: (506) 532-2013
> Cell: (506) 531-0483
> http://www.digitaldrive.ca/ (work)
> http://www.pegusisfreeware.com/ (personal)
>
>
> "Doug Rixmann" <rixmann@sympatico.ca> wrote in message
> news:OdZnb.6817$Tf.791972@news20.bellglobal.com...
> > Trying to setup IIS5.0 to require a login and password to be entered
prior
> > to accessing an asp page. I want this to use the Windows Users in order
to
> > allow/disallow access. I need to allow administrators to access the asp
> page
> > but not a user.
> >
> > I've used the directory security tab/file security tab in the IIS
settings
> > and set it for Windows Integrated Authentication however, when the page
is
> > called, it asks defaults to the Guest account and will not allow entry
of
> > another user id.
> >
> > Any help is appreciated.
> >
> > Thanks,
> >
> > Doug
> >
> >
>
>



Re: require login and password by bbooth

bbooth
Sat Nov 01 19:54:14 CST 2003

I'm assuming that when you say "will not allow entry of another user id"
what you really mean is when you do enter a different username/password the
authentication fails. If you actually *can't* enter a different username
then there is something wrong with your browser. IIS does not control what
goes on client-side. If my assumption from above is correct then what we
need to know in order to troubleshoot this is to get the exact reason for
the logon failure.

When you request your page you should get the initial logon prompt. Enter
your admin credentials and attempt to get in.
After your first failure to get in, press "Cancel" instead of attempting to
logon again.

At this point you'll have the general reason for getting the logon failure.
It will most likely be a 401.1 or 401.3. If it is a 401.3 (permissions
issue) then fix the permissions for whatever page you are requesting. If it
is a 401.1 (invalid credentials) then enable failure audits for "logon
events" in your Local Security Polocy, try to logon again, then check the
Security Event Logs to see what the reasoning is. If the reasons don't make
sense feel free to press the copy button while viewing the error and paste
it here for us to check out.

Thanks,
Brian Murphy-Booth


Re: require login and password by Doug

Doug
Sun Nov 02 16:03:59 CST 2003

Actually, what I really mean is when the logon box comes up, it has the
logon already set (by default) to Guest and I cannot change it - the user
name box is a disabled combo box on the standard windows authentication
dialog. Do I have to set anything up to allow other than guest account
access to pages?

Thanks,

Doug

"Brian Murphy-Booth" <bbooth@online.microsoft.com> wrote in message
news:QGtM9QOoDHA.2012@cpmsftngxa06.phx.gbl...
> I'm assuming that when you say "will not allow entry of another user id"
> what you really mean is when you do enter a different username/password
the
> authentication fails. If you actually *can't* enter a different username
> then there is something wrong with your browser. IIS does not control what
> goes on client-side. If my assumption from above is correct then what we
> need to know in order to troubleshoot this is to get the exact reason for
> the logon failure.
>
> When you request your page you should get the initial logon prompt. Enter
> your admin credentials and attempt to get in.
> After your first failure to get in, press "Cancel" instead of attempting
to
> logon again.
>
> At this point you'll have the general reason for getting the logon
failure.
> It will most likely be a 401.1 or 401.3. If it is a 401.3 (permissions
> issue) then fix the permissions for whatever page you are requesting. If
it
> is a 401.1 (invalid credentials) then enable failure audits for "logon
> events" in your Local Security Polocy, try to logon again, then check the
> Security Event Logs to see what the reasoning is. If the reasons don't
make
> sense feel free to press the copy button while viewing the error and paste
> it here for us to check out.
>
> Thanks,
> Brian Murphy-Booth
>



Re: require login and password by bbooth

bbooth
Mon Nov 03 08:47:31 CST 2003

I have never heard of that behavior before. That is definitely a
"client-side" issue. There is no configuration of IIS that would make a
browser behave that way. What browser version are you using?

Thanks,
Brian Murphy-Booth