|
Posted by Good Man on 05/14/07 21:56
Good Man <heyho@letsgo.com> wrote in
news:Xns9930B5E3AE347sonicyouth@216.196.97.131:
> 3) A user *must* be logged in to retrieve the file. If you go with
> the file/directory renaming route, your user can bookmark the link to
> the secret PDF and pass it on to whomever they wish. With my proposed
> system, "streamFile.php" checks to see if the user is logged in before
> allowing the file to stream, and for users who aren't on your system -
> well, they can't download the file at all.
I should mention that the code for "streamFile.php" that I posted had the
"is the user logged in?" test removed for brevity :)
Navigation:
[Reply to this message]
|