Solved

Netscape Web Server and Delphi CGI

Posted on 1997-05-05
2
182 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
indy tidtcpclient threading issue 8 63
Internet Explorer View Settings Question 15 106
HTML text in the body of an email (delphi code) 12 96
LAN or WAN ? 11 82
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

920 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

16 Experts available now in Live!

Get 1:1 Help Now