473,326 Members | 2,813 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,326 software developers and data experts.

Windows Authentication with list of users from DB?

Hello

I am not sure this is possible, but I have webapp that will run inside the interanet. I have been able to take the advantage of Windows Authentication, but the idea of having a hardcoded list of users creates a lot work and almost become inpratical. Therefore, it would be so much help if I can validate the user against a list in a database that I can maintain through the actual application

Thanks in advance
Reza
Nov 18 '05 #1
4 1619
Hi Reza,

very much you can. I will have to write custom code to check the username &
password and act accordingly.

http://www.4guysfromrolla.com/webtech/110701-1.shtml

--
Cheers!
Rajiv. R
Rajspace.Org

"Reza" <uw******@hotmail.com> wrote in message
news:4E**********************************@microsof t.com...
Hello,

I am not sure this is possible, but I have webapp that will run inside the interanet. I have been able to take the advantage of Windows Authentication,
but the idea of having a hardcoded list of users creates a lot work and
almost become inpratical. Therefore, it would be so much help if I can
validate the user against a list in a database that I can maintain through
the actual application?
Thanks in advance,
Reza

Nov 18 '05 #2
Thanks Rajiv for response

Is there a sample code in this page?( quick look, didn't find anything specific
http://www.4guysfromrolla.com/webtech/110701-1.shtm

But I don't want to validate the user myself, just want to control the list, because the Window Authentication works perfect in this case

Rez

----- Rajiv R wrote: ----

Hi Reza

very much you can. I will have to write custom code to check the username
password and act accordingly

http://www.4guysfromrolla.com/webtech/110701-1.shtm

-
Cheers
Rajiv.
Rajspace.Or

"Reza" <uw******@hotmail.com> wrote in messag
news:4E**********************************@microsof t.com..
Hello
I am not sure this is possible, but I have webapp that will run inside th interanet. I have been able to take the advantage of Windows Authentication
but the idea of having a hardcoded list of users creates a lot work an
almost become inpratical. Therefore, it would be so much help if I ca
validate the user against a list in a database that I can maintain throug
the actual application Thanks in advance

Rez


Nov 18 '05 #3
Hello!

I'm a bit confused... if you're using Windows authentication, why do you
need to "validate the user against a list"? IIS will validate the users for
you.
"Reza" <uw******@hotmail.com> wrote in message
news:4E**********************************@microsof t.com...
Hello,

I am not sure this is possible, but I have webapp that will run inside the interanet. I have been able to take the advantage of Windows Authentication,
but the idea of having a hardcoded list of users creates a lot work and
almost become inpratical. Therefore, it would be so much help if I can
validate the user against a list in a database that I can maintain through
the actual application?
Thanks in advance,
Reza

Nov 18 '05 #4
I think that, as you're using Windows authentication, you would be better
off using ACL authorization rather than role-based or your own custom
security scheme. You would need to assign your team members to their own
Windows group, and give this group suitable permissions on your
application's directory (whilst removing Everyone else's). Access to the
application would then be dependent upon membership of the group.

That's what I would do, but I am by no means an expert.
"Reza" <uw******@hotmail.com> wrote in message
news:93**********************************@microsof t.com...
Because don't want everybody in the domain have access to the application,

only a list that changes all the time depending on the people that join the
team or leave the team or on the team.
Nov 18 '05 #5

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

Similar topics

8
by: Bob Everland | last post by:
I have an application that is ISAPI and the only way to secure it is through NT permissions. I need to have a way to login to windows authentication so that when I get to the ISAPI application no...
0
by: Reza | last post by:
Hello I need, have no other option, to use windows authentication for my .net project and SQL server users. I have the list of users in my web.config What do I do, or how do I setup my .net/sql...
3
by: Reza | last post by:
Hello I tried this friday, but didn't get anywhere so trying again Basically, I have a fixed list of people that can access the application in the Intranet, and with the policy of the company the...
4
by: Andrew | last post by:
Hey all, I would like to preface my question by stating I am still learning ASP.net and while I am confident in the basics and foundation, the more advanced stuff is still a challenge. Ok....
5
by: pberna | last post by:
Dear all, I built a Web Form application to start and stop a Windows Service remotely. I successful tested the application on Windows 2000 server + IIS. I must include the ASPNET user to the...
0
by: Alex | last post by:
I am having problems trying to perform authorization in a web application using windows authentication. According to the instructions I should be able to use the following elements in the...
3
by: Chris Paul | last post by:
I'm having trouble with PHP & PostgreSQL/OpenLDAP/Apache on Windows. I've set this up countless times on BSD (piece of cake) but I'm trying to do this on Windows now so that my developer can work...
0
JamieHowarth0
by: JamieHowarth0 | last post by:
I have been trying to find a solution to this on the Internet for months. Literally, ages and ages and ages, praying that someone in the open-source community has enough knowledge to put together an...
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: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
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...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.