473,609 Members | 1,851 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

AUTH_USER in ASP

1 New Member
Hi Friends,

I am having an asp application in which i am capturing the Auth_User for authentication.
My problem is when i am trying to turn off the anonymous access tab in the properties window.I am unable to even Run th local host in my machine.
If I turn on the anonymous access check box i am able to run the local host but could not capture the AUTH_USER.as i am getting a empty string for that


Any body Please help me if you know the solution

Thanks in Advance

Prashanth
Feb 27 '08 #1
1 2019
CroCrew
564 Recognized Expert Contributor
I for one would suggest coming up with a different way of authentication. AUTH_USER is very easily spoofed. Just within FireFox I can pass in someone else credentials and impersonate them. And with IE7+ Microsoft’s new security features you will find yourself becoming tech support in figuring out why some people can connect and others can’t when using IE7+. I could go on but I think your getting my point.

Back in the day AUTH_USER was helpful but, now it has become unreliable.

Sorry~
Feb 27 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

8
10892
by: MeAndI | last post by:
How to everybody, how it is possible to change the value of the AUTH_USER server variable? Is this possible? If no, how I could change the logged user? Thanks for help
6
7615
by: | last post by:
I am trying to use AUTH_USER from request.servervariables but the field is blank. I am using Windoze server 2003 with IIS5. I know there is a fix because I did it a long time ago with our old NT server running IIS4 but I cant remember how I got it to work. We are all authenticated users on our Domain so this is available, I am able to get IP info and such. I seem to remember some kind of ASP code that did the fix by altering the way the web...
0
3194
by: Ian Staines | last post by:
In asp the following code: Request.Servervarables("AUTH_USER") will return the header variable AUTH_USER In .NET the code Request.Servervariables("AUTH_USER") returns the server variable AUTH_USER, but if you want the header variable you must request it with Request.Headers("AUTH_USER")
4
4271
by: Jim in Arizona | last post by:
I'm new to aspnet with only limited experience with classic asp. Since I'm on a domain and all users are authenticated. In the past using classic asp I used request.servervariables("auth_user") to grab the domain logon name of the user. Is there a better way or more detailed way in aspnet? Like, instead of putting "mydomain\bobjones" into a variable using request.servervariables("auth_user"), can I extract the actual name "Bob Jones" from...
2
2037
by: z f | last post by:
trying to achieve windows authentication on the fly (without the file configured to deny anonymous access in IIS) i returned a 401 status if the Request.ServerVariables("auth_user") = "" this is OK, the 401 status Code returned with additional headers and the browser performed windows authentication and the next time i had auth_user correctly. but after closing the browser and re-opening it and requesting the same page again, i get the...
2
2381
by: nikou_70 | last post by:
I use auth_user for get username from windows, when I upload that page on server and user open the page that contain this code ,it shows a prompt window and wants username and password ,it's common or it must get automatically from windows?
0
3925
by: Mark Rae | last post by:
Hi, I apologise that this isn't *specifically* an ASP.NET issue - I will also post it to the IIS newsgroup - but I thought I'd ask here anyway on the off-chance that someone may have come across this before... It's an intranet system written in ASP.NET v1.1 using C#. The site is running on IIS6 on Win2k3S with all the SPs and patches etc. The Session_Start interrogates the AUTH_USER server variable to identify the
2
1608
by: drengot | last post by:
Hello, I have a little problem. I want write the name of the user authenticated with code : <%=Request.ServerVariables%> bat the page write username and roles (example: Miruss:admin) . I want only username. Help me. (sorry for my English!!!)
0
1980
by: =?Utf-8?B?SlA=?= | last post by:
I have an application that uses Forms Authentication in connection with Active Directory for granting access to an application. When a user logs on with AD, it populates the AUTH_USER ServerVariable and I can then use: Request.ServerVeriables to retrieve the value of this variable or any other value in the ServerVariableCollection.
0
8139
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8091
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8579
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8408
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7024
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5524
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
2540
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1686
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1403
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.