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

Websites require a login

Kat
Every time I attempt to run a localhost website, it asks me for a login, as
if I am not a user on the local machine. I am a user on the local machine,
I am an admin on the local machine. I am not on a network. I have windows
xp professional installed, iis is installed and until recently everything
worked fine. I am using windows authentication, and have changed everything
I can think of to full control, even the Everyone, the vs develoeprs, the
debugger users, and every account on this machine, just to see if
authorization is the problem. Still requires a login. If I login with the
same login I have already logged in with, it works, if I do not login I get
a "You are not authorized" message. I am the admin of this machine, how can
I not be authorized? If anyone has any ideas of what to do, let me know!
Thanks for your help.
Apr 8 '07 #1
6 3224
re:
Every time I attempt to run a localhost website, it asks me for a login, as if I am not a user on
the local machine.
Just because you're logged into Windows
doesn't mean you don't have to logon to an http connection.

re:
I am using windows authentication
That's why the server is requiring a login.

re:
I am the admin of this machine, how can I not be authorized?
Because logging into Windows is different than logging into a web application.

re:
If anyone has any ideas of what to do, let me know!
Either :

a) use anonymous authentication
or
b) login when requested


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Kat" <Ka**********@yahoo.comwrote in message news:u2**************@TK2MSFTNGP06.phx.gbl...
Every time I attempt to run a localhost website, it asks me for a login, as if I am not a user on
the local machine. I am a user on the local machine, I am an admin on the local machine. I am
not on a network. I have windows xp professional installed, iis is installed and until recently
everything worked fine. I am using windows authentication, and have changed everything I can
think of to full control, even the Everyone, the vs develoeprs, the debugger users, and every
account on this machine, just to see if authorization is the problem. Still requires a login. If
I login with the same login I have already logged in with, it works, if I do not login I get a
"You are not authorized" message. I am the admin of this machine, how can I not be authorized?
If anyone has any ideas of what to do, let me know! Thanks for your help.

Apr 8 '07 #2
Kat
Not so. up until a few days ago, I did not have to log in to a web site
once I was already logged in to a system. I do not know what changed. The
point of integrated security is to use the authentication of the user that
is logged in.
"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:O5***************@TK2MSFTNGP02.phx.gbl...
re:
>Every time I attempt to run a localhost website, it asks me for a login,
as if I am not a user on the local machine.

Just because you're logged into Windows
doesn't mean you don't have to logon to an http connection.

re:
>I am using windows authentication

That's why the server is requiring a login.

re:
>I am the admin of this machine, how can I not be authorized?

Because logging into Windows is different than logging into a web
application.

re:
>If anyone has any ideas of what to do, let me know!

Either :

a) use anonymous authentication
or
b) login when requested


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Kat" <Ka**********@yahoo.comwrote in message
news:u2**************@TK2MSFTNGP06.phx.gbl...
>Every time I attempt to run a localhost website, it asks me for a login,
as if I am not a user on the local machine. I am a user on the local
machine, I am an admin on the local machine. I am not on a network. I
have windows xp professional installed, iis is installed and until
recently everything worked fine. I am using windows authentication, and
have changed everything I can think of to full control, even the
Everyone, the vs develoeprs, the debugger users, and every account on
this machine, just to see if authorization is the problem. Still
requires a login. If I login with the same login I have already logged
in with, it works, if I do not login I get a "You are not authorized"
message. I am the admin of this machine, how can I not be authorized? If
anyone has any ideas of what to do, let me know! Thanks for your help.


Apr 8 '07 #3
re:
!The point of integrated security is to use the authentication
!of the user that is logged in.

Dead wrong.

The point of integrated security is to authenticate the user that *logs in*.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Kat" <Ka**********@yahoo.comwrote in message news:uD*************@TK2MSFTNGP06.phx.gbl...
Not so. up until a few days ago, I did not have to log in to a web site once I was already logged
in to a system. I do not know what changed. The point of integrated security is to use the
authentication of the user that is logged in.
"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:O5***************@TK2MSFTNGP02.phx.gbl...
>re:
>>Every time I attempt to run a localhost website, it asks me for a login, as if I am not a user
on the local machine.

