Solved

Netscape Web Server and Delphi CGI

Posted on 1997-05-05
2
195 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

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…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

733 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