Link to home
Start Free TrialLog in
Avatar of dougie050597
dougie050597

asked on

Netscape Web Server and Delphi CGI

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?
Avatar of buemoh
buemoh

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

ASKER CERTIFIED SOLUTION
Avatar of ygolan
ygolan

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial