473,586 Members | 2,633 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Integrated Windows Authentication, ASP.NET and FoxPro

Hello,

Since it is the first time I'm posting in these groups, I believe a
(short) introduction of myself would not be a bad thing.

I am mainly a support engineer, not a programmer. I do have some
experience with Java and LAMP (Linux/Apache/MySQL/PHP) but don't
consider me one of those boring OS advocates please. ;-)
I also have done a little bit with Visual Basic (and GwBasic in a long
forgotten past) and nowadays my job involves some VBA (mainly in
Excel). I have no experience at all with VB.NET or C# or ASP.NET. I
can't imagine it being too difficult though, how different can it be
from what I know already?

And now my question.
At work our programmers write/maintain a program in Visual FoxPro. (Yes
I know. No advocacy please! It's really ooooold - some code survived
the fall of the Berlin Wall.)
They are writing extensions to the program: all kinds of browser
modules, written in ASP.NET. You have to login, and the login/password
is checked against one of the FoxPro tables.

Now we had this customer who asked if it is possible to start the web
module without having to log in, using the Windows login.
I did some research, and correct me if I'm wrong, but this can be done
with Integrated Windows Authentication, right? I suggested this to our
programmers, but they had never heard about it. I don't blame them,
they are excellent FoxPro devs, but .NET and web applications are
relatively new to them.

So, can anyone give me any helpful clues? I'd like to make a very small
example program that demonstrates Integrated Windows Authentication. Of
course the Windows login should also be known in the FoxPro database,
or at least some user mapping will have to be done.
PS: If I have broken some written or unwritten rules by crossposting:
go ahead, LART me. I really didn't know what group is most relevant.

--
Amedee Van Gasse using XanaNews 1.17.4.1

Nov 19 '05 #1
2 2511
On Thu, 16 Jun 2005 04:36:53 -0700, "Amedee Van Gasse" <nz************ **@rztebhc.or> wrote:

¤ Hello,
¤
¤ Since it is the first time I'm posting in these groups, I believe a
¤ (short) introduction of myself would not be a bad thing.
¤
¤ I am mainly a support engineer, not a programmer. I do have some
¤ experience with Java and LAMP (Linux/Apache/MySQL/PHP) but don't
¤ consider me one of those boring OS advocates please. ;-)
¤ I also have done a little bit with Visual Basic (and GwBasic in a long
¤ forgotten past) and nowadays my job involves some VBA (mainly in
¤ Excel). I have no experience at all with VB.NET or C# or ASP.NET. I
¤ can't imagine it being too difficult though, how different can it be
¤ from what I know already?
¤
¤ And now my question.
¤ At work our programmers write/maintain a program in Visual FoxPro. (Yes
¤ I know. No advocacy please! It's really ooooold - some code survived
¤ the fall of the Berlin Wall.)
¤ They are writing extensions to the program: all kinds of browser
¤ modules, written in ASP.NET. You have to login, and the login/password
¤ is checked against one of the FoxPro tables.
¤
¤ Now we had this customer who asked if it is possible to start the web
¤ module without having to log in, using the Windows login.
¤ I did some research, and correct me if I'm wrong, but this can be done
¤ with Integrated Windows Authentication, right? I suggested this to our
¤ programmers, but they had never heard about it. I don't blame them,
¤ they are excellent FoxPro devs, but .NET and web applications are
¤ relatively new to them.
¤
¤ So, can anyone give me any helpful clues? I'd like to make a very small
¤ example program that demonstrates Integrated Windows Authentication. Of
¤ course the Windows login should also be known in the FoxPro database,
¤ or at least some user mapping will have to be done.

Yes you can authenticate automatically with the web server using Integrated Windows Authentication.
You can also determine the account ID of the authenticated user, but there is no programmatic access
to the password. However, AFAIK, FoxPro does not support integrated Windows security, but you might
want to check this anyway since I'm not a FoxPro expert.
Paul
~~~~
Microsoft MVP (Visual Basic)
Nov 19 '05 #2
I recently wrote an application to scna the Active Directory for user
accounts on a periodic basis and insert the new user accounts and groups
into a database. Combined with the authenticated security mode of IIS I am
able to allow the AD to do the authentication while using the info from the
authenitcated user to access the database.

Email me if you'd like more info (just remove the _nospam from my email
address)
Buddy


