Received: from webster.conprojan.com.au (raw130515-1.gw.connect.com.au [202.21.11.98]) by mail.postgresql.org (8.11.1/8.11.1) with SMTP id f2DMNrx02050 for ; Tue, 13 Mar 2001 17:23:53 -0500 (EST) (envelope-from grant@conprojan.com.au) Received: (qmail 19238 invoked by uid 523); 13 Mar 2001 22:23:26 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 13 Mar 2001 22:23:26 -0000 Date: Wed, 14 Mar 2001 08:23:26 +1000 (EST) From: Grant To: Paul Joseph McGee cc: pgsql-php@postgresql.org Subject: Re: Secure pages In-Reply-To: <200103131720.RAA17357@student.cs.ucc.ie> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200103/15 X-Sequence-Number: 199 > Hi everybody, > i have a user login authentication sysytem on my machine here where users > may view pages but to do other things the user must login. the login > scripts seem to work ok and are based on a "Secure Authentication System" > from www.phpbuilder.com. Basically the page where i want people to arrive > at upon logging in is at present viewable by anyone who puts the proper > url into their browser. how do i keep this and other pages secure from > people who havent logged in? > Thanks, > Paul Create a session. If (!(isset($session))) then redirect to login.php or your authentication file.