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

ASP.net Login Page with Active Directory

Hello Guys,
i need to program an ASP.net Webapplication.
This application should be only used by members of a specific group.
So I want to write a Login-page like this:

Username:
Password:

(Login-Button)

After a successful login, the user will be redirected to another site.
I only managed it, that I can ask the Active Directory if a user is in
a specitic group. But no query for the password at all... For this, I
use the ismember function, but i think this is the wrong way for a
username / password query!

I use the Visual Web Developer 2005 Express Edition!

Please tell me the easiest way :)

Can anybody help me?


Dec 18 '07 #1
2 4453
You can check whether the user id and password combination is there
using active directory ,if the user id password is valid then only
check wether the user belong to the specific group.

Björn K wrote:
Hello Guys,
i need to program an ASP.net Webapplication.
This application should be only used by members of a specific group.
So I want to write a Login-page like this:

Username:
Password:

(Login-Button)

After a successful login, the user will be redirected to another site.
I only managed it, that I can ask the Active Directory if a user is in
a specitic group. But no query for the password at all... For this, I
use the ismember function, but i think this is the wrong way for a
username / password query!

I use the Visual Web Developer 2005 Express Edition!

Please tell me the easiest way :)

Can anybody help me?
Dec 18 '07 #2
On 18 Dez., 12:49, "arna...@gmail.com" <arna...@gmail.comwrote:
You can check whether the user id and password combination is there
using active directory ,if the user id password is valid then only
check wether the user belong to the specific group.

Björn K wrote:
Hello Guys,
i need to program an ASP.net Webapplication.
This application should be only used by members of a specific group.
So I want to write a Login-page like this:
Username:
Password:
(Login-Button)
After a successful login, the user will be redirected to another site.
I only managed it, that I can ask the Active Directory if a user is in
a specitic group. But no query for the password at all... For this, I
use the ismember function, but i think this is the wrong way for a
username / password query!
I use the Visual Web Developer 2005 Express Edition!
Please tell me the easiest way :)
Can anybody help me?- Zitierten Text ausblenden -

- Zitierten Text anzeigen -
Oooweeh,
the query of the username/password works!

This link helps a lot:
http://support.microsoft.com/default...b;en-us;326340

Now I only have to check for the group...
Dec 20 '07 #3

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

Similar topics

1
by: anonymous | last post by:
Hi all, I've been searching the way to achieve the following task. But no luck so far. I have a web site(main site), which requires authentication. This authentication is set at Windows...
11
by: David W. Simmonds | last post by:
I have a form that will prompt for a user name/password. In VS.NET, I have the protected form in a folder named Admin. I have a Web.config file in that folder as well. It contains the following...
1
by: Christopher | last post by:
We are using forms authentication in our web app and typically query our LDAP Servers by binding to the user node in the LDAP Tree. We usually see the following DN used as the DN for each user.....
1
by: moi | last post by:
Hello, I make a logon page with asp.net and active directory membership. My trouble is the long login (more than 20 character like mybigsurname.mybigname) : I could not use the login like this :...
0
by: Daniel Knöpfel | last post by:
Hello On our asp.net 2.0 website we impersonate every request to the identity of the user logged in. This works this way: 1. user logs in, providing username, password 2. user is authenticated...
1
by: steltenpohl | last post by:
Hi, I have a page that allows the user to browse the filesystem on the webserver, what I would like is to pop up a login screen when the user tries to go to a secured directory (using active...
6
by: Kat | last post by:
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...
1
by: Billy | last post by:
Hi I have an asp.net 2.0 website running with Windows integrated security and want users to be able to login using a formular on the website instead of the standard windows login prompt. All...
1
by: Tim | last post by:
Folks, I have 3 loosely linked problems which I am would appreciate feedback on. 1). T-Sql and Active directory roles. We want to be able to control access to data within a table based on a...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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,...

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.