From owner-freebsd-questions Wed Sep 22 8:52:18 1999 Delivered-To: freebsd-questions@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 775E114D6A for ; Wed, 22 Sep 1999 08:52:17 -0700 (PDT) (envelope-from bright@wintelcom.net) Received: from localhost (bright@localhost) by fw.wintelcom.net (8.9.3/8.9.3) with ESMTP id JAA17025; Wed, 22 Sep 1999 09:07:19 -0700 (PDT) Date: Wed, 22 Sep 1999 09:07:19 -0700 (PDT) From: Alfred Perlstein To: Bogdan Paduraru Cc: freebsd-questions@FreeBSD.ORG Subject: Re: password question In-Reply-To: <000801bf04ac$789db270$c7e066c2@petar.ro> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 22 Sep 1999, Bogdan Paduraru wrote: > Hello, > I work for an ISP and I want to make a logger programm for our user. > I'm programming a CGI code and in the page that use it the end-user has to input his name and password of his Internet account. > I keep their names and encrypted passwords in a file on the server. > You know the programm will receive as input user's name and password. I have one question : if the programm is runned on the freeBSD and knowing the password box is declared as password in the HTML form, the O.S. will encrypte automatically the password(or the HTTP server Apache will do that?)? If not how can I encrypte it in a C/C++ code? man crypt. btw, someone answered your question yesterday with a detailed explanation and some sample code. Do a search, it was quite a good explanation. -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message