Re: 1984 (Big Brother)
| From: | Per Jessen | Date: | Sun, 12 Sep 2010 16:50:25 +0000 |
| Subject: | Re: 1984 (Big Brother) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-307981@lists.php.net to get a copy of this message | ||
tedd wrote:
> Hi gang:
>
> I have a client who wants his employees' access to their online
> business database restricted to only times when he is logged on.
> (Don't ask why)
>
> In other words, when the boss is not logged on, then his employees
> cannot access the business database in any fashion whatsoever
> including checking to see if the boss is logged on, or not. No access
> whatsoever!
>
> Normally, I would just set up a field in the database and have that
> set to "yes" or "no" as to if the employees could access the
> database, or not. But in this case, the boss does not want even that
> type of access to the database permitted. Repeat -- No access
> whatsoever!
>
> I was thinking of the boss' script writing to a file that
> accomplished the "yes" or "no" thing, but if the boss did not log off
> properly then the file would remain in the "yes" state allowing
> employees undesired access. That would not be acceptable.
>
> So, what methods would you suggest?
I would ask the boss to confirm his presence maybe once an hour and only
allow employees access when the last such confirmation is less than an
hour old.
--
Per Jessen, Zürich (21.4°C)