473,735 Members | 7,561 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 2532
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
8544
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
2507
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
6804
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
6123
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
4398
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 anonymous security. Then pass the users credentials to the site running under integrated security. ...
2
24881
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
13803
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 database is trusted connection. All these work well. The web application will be used in internet (not...
2
1820
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 use forms authentication. With windows integrated authentication there is no challenge. I tried...
11
5389
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 integrated Windows authentication is not enabled. Now, the obvious solution for this of course...
1
9251
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9200
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6747
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6049
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4559
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4822
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3273
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2739
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2188
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.