Solved

Netscape Web Server and Delphi CGI

Posted on 1997-05-05
2
178 Views
Last Modified: 2010-04-06
I am writing some CGI programs in Delphi for use on the Netscape Enterprise and FastTrack Servers.

One of these CGI programs needs to update the Netscape's USER database.  

Netscape comes with a command line utility called MKUSER which will add the user information into the database for me, but, I have to pass it an already encrypted password as one of the parameters.

How do I encrypt this password so that Netscape will understand it and be able to decrypt it?

Netscape has a .LIB file that has the routines to encrypt and decrypt the password. Can I use the .LIB file somehow from within Delphi 2.0? If so, How?
0
Comment
Question by:dougie050597
2 Comments
 
LVL 1

Expert Comment

by:buemoh
ID: 1335935
Hi dougie,

Sorry, but a .LIB file can't be used within Delphi. Your only chance is, to get the .C file of this .LIB file and translate it in Pascal.

2nd idea, look at NETSCAPEs homepage and there at the developer site, because NETSCAPE has it's own API, called NSAPI to develope CGIs. I think, this API provides something like you want (calling a function of a DLL, ...).

As an input: I'm designing a Delphi component, which supports the CGI Standard interface as well as the ISAPI and NSAPI interface. If you want the beta version 0.7, please e-mail.

Bye

Hartwig

-----------------------------------------------------------
///\\\ Hartwig MOTAL ///\\\  e-mail: moh@bue.magwien.gv.at
 Weinberggasse 60/9/7, A-1190  Vienna/Austria/Europe

0
 
LVL 1

Accepted Solution

by:
ygolan earned 100 total points
ID: 1335936
Actually I think you can use the .LIB, but you'll need to go through C - write a simple DLL wrapper around the .LIB that exports its functions as regular DLL functions, and call the DLL functions from your Delphi application.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now