RE: This, then that.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At 1:31 PM -0700 10/19/07, Instruct ICC wrote:
 > I want to prohibit an image from being shown to anyone who is not
 permitted (i.e., logged in).

 The way I want to do this is to:

 > 1. Set [file] permissions...



What if 2 or more users access the application at the same time?

Set the permissions so only the PHP application can access it.
Have the PHP application decide if this present user running this instance should see the image.
If approved, display image.

That's exactly the way I have it.

I'm not sure as to why the permissions got out-of-sync and you were able to view the image.

Cheers,

tedd

--
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux