473,486 Members | 2,127 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Validating Local Users, Passwords, and Groups

I have a question or two regarding local users and groups.

I have an ASP.NET 2.0 (C#) application (intranet-based, not on the
Internet), and, on one of the pages, I have two textboxes for end-users to
enter a user name and password. The user name needs to be an actual user
that is on the local computer, and the password (obviously) needs to be that
user's password. Sounds easy enough so far.

Now, the PHB wants validation of the entered user name and password (i.e., a
change in the requirements of the page).

Thus, when a end-user types in a user name and submits the page back to the
server, I need my C# code to take that entered value and validate that the
user they entered is truly a valid user on the local computer (the web
server).

So, my first question is, how can I take the value entered in the user name
textbox and make sure that it is a valid user on the local computer?

Also, once the user name is validated, the password then needs to be
validated to make sure that the password entered is the correct password for
the user.

So, my second question is, how can I take a valid user and an entered
password and validate that the password entered is the correct password for
the user?
Thanks!

Feb 17 '06 #1
0 1063

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

Similar topics

4
3186
by: Tim Daneliuk | last post by:
OK, I've Googled for this and cannot seem to quite find what I need. So, I turn to the Gentle Geniuses here for help. Here is what I need to do from within a script: Given a username and a...
1
121505
by: jiing | last post by:
Now let me describe what I have done and my purpose: Originally, I want to user ports to install phpBB But I found that phpBB doesn't support mysql 5.x (but the ports installed mySQL 5.0.0...
0
1802
by: Neo | last post by:
Hi Everyone I am trying to set and retrieve NTFS permssions for fileshares on remote machine using ActiveDs Interop. It works for domain groups and users but when try to retrieve permssions for...
0
1126
by: | last post by:
Looking for a way for users to change their passwords on local accounts. I followed this KB article, 306271, and it worked as far as adding a new user. I tried to modify it to do password...
0
1277
by: krisk | last post by:
I have a question or two regarding local users and groups. I have an ASP.NET 2.0 (C#) application (intranet-based, not on the Internet), and, on one of the pages, I have two textboxes for...
232
13062
by: robert maas, see http://tinyurl.com/uh3t | last post by:
I'm working on examples of programming in several languages, all (except PHP) running under CGI so that I can show both the source files and the actually running of the examples online. The first...
4
5668
by: shashank kadge | last post by:
hi all, i am trying to get local admin users and groups on a windows server. here is the C# code that i am using...
3
2299
by: Jennifer.Berube | last post by:
okay...so I got this login script and I edited it all and it seems to run fine...IE it listens to the script as far as permissions go when I place a restriction on a page and when you login it...
4
2581
by: ryan | last post by:
i am storing a usernames and passwords in a table called Users. I present a login form to the user when my application starts up (VB.NET, .NET CF, Windows Mobile 5) The user chooses a username...
0
7100
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
7126
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
7175
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...
1
6842
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...
1
4865
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3070
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...
0
1378
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 ...
1
598
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
262
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...

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.