Re: encryption in field name portion of URL

From: Date: Thu, 01 Jun 2000 16:00:52 +0000
Subject: Re: encryption in field name portion of URL
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-831@lists.php.net to get a copy of this message
> if i have a url string with a password as a field name, how would I encrypt > it so that it cannot be read by the users, or accessed by anyone else who > may find the site via auto history? You don't... ;-) More secure ways of doing this are HTTP Authentication and/or Sessions. If you're running PHP as a module under Apache then you can use PHP to authenticate against a variety of sources including a database - for more info read the following tutorial on the Zend website: <http://www.zend.com/zend/tut/authentication.php> If you're also planning to carry a large number of variables from page to page as the user browses the site then I suggest looking into using Sessions - it'll make your life a lot easier. For more info: <http://www.zend.com/zend/tut/session.php> Andrew

« previous php.general (#831) next »