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

Windows Authentication

Hi there...

I am trying to use the Windows user/password combination to grant or
deny access to my application. For this I want to display a login
dialog window requesting the userID and password and submit these two
to Windows (98 / 2000 / XP) and obtain back a confirmation or denial
of the access.

Any help will be appreciated. Code sample even more.

Thanks folks...
Nov 21 '05 #1
3 4591
Pepi,

Do you know there is a complete sample in the VB resourcekit about your
question.

Create a Login Dialog Box
VB.net Resource kit
http://msdn.microsoft.com/vbasic/vbrkit/default.aspx

And if you have problems installing the resource kit
http://msdn.microsoft.com/vbasic/vbr...q/#installvdir

I hope this helps?

Cor
I am trying to use the Windows user/password combination to grant or
deny access to my application. For this I want to display a login
dialog window requesting the userID and password and submit these two
to Windows (98 / 2000 / XP) and obtain back a confirmation or denial
of the access.

Any help will be appreciated. Code sample even more.

Nov 21 '05 #2
Cor, just an FYI:

I finally got a chance to take a look at the Resource Kit you spoke of.

There is a "How-To Create a Login Dialog Box" that is pretty slick. But, it
does NOT prompt for a Windows username/password. It only works with a
custom username/password from a backend db or xml. (There is a checkbox to
slide by authentication if you are logged in as an administrative account
into windows, but it doesn't prompt for and check your windows password.)

I have made something that queries AD and does want I want, but I was hoping
for a MS perspective on how to do this.

(Even though the user is already logged onto the computer, we have a
requirement that they must log into the app to proceed. And we want to reuse
the username/password info already in AD.)

Thanks,
Greg

"Cor Ligthert" <no**********@planet.nl> wrote in message
news:OC****************@TK2MSFTNGP12.phx.gbl...
Pepi,

Do you know there is a complete sample in the VB resourcekit about your
question.

Create a Login Dialog Box
VB.net Resource kit
http://msdn.microsoft.com/vbasic/vbrkit/default.aspx

And if you have problems installing the resource kit
http://msdn.microsoft.com/vbasic/vbr...q/#installvdir

I hope this helps?

Cor
I am trying to use the Windows user/password combination to grant or
deny access to my application. For this I want to display a login
dialog window requesting the userID and password and submit these two
to Windows (98 / 2000 / XP) and obtain back a confirmation or denial
of the access.

Any help will be appreciated. Code sample even more.


Nov 21 '05 #3
Greg,

You are right, I knew there was something with my message and always when I
look at that login I think "that is very basic and I miss the authority",
however some people want to do the authority using there SQL server maybe
that was the reason they did it that way.

But there is as well a sample in the resource kit about Role Based Security,
I think that combining those two would a good entree to the problem.

Thanks for pointing me on this.

Cor
"Greg Burns"
....
Cor, just an FYI:

I finally got a chance to take a look at the Resource Kit you spoke of.

There is a "How-To Create a Login Dialog Box" that is pretty slick. But, it does NOT prompt for a Windows username/password. It only works with a
custom username/password from a backend db or xml. (There is a checkbox to slide by authentication if you are logged in as an administrative account
into windows, but it doesn't prompt for and check your windows password.)

I have made something that queries AD and does want I want, but I was hoping for a MS perspective on how to do this.

(Even though the user is already logged onto the computer, we have a
requirement that they must log into the app to proceed. And we want to reuse the username/password info already in AD.)

Thanks,
Greg

"Cor Ligthert"

Nov 21 '05 #4

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...
1
by: sherkozmo | last post by:
I have my SQL 7.0 server set for Mixed security. I see now (finally) the advantages of having windows authentication security for windows groups. I do most of my developing in Access Projects...
1
by: Mark | last post by:
When our staff are logged into a computer on our domain, they're still prompted for their domain login and password to get into our ASP.NET application in Internet Explorer when using Windows...
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...
6
by: Kevin Yu | last post by:
is it possible to for user to click a logout button to logout and when the user want to get into the system again, the user have to login again? Kevin
8
by: Nils Magnus Englund | last post by:
Hello, I am having trouble using Integrated Windows Authentication between our intranet server and our database server, both of which are on our local domain. Windows authentication works for...
10
by: Hriday | last post by:
Hi there, Please help me..It is urgent This is Hriday, working on windows authentication with Active Directory... My requirment is when a user sends a request to my web Applicatoin I want to...
7
by: Alice Wong | last post by:
I am setting up my Web ASP.net application to connect to Sql server using windows authentication. I set up IIS to have integrated windows authenication and sql to allow Windows authentication....
4
by: Preben Zacho | last post by:
Hi there The scenario I got is this: I have created a Windows application in VS and I want to deploy it to another machine running Windows Vista. Since I have no control over this other machine,...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
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)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
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
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.