Just because you're logged into Windows
doesn't mean you don't have to logon to an http connection.

re:
>>I am using windows authentication

That's why the server is requiring a login.

re:
>>I am the admin of this machine, how can I not be authorized?

Because logging into Windows is different than logging into a web application.

re:
>>If anyone has any ideas of what to do, let me know!

Either :

a) use anonymous authentication
or
b) login when requested


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Kat" <Ka**********@yahoo.comwrote in message news:u2**************@TK2MSFTNGP06.phx.gbl...
>>Every time I attempt to run a localhost website, it asks me for a login, as if I am not a user
on the local machine. I am a user on the local machine, I am an admin on the local machine. I
am not on a network. I have windows xp professional installed, iis is installed and until
recently everything worked fine. I am using windows authentication, and have changed everything
I can think of to full control, even the Everyone, the vs develoeprs, the debugger users, and
every account on this machine, just to see if authorization is the problem. Still requires a
login. If I login with the same login I have already logged in with, it works, if I do not
login I get a "You are not authorized" message. I am the admin of this machine, how can I not
be authorized? If anyone has any ideas of what to do, let me know! Thanks for your help.



Apr 8 '07 #4
Kat,
if it worked before, and now it suddenly does not work, then it is either an
IIS issue or some folder permissions have changed. Check the physical folder
where the application is pointed to by IIS, ensure that all the possible
accounts (IUSR, ASPNET, and your user account) are listed and have "full
control".
IIS should have both Anonymous and Integrated checked for the site.
Peter

--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"Kat" wrote:
Every time I attempt to run a localhost website, it asks me for a login, as
if I am not a user on the local machine. I am a user on the local machine,
I am an admin on the local machine. I am not on a network. I have windows
xp professional installed, iis is installed and until recently everything
worked fine. I am using windows authentication, and have changed everything
I can think of to full control, even the Everyone, the vs develoeprs, the
debugger users, and every account on this machine, just to see if
authorization is the problem. Still requires a login. If I login with the
same login I have already logged in with, it works, if I do not login I get
a "You are not authorized" message. I am the admin of this machine, how can
I not be authorized? If anyone has any ideas of what to do, let me know!
Thanks for your help.
Apr 8 '07 #5
Okay.

It's *my* understanding (and I'm not a security expert) that when using
integrated windows authentication you are using NTLM authentication or
Kerberos, depending on the situation. NTLM is used, typically, outside an
Active Directory domain, or when the client is connecting to another Active
Directory forest. Kerberos, on the other hand, is used for authentication in
Windows 2000 and 2003 via Active Directory. I could be wrong on this, but
that's my understanding.

Also per my understanding is that Kerberos tokens can be passed; so the idea
is that you need to log in once and have your credentials passed around with
you - it's a convenience factor. In this sense, passing the credentials to
IIS lays on the shoulders of the web browser (well, in your particular
situation).

Please check the following bits of information (please get back to me as I
would be interested in whether these work):

Make sure IE's Intranet zone security is set to Automatic Logon only in
intranet zone. IE will only pass credentials automatically if it identifies
the URL which you are using points to an internal location; and so if there
are periods (.) in the address, IE will consider it an external address and
so no credentials will be passed automatically.

Make sure you're using Internet Explorer. I know, this is probably a
no-brainer, but for the sake of completeness I'm mentioning it.

Make sure Windows Integrated authentication is enabled in the IIS security
properties for that web site.

....basically it is on the shoulders of Internet Explorer to pass the
security credentials on to the server; so check there first.

You are sure you didn't accidentally turn on Basic or Digenst authentication
methods, correct?

--
~~~~~~~~~~~
Ben Rush
http://www.ben-rush.net/blog
"Kat" <Ka**********@yahoo.comwrote in message
news:uD*************@TK2MSFTNGP06.phx.gbl...
Not so. up until a few days ago, I did not have to log in to a web site
once I was already logged in to a system. I do not know what changed.
The point of integrated security is to use the authentication of the user
that is logged in.
"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:O5***************@TK2MSFTNGP02.phx.gbl...
>re:
>>Every time I attempt to run a localhost website, it asks me for a login,
as if I am not a user on the local machine.

