Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

require login and password

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  WEBDAV and file locking  
Author Message
rixmann

External


Since: Sep 02, 2003
Posts: 9



(Msg. 1) Posted: Wed Oct 29, 2003 10:48 pm
Post subject: require login and password
Archived from groups: microsoft>public>inetserver>iis (more info?)

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

 >> Stay informed about: require login and password 
Back to top
Login to vote
pegusisii

External


Since: Oct 20, 2003
Posts: 17



(Msg. 2) Posted: Thu Oct 30, 2003 12:33 am
Post subject: Re: require login and password [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

You can find the complete code to create your login pages by visiting the
following link, <a style='text-decoration: underline;' href="http://www.haneng.com/Code.asp" target="_blank">http://www.haneng.com/Code.asp</a> . 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
<a style='text-decoration: underline;' href="http://www.digitaldrive.ca/" target="_blank">http://www.digitaldrive.ca/</a> (work)
<a style='text-decoration: underline;' href="http://www.pegusisfreeware.com/" target="_blank">http://www.pegusisfreeware.com/</a> (personal)


"Doug Rixmann" <rixmann.TakeThisOut@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
 >
 ><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: require login and password 
Back to top
Login to vote
rixmann

External


Since: Sep 02, 2003
Posts: 9



(Msg. 3) Posted: Thu Oct 30, 2003 6:35 pm
Post subject: Re: require login and password [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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 RemoveThis @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, <a style='text-decoration: underline;' href="http://www.haneng.com/Code.asp" target="_blank">http://www.haneng.com/Code.asp</a> . 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
 > <a style='text-decoration: underline;' href="http://www.digitaldrive.ca/" target="_blank">http://www.digitaldrive.ca/</a> (work)
 > <a style='text-decoration: underline;' href="http://www.pegusisfreeware.com/" target="_blank">http://www.pegusisfreeware.com/</a> (personal)
 >
 >
 > "Doug Rixmann" <rixmann RemoveThis @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
  > >
  > >
 >
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: require login and password 
Back to top
Login to vote
bbooth

External


Since: Oct 10, 2003
Posts: 68



(Msg. 4) Posted: Sun Nov 02, 2003 4:54 am
Post subject: Re: require login and password [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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
 >> Stay informed about: require login and password 
Back to top
Login to vote
rixmann

External


Since: Sep 02, 2003
Posts: 9



(Msg. 5) Posted: Sun Nov 02, 2003 8:03 pm
Post subject: Re: require login and password [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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.TakeThisOut@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
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: require login and password 
Back to top
Login to vote
bbooth

External


Since: Oct 10, 2003
Posts: 68



(Msg. 6) Posted: Mon Nov 03, 2003 5:47 pm
Post subject: Re: require login and password [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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
 >> Stay informed about: require login and password 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]