Thursday, July 28, 2005 4:45:16 PM
Windows 2000 for security issues. It should work fine on Windows XP or 2003.
If you are using Active Directory you might want to consider changing the code to use the System.DirectoryServices.DirectoryEntry classes to see if the user exists in the domain.
Here's a link that shows you how to validate a user exisit using Active Directory
http://www.c-sharpcorner.com/Code/2005/June/ADand.NET.asp |
BiographyI'm currently with a large insurance company in enterprise software engineering. I'm currently developing enterprise wide components and services. I'm also an MCT and conduct internal training on C#, ASP.Net, Web Services, and Windows programming in .Net, assist with architecture, coordinate and present at internal monthly forums.
I'm an MCSD and MCDBA as well. I was recently awarded a C# MVP.
In my free time I like to garden and work around the house. Site Rank: Not applicable - Current Winnings: $0.00
Reply
Reply Using Power Editor
|
Thursday, July 28, 2005 4:53:21 PM
If you use Windows Authentication, they won't be able to get on to the site if they aren't already authenticated on the domain. Then you can use Request.ServerVariables to grab their authentication info. |
BiographyDaniel has not submitted biographical details. Site Rank: Not applicable - Current Winnings: $0.00
Reply
Reply Using Power Editor
|
It appears he's trying to
Thursday, July 28, 2005 5:03:41 PM
forms authentication. Windows authentication won't work through most firewalls, it's typically blocked for security reasons. Most palces use Basic over HTTPS which would authenticate the user after they login.
I'm not sure what his specific requirements are so I only answered the question asked.
BTW, I'm not the one who posted the question. |
BiographyI'm currently with a large insurance company in enterprise software engineering. I'm currently developing enterprise wide components and services. I'm also an MCT and conduct internal training on C#, ASP.Net, Web Services, and Windows programming in .Net, assist with architecture, coordinate and present at internal monthly forums.
I'm an MCSD and MCDBA as well. I was recently awarded a C# MVP.
In my free time I like to garden and work around the house. Site Rank: Not applicable - Current Winnings: $0.00
Reply
Reply Using Power Editor
|
This is one Windows NT 4
H C replied
Thursday, July 28, 2005 5:22:34 PM
It does work fine on Windows XP and 2003. Thats what was bugging me out.
This is an INTRAnet only app. What needs to happen is that the user need to go to
http://machinename/website/default.aspx
on this page, I want them to type in their domain username and password. Authenticate throught the domain, and then the app handles the rest. Any thoughts on how to get this to work? Thanks so much both of your for the replies.
HC |
BiographyH has not submitted biographical details. Site Rank: Not applicable - Current Winnings: $0.00
Reply
Reply Using Power Editor
|
You can use windows integrated
Thursday, July 28, 2005 6:14:37 PM
authentication on the website and the user would not have to input any information. It would use their username from when they logged into their machine. Since this is an intranet app there wouldn't be the security risk of going over the internet.
That code definitely does not work on NT4. |
BiographyI'm currently with a large insurance company in enterprise software engineering. I'm currently developing enterprise wide components and services. I'm also an MCT and conduct internal training on C#, ASP.Net, Web Services, and Windows programming in .Net, assist with architecture, coordinate and present at internal monthly forums.
I'm an MCSD and MCDBA as well. I was recently awarded a C# MVP.
In my free time I like to garden and work around the house. Site Rank: Not applicable - Current Winnings: $0.00
Reply
Reply Using Power Editor
|
That works great Thanks<eop>
H C replied
Thursday, July 28, 2005 11:14:29 PM
BiographyH has not submitted biographical details. Site Rank: Not applicable - Current Winnings: $0.00
Reply
Reply Using Power Editor
|
Friday, July 29, 2005 8:34:12 AM
http://www.eggheadcafe.com/forums/ForumPost.asp?ID=28830&INTID=2 |
BiographyDaniel has not submitted biographical details. Site Rank: Not applicable - Current Winnings: $0.00
Reply
Reply Using Power Editor
|
Yes, the thanks was to both
H C replied
Friday, July 29, 2005 9:46:39 AM
I know that you responmded with the same answer. I was hoping to make it works with FORMS authentication, but this way will definately do. Again, thank you |
BiographyH has not submitted biographical details. Site Rank: Not applicable - Current Winnings: $0.00
Reply
Reply Using Power Editor
|
|
|