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

User Variable

Do you know how to get windows login variables (i.e. the LOGON_USER server
variable) from ASP without having to fill in the challenge response message
box that automatically appears when you configure IIS to Integrated Windows
Security for a particular site? I don't want users to have to log in again
to the site as they have already logged in to windows but I want to use
their username on the back end to verify permissions. Is it possible?
Jul 19 '05 #1
2 2729
A browser does not send credentials to the server *unless* the server says
to the browser "access denied - supply some user credentials please"

At this point, the browser pops-up a dialogue box. It would be a huge
security problem if the browser automatically sent the user's credentials to
any old server that requested them!

That said, IE does automatically log a user on (send their credentials) if
the site is in the Intranet or Trusted Sites security zones. If you are
using a FQDN or IP address for your site, you'll need to add it to the
user's Intranet or Trusted Sites zones (eg using a logon script if you want
to automate the process)

More info here:
http://support.microsoft.com/?id=258063

Cheers
Ken

"Bruno" <de********@hotmail.com> wrote in message
news:NA****************@news-binary.blueyonder.co.uk...
: Do you know how to get windows login variables (i.e. the LOGON_USER server
: variable) from ASP without having to fill in the challenge response
message
: box that automatically appears when you configure IIS to Integrated
Windows
: Security for a particular site? I don't want users to have to log in again
: to the site as they have already logged in to windows but I want to use
: their username on the back end to verify permissions. Is it possible?
:
:
Jul 19 '05 #2
"Ken Schaefer" <ke*******@THISadOpenStatic.com> wrote in message
news:eq**************@TK2MSFTNGP09.phx.gbl...
A browser does not send credentials to the server *unless* the server says
to the browser "access denied - supply some user credentials please"

At this point, the browser pops-up a dialogue box. It would be a huge
security problem if the browser automatically sent the user's credentials to any old server that requested them!

That said, IE does automatically log a user on (send their credentials) if
the site is in the Intranet or Trusted Sites security zones. If you are
using a FQDN or IP address for your site, you'll need to add it to the
user's Intranet or Trusted Sites zones (eg using a logon script if you want to automate the process)

More info here:
http://support.microsoft.com/?id=258063

Cheers
Ken

"Bruno" <de********@hotmail.com> wrote in message
news:NA****************@news-binary.blueyonder.co.uk...
: Do you know how to get windows login variables (i.e. the LOGON_USER server : variable) from ASP without having to fill in the challenge response
message
: box that automatically appears when you configure IIS to Integrated
Windows
: Security for a particular site? I don't want users to have to log in again : to the site as they have already logged in to windows but I want to use
: their username on the back end to verify permissions. Is it possible?
:
:

Thanks Ken.
Jul 19 '05 #3

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

Similar topics

13
by: perplexed | last post by:
How do you convert a user inputted date to a unix timestamp before insterting it into your database? I have a form, with a textfield for a date that the user inputs in the format mm-dd-yyyy and...
0
by: mailing | last post by:
hi, it's possible in mysql set the db folder into home user? example: user fred, home is /home/fred i want store db data in /home/fred/db. it's possible? i've tested in /home/fred/.my.cnf...
2
by: paul meaney | last post by:
All, myself and another developer have been staring blankly at a screen for the past 48 hours and are wondering just what stunningly obvious thing we are missing. We are trying to load up 2...
6
by: martin | last post by:
Hi, I am a web page and a web user control. My web user control is placed in my web page using the following directive <%@ Register TagPrefix="uc1" TagName="Header"...
10
by: sqlboy2000 | last post by:
Hello all, I have something very simple going on here and I'm scratching my head as to what the problem is. There are 4 items in my project, 2 webforms, a user control, and a module: ...
3
by: Sridhar | last post by:
Hi, I am having a trivial problem which is not that important but I would like to know if I am missing something. I have created a user control. When I drag the user control into one of the web...
1
by: David Hearn | last post by:
I am creating a user control for use on several of my pages. I have some variables that are set on my pages where the user control will be used. I need my user control to automatically be able to...
13
JodiPhillips
by: JodiPhillips | last post by:
G'day, I have a silly and simple problem that I need some guidance with. Due to the way our network is set up, I am unable to use the group permissions for Access and have had to implement log...
0
by: mirandacascade | last post by:
Apologies in advance for what I'm guessing may be a trivial question. Assume the following: 1) multi-user environment 2) standard (i.e. not a class module) module with: Public strSample as...
2
by: jd | last post by:
I have several textboxes in which the end user can enter values. When the user presses the Enter key when in any of the textboxes, or leaves that textbox, I want a routine to run (mathematical...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
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
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.