Just because you're logged into Windows
doesn't mean you don't have to logon to an http connection.

re:
>>I am using windows authentication

That's why the server is requiring a login.

re:
>>I am the admin of this machine, how can I not be authorized?

Because logging into Windows is different than logging into a web
application.

re:
>>If anyone has any ideas of what to do, let me know!

Either :

a) use anonymous authentication
or
b) login when requested


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Kat" <Ka**********@yahoo.comwrote in message
news:u2**************@TK2MSFTNGP06.phx.gbl...
>>Every time I attempt to run a localhost website, it asks me for a login,
as if I am not a user on the local machine. I am a user on the local
machine, I am an admin on the local machine. I am not on a network. I
have windows xp professional installed, iis is installed and until
recently everything worked fine. I am using windows authentication, and
have changed everything I can think of to full control, even the
Everyone, the vs develoeprs, the debugger users, and every account on
this machine, just to see if authorization is the problem. Still
requires a login. If I login with the same login I have already logged
in with, it works, if I do not login I get a "You are not authorized"
message. I am the admin of this machine, how can I not be authorized?
If anyone has any ideas of what to do, let me know! Thanks for your
help.



Apr 9 '07 #6
Kat
I think I had a series of issues going on. I discovered several things:
The directory of the default website had changed, so I went back to using
inetpub/wwwroot. I suspect this had to do with folder permissions. The
site was set to anonymous acccess and integrated security. Since Anonymous
Access takes precedence over integrated security (I believe), it was
attempting to logon with anonymous first and being rejected. It's now up
and running as intended. Thanks for all your help.
"Kat" <Ka**********@yahoo.comwrote in message
news:u2**************@TK2MSFTNGP06.phx.gbl...
Every time I attempt to run a localhost website, it asks me for a login,
as if I am not a user on the local machine. I am a user on the local
machine, I am an admin on the local machine. I am not on a network. I
have windows xp professional installed, iis is installed and until
recently everything worked fine. I am using windows authentication, and
have changed everything I can think of to full control, even the Everyone,
the vs develoeprs, the debugger users, and every account on this machine,
just to see if authorization is the problem. Still requires a login. If
I login with the same login I have already logged in with, it works, if I
do not login I get a "You are not authorized" message. I am the admin of
this machine, how can I not be authorized? If anyone has any ideas of
what to do, let me know! Thanks for your help.

Apr 11 '07 #7

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

Similar topics

1
by: Byron Morgan | last post by:
I need to access a web site, log in, run a report and download the results, which will be added to a database. Of course, the login process uses SSL. Is it reasonable to attempt this with Python...
2
by: John A Grandy | last post by:
for high traffic public websites , what are the proven options for session-state storage & management ? is an out-of-process state-server generally preferred over a sql-server ? what are the...
4
by: Bennett Haselton | last post by:
If I add this to my web.config file: <authentication mode="Forms"> <forms name=".ASPXUSERDEMO" loginUrl="login.aspx" protection="All" timeout="60" /> </authentication> I can configure the...
13
by: BartlebyScrivener | last post by:
New to Python and Programming. Trying to make scripts that will open sites and automatically log me on. The following example is from the urllib2 module. What are "realm" and "host" in this...
5
by: Jim Carlock | last post by:
I've set up the following using an Alias in Apache... Alias /phpdocs/ "C:/Apache/htdocs/common/docs/php/" <Directory "C:/Apache/htdocs/common/docs/php"> Options Indexes FollowSymlinks MultiViews...
4
by: Jai | last post by:
Hi, I have a problem related to Login System. I am developing 3 websites for some institution.Now they want that if anybody had sign up for there site1.com(say), than he or she should be able...
0
by: shil | last post by:
Hi, Is there any possibility to authenticate an user between two websites? I have a website through which users login and get authenticated. In the same website I link to a different website and...
1
by: shil | last post by:
Hi, Is there any possibility to authenticate an user between two websites? I have a website through which users login and get authenticated. In the same website I link to a different website and...
3
by: joer32506 | last post by:
Why would your computer deny access to all websites that require a password? Computer is more than three years old, but all updates have been performed...Operating System is XP with SP2. The...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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,...

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.