"Amedee Van Gasse" <nz************ **@rztebhc.or> wrote in message
news:%2******** *********@TK2MS FTNGP15.phx.gbl ...
Hello,

Since it is the first time I'm posting in these groups, I believe a
(short) introduction of myself would not be a bad thing.

I am mainly a support engineer, not a programmer. I do have some
experience with Java and LAMP (Linux/Apache/MySQL/PHP) but don't
consider me one of those boring OS advocates please. ;-)
I also have done a little bit with Visual Basic (and GwBasic in a long
forgotten past) and nowadays my job involves some VBA (mainly in
Excel). I have no experience at all with VB.NET or C# or ASP.NET. I
can't imagine it being too difficult though, how different can it be
from what I know already?

And now my question.
At work our programmers write/maintain a program in Visual FoxPro. (Yes
I know. No advocacy please! It's really ooooold - some code survived
the fall of the Berlin Wall.)
They are writing extensions to the program: all kinds of browser
modules, written in ASP.NET. You have to login, and the login/password
is checked against one of the FoxPro tables.

Now we had this customer who asked if it is possible to start the web
module without having to log in, using the Windows login.
I did some research, and correct me if I'm wrong, but this can be done
with Integrated Windows Authentication, right? I suggested this to our
programmers, but they had never heard about it. I don't blame them,
they are excellent FoxPro devs, but .NET and web applications are
relatively new to them.

So, can anyone give me any helpful clues? I'd like to make a very small
example program that demonstrates Integrated Windows Authentication. Of
course the Windows login should also be known in the FoxPro database,
or at least some user mapping will have to be done.
PS: If I have broken some written or unwritten rules by crossposting:
go ahead, LART me. I really didn't know what group is most relevant.

--
Amedee Van Gasse using XanaNews 1.17.4.1

Nov 19 '05 #3

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

Similar topics

4
8530
by: Ravikanth[MVP] | last post by:
Hi It is possible that IIS and SQL Server can reside on Seperate Machines and you can use Integrated Windows Authentication to connect. Ravikanth >-----Original Message-----
9
2500
by: Tom B | last post by:
In my web.config file I've specified Windows for the authentication, in IIS I've set it to Integrated Authentication. But my SQL connection is still showing Anonymous. Is there somewhere else I need to check? Thanks Win 2003, SQL Server 2000
4
6792
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. :)
3
6095
by: Patrick.O.Ige | last post by:
Hi folks, How can i pass credentials to windows integrated authentication. I want to use my credentials from windows authentication and pass it on to different asp.net and asp pages without having to login again. Any help?
5
4388
by: cdlipfert | last post by:
Our intranet is running under windows integrated security. We have domain users that want to access our intranet site via ssl vpn. SSL VPN can not authenticate against services that run under windows integrated security. In order to get around this issue it seems that we would need to create a login page on a separate site that runs under...
2
24872
by: Dariusz Tomon | last post by:
I got an ASPNET C# project from client. When I'm trying to open it in Visual Studio I get error message: "Unable to start debugging on the web server. Debugging failed because integrated Windows authentication is not enabled. Please see Help for assistance" - What could be the problem? Any suggestion will be appreciate. D.T.
3
13780
by: =?Utf-8?B?RGFuZGFuIFpoYW5n?= | last post by:
Now I have a web application, a web service and a SQL Server database. The Web application will invoke the web service, the web service invokes the SQL Server stored procedure. I let the web service run in an application pool which runs under a domain user, this domain user has permissions of accessing database and the connection to...
2
1814
by: zanzibar | last post by:
I need to develop an intranet app that uses Windows Authentication with IIS set up for Windows Integrated Authentication. The problem is that I want to force a challenge (i.e., force the user to enter username and password) when they access the app. I know that basic and digest authentication will do this, but I cannot use these, nor can I...
11
5371
by: benoitc | last post by:
I've been having a problem debugging an ASP.NET 1.1 application on an existing Windows XP/Visual Studio 2003 workstation that I've inherited from somebody else. The application builds fine, but when I try to debug, it gives me the message: Error When Trying to Run Project: Unable to Start Debugging on the Web Server. Debugging failed because...
0
7912
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7839
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8202
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8216
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6614
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5710
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3865
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1449
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1180
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.