Posted by J.O. Aho on 01/20/08 20:25
Mike wrote:
> "Jerry Stuckle" <jstucklex@attglobal.net> wrote in message
>> You can't. If a page doesn't check to see if the user is logged in, there
>> is no way you can prevent someone from directly linking to that page.
>
> Is there not a way to somehow restrict by folder. i.e. sessions which are
> related to the folder and not the files within?
You can use server side auth, without the proper username/password you can't
access anything in the directory. How this is done depends on the web server
program used and by the settings the web server uses. As this is done on the
web server and not in php, the question is better asked at a newsgroup
dedicated to your web server.
--
//Aho
Navigation:
[Reply to this message]
|