?
Solved

Netscape Web Server and Delphi CGI

Posted on 1997-05-05
2
Medium Priority
?
218 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 300 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses

864 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