From: Grant <grant@conprojan.com.au>
To: Paul Joseph McGee <mcgee@student.cs.ucc.ie>
Cc: pgsql-php@postgresql.org
Subject: Re: Secure pages
Date: Wed, 14 Mar 2001 08:23:26 +1000 (EST)
Message-ID: <Pine.LNX.4.21.0103140821440.19081-100000@webster.conprojan.com.au> (raw)
In-Reply-To: <200103131720.RAA17357@student.cs.ucc.ie>
> 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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: grant@conprojan.com.au, mcgee@student.cs.ucc.ie
Subject: Re: Secure pages
In-Reply-To: <Pine.LNX.4.21.0103140821440.19081-100000@webster.conprojan.com.au>
References: <200103131720.RAA17357@student.cs.ucc.ie> <Pine.LNX.4.21.0103140821440.19081-100000@webster.conprojan.com.au>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox