473,387 Members | 1,721 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,387 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 4594
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: 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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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
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
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...

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.