Re: Concern for storage of payment gateway key

From: Todd Knarr (tknarr_at_silverglass.org)
Date: 07/22/04


Date: Thu, 22 Jul 2004 06:44:40 GMT

In comp.security.unix <CtydnaYQP4NITmPdRVn-rg@comcast.com> Bryon Bean <bryon_bean@msn.com> wrote:
> nobody-like user. My confusion is this; even if the file sits encrypted on
> another server, the passphrase to decrypt the file, and the login access to
> another server must still reside in the perl script that requires the key
> information. Can someone please give me a clue about best practices (and

I think your confusion is due to an error in what the CGI script requires.
It doesn't need to know the key contained in the file, it needs to know
whether the password given by the user matches what's stored in the file.
The usual method is to send either the password or a one-way hash of the
password from the CGI script to the other (authentication) server. The
authentication server then checks whether what the CGI script sent
matches the contents of the file and sends back a yes/no answer to the
CGI script. The authentication server needs read access to the file
containing the key, but the CGI script only needs the ability to make
a network connection to the authentication server.

-- 
All I want out of the Universe is 10 minutes with the source code and
a quick recompile.
                                -- unknown


Relevant Pages

  • Re: IIS Config Help - This is a hard one - Migration from Linux to Win2K
    ... Migrate Apache Settings and Configure IIS in a UNIX-to-Windows ... > I am migrating a website from a Linux server to a Win2k server. ... > to a CGI script. ... > pop-up the binary data in a new browser page. ...
    (microsoft.public.inetserver.iis.security)
  • Re: Ho can I get output of a command in web page?
    ... Do I need to write a cgi script for this, or can a simple SSI be made to work? ... I did think of an automated procedure which was less inclined to error, which was a startup script that wrote the warning about being on the wrong server if it was not the main server. ... I was initially dismissing that as too much work, ... I've not tried the bit to write the data based on the hostname, but the following puts the hostname into an environment variable and prints it. ...
    (uk.net.web.authoring)
  • Re: CGIHTTPServer threading problems
    ... print "XBOX Server started on port %s. ... The browser that requests on the cgi script tends ... I checked multi-threaded cgi ...
    (comp.lang.python)
  • Re: Fork / Disconnect question
    ... My variables are sent via an html forum to a cgi script. ... i need to have the multiple processes initiate within the cgi script ... >> Once the spawn process to the server is complete, ... >> I would like to know if i can use fork and disconnect to start the ...
    (comp.lang.tcl)
  • Re: RRAS Error message 930
    ... The authentication server did not respond to authentication ... requests in a timely fashion. ... > requests in a timely fashion. ...
    (microsoft.public.win2000.ras_routing)