473,769 Members | 8,134 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Getting window credential from user machine thru' ASP.NET

Hi,

I wonder how can I get the window/network credential from the user
machine thru' ASP.NET?

I have been using LDAP, however, the user will be prompted for
username and password at least once. Is there a way to get the user
credential without the dialog box?

Thanks in advance. Your help would be greatly appreciated.

Jun 11 '07 #1
2 1375
If your app is for users who trust you and won't mind setting special
security for your site, look at the WshNetwork object. Google for it if
interested.

If your app is for general public, imagine what security havoc this would've
created had it been possible.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
<sw**********@y ahoo.comwrote in message
news:11******** *************@i 13g2000prf.goog legroups.com...
Hi,

I wonder how can I get the window/network credential from the user
machine thru' ASP.NET?

I have been using LDAP, however, the user will be prompted for
username and password at least once. Is there a way to get the user
credential without the dialog box?

Thanks in advance. Your help would be greatly appreciated.

Jun 11 '07 #2
How can this be safely passed onto server for checking? All I am
trying to do is to make sure the current user is allow to log onto the
page.

Thanks in advance. Your advice would be greatly appreciated.

On Jun 11, 11:28 am, "Eliyahu Goldin"
<REMOVEALLCAPIT ALSeEgGoldD...@ mMvVpPsS.orgwro te:
If your app is for users who trust you and won't mind setting special
security for your site, look at the WshNetwork object. Google for it if
interested.

If your app is for general public, imagine what security havoc this would've
created had it been possible.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]http://msmvps.com/blogs/egoldinhttp://usableasp.net

<sweetpota...@y ahoo.comwrote in message

news:11******** *************@i 13g2000prf.goog legroups.com...
Hi,
I wonder how can I get the window/network credential from the user
machine thru' ASP.NET?
I have been using LDAP, however, the user will be prompted for
username and password at least once. Is there a way to get the user
credential without the dialog box?
Thanks in advance. Your help would be greatly appreciated.- Hide quoted text -

- Show quoted text -

Jun 12 '07 #3

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

Similar topics

2
1995
by: aspUSER2 | last post by:
hi.. I have an intranet link with me.. Where when I click to that site at the top right corner I see something written as "DSO GUEST"… the words must be hard coded at the back. And then there is a button below it. Which says "LOGIN". When I click to login I get the user name of the machine say.. "ALEX PUA". Now I didn’t give any userid password..or any other authentication!!! I think what it did was thru some default system variable it...
3
4743
by: Martin | last post by:
Dear fellow ASP.NET programmer, I stared using forms authentication and temporarily used a <credentials> tag in web.config. After I got it working I realized this wasn't really practical. I cannot write to web.config so I cannot dynamically update the credentials while the site is up. Since the FormsAuthentication.Authenticate() method's documentations claims the following: "Attempts to validate the credentials against those contained...
5
6437
by: aure_bobo | last post by:
Hi all, I'm currently developing a system with several webapps in ASP.NET/C#. One of my website is used to login user : I will call this website Webapp1. Depending on the user attributes, I will send the user to an another website (let's Webapp2 in my example), where I would like to login automatically the user with the credentials entered in WebApp1.
2
5012
by: asanford | last post by:
Hello, Is there a way to associate and set the credentials for a web proxy via the config file? We are writing a client program to access both web services (via HttpWebClientProtocol subclasses) and direct web requests (via WebRequest subclasses.) In some cases, we need to go thru a WebProxy, and in other cases, we go direct. We are able to control this in the client's configuration file (app.config or machine.config) via the...
0
1064
by: Lambuz | last post by:
Hi all, we have this intranet scenario: - Active Directory - A web application secured with Integrated Windows Authentication on IIS 5 - machine A WIN 2000 adv srv IIS 5
2
4221
by: MSK | last post by:
Hi, Continued to my earlier post regaring "Breakpoints are not getting hit" , I have comeup with more input this time.. Kindly give me some idea. I am a newbie to .NET, recently I installed .NET. I could not debug using breakpoints, breakpoints are not getting hit, but the application is working fine with out any issue.
1
2433
by: iwdu15 | last post by:
hi, how can i get the icon associated with a certain file type? thanks -- -iwdu15
4
7194
by: ianyian | last post by:
hi experts, im doing some staff bween th the aspx + MS Word.chellcheck, and and which running on my ypc is no problem ( windows xp , activation by ASPNET ), buts someshow when i try to deploy to server ( windows 2003 ) + IIS 6.0 , hen which giee the error = Object reference not set to an instance of an object.This method or property is not available because a document window is not active. and i have try to configure for the component...
2
1980
by: Michael Bray | last post by:
I have a client/server application that utilizes Impersonation on a TCP Channel. So I create the channel with the version of the constructor that takes an IDictionary of channel properties, and specify "impersonate = true". OK great - everything works - I can confirm on the server that the process runs in the context of the user that is making the remote call from the client. However, I also want to give the user the ability to...
0
9589
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
9423
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
10219
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
10049
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9998
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9865
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
6675
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();...
0
5310
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3967
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

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.