Re: [PHP] 1984 (Big Brother)

2010-09-17 Thread TR Shaw
I guess I need to chime in. Besides the fact that his is a moron - the customer is always right - at least as long as he is paying OK simplest way to handle this is: 1) Set the_db ownership and permissions to chown theboss:employees the_db chmod 0700 the_db 2) Attach a script to his

Re: [PHP] 1984 (Big Brother)

2010-09-17 Thread viraj
Remind him that he must logout normally to lock the DB if you follow the thread closely, this is a requirement. boss may not logout properly :) that's why all suggest a mechanical ways for the job. pressure sensors, cameras etc etc ~viraj On Sep 12, 2010, at 12:37 PM, Joshua Kehn wrote:

Re: [PHP] 1984 (Big Brother)

2010-09-15 Thread Marc Guay
if(file_exists('boss_man_say_okay') ){ // let monkeys work } Is there an acronym for the sound of sad, knowing laughter? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] 1984 (Big Brother)

2010-09-15 Thread Yousif Masoud
On 12/09/10 17:32, 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

Re: [PHP] 1984 (Big Brother)

2010-09-15 Thread Matty Sarro
Ooooh, how about a pressure sensor on his seat??? Like the ones they have in cars to make that little airbag light illuminate. if buttDetected{ allowAccess(); } On Wed, Sep 15, 2010 at 7:00 PM, Yousif Masoud yousif.mas...@gmail.comwrote: On 12/09/10 17:32, tedd wrote: Hi gang: I have a

Re: [PHP] 1984 (Big Brother)

2010-09-15 Thread Phpster
Next we'll be suggesting sharks with frikking laser attached to their heads to guard the door! Bastien Sent from my iPod On Sep 15, 2010, at 19:53, Matty Sarro msa...@gmail.com wrote: Ooooh, how about a pressure sensor on his seat??? Like the ones they have in cars to make that little

Re: [PHP] 1984 (Big Brother)

2010-09-14 Thread viraj
got another idea.. setup the database on a machine which can detect the availability of the boss. if the boss machine is on.. and connected to network.. the script will try to verify the availability of the bosses's ip and interface hardware address. (if the boss change the nic or machine, mac has

Re: [PHP] 1984 (Big Brother)

2010-09-14 Thread viraj
On Tue, Sep 14, 2010 at 12:25 PM, viraj kali...@gmail.com wrote: got another idea.. setup the database on a machine which can detect the availability of the boss. if the boss machine is on.. and connected to network.. the script will try to verify the availability of the bosses's ip and

Re: [PHP] 1984 (Big Brother)

2010-09-14 Thread tedd
At 8:05 PM -0400 9/13/10, Daniel Brown wrote: The boss stands up, his entire infrastructure collapses, everyone's connections are closed, and all PCs subsequently catch fire. LOL Sounds good to me. After that happens a couple of times, maybe things will change. If it's the private sector,

Re: [PHP] 1984 (Big Brother)

2010-09-14 Thread Nathan Rixham
Daniel Brown wrote: On Mon, Sep 13, 2010 at 19:47, Micky Hulse mickyhulse.li...@gmail.com wrote: Motion sensing camera connected to a mechanical pointer stick aimed to trigger the server power button. On his way out of the office: Clap on/clap off Clapper connected to computer power cable.

Re: [PHP] 1984 (Big Brother)

2010-09-13 Thread kranthi
i m not sure if i usderstood your question completely. by database you mean something like phpmyadmin, right ? i would save the latest session id of the boss in a file, and every time an employee tries to log in, verify the time stamp of the session file in the tmp folder. and if the boss logs

Re: [PHP] 1984 (Big Brother)

2010-09-13 Thread Richard Quadling
On 12 September 2010 17:32, tedd t...@sperling.com 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

Re: [PHP] 1984 (Big Brother)

2010-09-13 Thread Steve Staples
here's a silly idea... put the database on his computer (or the entire app). that way, when he's *there* he is logged in. if the computer is off, he's not there, the app wont work (and the database). Steve On Mon, 2010-09-13 at 11:26 +0100, Richard Quadling wrote: On 12 September 2010

Re: [PHP] 1984 (Big Brother)

2010-09-13 Thread Ashley Sheridan
On Mon, 2010-09-13 at 09:10 -0400, Steve Staples wrote: here's a silly idea... put the database on his computer (or the entire app). that way, when he's *there* he is logged in. if the computer is off, he's not there, the app wont work (and the database). Steve On Mon,

Re: [PHP] 1984 (Big Brother)

2010-09-13 Thread tedd
At 9:10 AM -0400 9/13/10, Steve Staples wrote: here's a silly idea... put the database on his computer (or the entire app). that way, when he's *there* he is logged in. if the computer is off, he's not there, the app wont work (and the database). Steve Silly or not, that *would* work. Now

Re: [PHP] 1984 (Big Brother)

2010-09-13 Thread tedd
At 11:55 PM -0400 9/12/10, Paul M Foster wrote: I hate to seem flippant, but here would be my conversation with this customer: Customer: My employees got access to the database while I was gone yesterday! Consultant: Well, let's see. Oh, it appears you didn't properly log out. Customer: Yes,

RE: [PHP] 1984 (Big Brother)

2010-09-13 Thread Bob McConnell
From: tedd At 9:10 AM -0400 9/13/10, Steve Staples wrote: here's a silly idea... put the database on his computer (or the entire app). that way, when he's *there* he is logged in. if the computer is off, he's not there, the app wont work (and the database). Silly or not, that *would* work.

RE: [PHP] 1984 (Big Brother)

2010-09-13 Thread Bob McConnell
From: tedd At 11:55 PM -0400 9/12/10, Paul M Foster wrote: I hate to seem flippant, but here would be my conversation with this customer: Customer: My employees got access to the database while I was gone yesterday! Consultant: Well, let's see. Oh, it appears you didn't properly log out.

Re: [PHP] 1984 (Big Brother)

2010-09-13 Thread viraj
hi tedd, if steve's idea is something doable.. why don't you consider setting up the mysql data dir on some removable media (thumb/flash drive)? so the boss can pull it off if he is going home. and it's easy to detect this in code and display a message to system users, something similar to that

Re: [PHP] 1984 (Big Brother)

2010-09-13 Thread Marc Guay
if steve's idea is something doable.. why don't you consider setting up the mysql data dir on some removable media (thumb/flash drive)? It seems to me that almost no matter what method you choose, you're going to have to ask the client to do something manually - whether that's logging out of

Re: [PHP] 1984 (Big Brother)

2010-09-13 Thread tedd
At 12:39 PM -0400 9/13/10, Marc Guay wrote: if steve's idea is something doable.. why don't you consider setting up the mysql data dir on some removable media (thumb/flash drive)? It seems to me that almost no matter what method you choose, you're going to have to ask the client to do

Re: [PHP] 1984 (Big Brother)

2010-09-13 Thread Paul M Foster
On Mon, Sep 13, 2010 at 12:47:24PM -0400, tedd wrote: snip When I get rich enough to hire myself, then I'll tell myself what to do. Until then, I'm just a worker bee and follow the hive. Oh, heck, you don't have to wait that long. We'll tell you what to do for *free*! ;-} Paul -- Paul M.

RE: [PHP] 1984 (Big Brother)

2010-09-13 Thread Daevid Vincent
-Original Message- From: tedd [mailto:t...@sperling.com] Sent: Sunday, September 12, 2010 9:32 AM To: PHP-General list Subject: [PHP] 1984 (Big Brother) Hi gang: I have a client who wants his employees' access to their online business database restricted to only times when

Re: [PHP] 1984 (Big Brother)

2010-09-13 Thread chris h
On Mon, Sep 13, 2010 at 5:09 PM, Daevid Vincent dae...@daevid.com wrote: -Original Message- From: tedd [mailto:t...@sperling.com] Sent: Sunday, September 12, 2010 9:32 AM To: PHP-General list Subject: [PHP] 1984 (Big Brother) Hi gang: I have a client who wants his

[PHP] Re: [!! SPAM] Re: [PHP] 1984 (Big Brother)

2010-09-13 Thread Tim Thorburn
On 9/13/2010 9:10 AM, Steve Staples wrote: here's a silly idea... put the database on his computer (or the entire app). that way, when he's *there* he is logged in. if the computer is off, he's not there, the app wont work (and the database). Steve On Mon, 2010-09-13 at 11:26 +0100,

Re: [PHP] 1984 (Big Brother)

2010-09-13 Thread Daevid Vincent
have been you'll have fun getting paid to re-do everything. Having everything require a usb stick to launch sounds secure, until he loses the stick or forgets it at home one day. For fun I'd suggest tagging ...or pulls it out before all the writes have taken place from the cache or

Re: [PHP] 1984 (Big Brother)

2010-09-13 Thread Micky Hulse
On Mon, Sep 13, 2010 at 2:43 PM, chris h chris...@gmail.com wrote: How would you like the system to be aware of rather or not you're in the office? On his way in to the office: Motion sensing camera connected to a mechanical pointer stick aimed to trigger the server power button. On his way

Re: [PHP] Re: [!! SPAM] Re: [PHP] 1984 (Big Brother)

2010-09-13 Thread Phpster
On Sep 13, 2010, at 17:49, Tim Thorburn immor...@nwconx.net wrote: On 9/13/2010 9:10 AM, Steve Staples wrote: here's a silly idea... put the database on his computer (or the entire app). that way, when he's *there* he is logged in. if the computer is off, he's not there, the app wont

Re: [PHP] 1984 (Big Brother)

2010-09-13 Thread Daniel Brown
On Mon, Sep 13, 2010 at 19:47, Micky Hulse mickyhulse.li...@gmail.com wrote: Motion sensing camera connected to a mechanical pointer stick aimed to trigger the server power button. On his way out of the office: Clap on/clap off Clapper connected to computer power cable. It would be

Re: [PHP] 1984 (Big Brother)

2010-09-13 Thread Micky Hulse
On Mon, Sep 13, 2010 at 5:05 PM, Daniel Brown danbr...@php.net wrote:    It would be cheaper to employ the same method used on some lawnmowers and required on Jet Skis and Skidoos: a cable with a clip worn by the rider.  The rider falls off, the cable releases from the vehicle, disengaging the

Re: [PHP] 1984 (Big Brother)

2010-09-13 Thread Andy McKenzie
On Mon, Sep 13, 2010 at 8:11 PM, Micky Hulse mickyhulse.li...@gmail.com wrote: On Mon, Sep 13, 2010 at 5:05 PM, Daniel Brown danbr...@php.net wrote:    It would be cheaper to employ the same method used on some lawnmowers and required on Jet Skis and Skidoos: a cable with a clip worn by the

Re: [PHP] 1984 (Big Brother)

2010-09-12 Thread Joshua Kehn
Tedd- Would he consider access to another database? I.e. a separate, say memcached db which stores the boss status? An issue with the temporary file would also be session length, if the session expires without the user explicitly logging off, the file wouldn't be removed. A way to bypass this

Re: [PHP] 1984 (Big Brother)

2010-09-12 Thread Ashley Sheridan
On Sun, 2010-09-12 at 12:32 -0400, 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

Re: [PHP] 1984 (Big Brother)

2010-09-12 Thread Per Jessen
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

Re: [PHP] 1984 (Big Brother)

2010-09-12 Thread Tamara Temple
Sounds like there are some security concerns here. On Sep 12, 2010, at 11:32 AM, tedd wrote: 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) I do wonder why, though. Perhaps this is an

Re: [PHP] 1984 (Big Brother)

2010-09-12 Thread tedd
At 4:05 PM -0500 9/12/10, Tamara Temple wrote: Sounds like there are some security concerns here. On Sep 12, 2010, at 11:32 AM, tedd wrote: 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) I do

Re: [PHP] 1984 (Big Brother)

2010-09-12 Thread Tamara Temple
On Sep 12, 2010, at 4:48 PM, tedd wrote: At 4:05 PM -0500 9/12/10, Tamara Temple wrote: Sounds like there are some security concerns here. On Sep 12, 2010, at 11:32 AM, tedd wrote: I have a client who wants his employees' access to their online business database restricted to only times

Re: [PHP] 1984 (Big Brother)

2010-09-12 Thread Paul M Foster
On Sun, Sep 12, 2010 at 06:07:57PM -0500, Tamara Temple wrote: snip I've been in business and technology consulting for years and years, and very successful at getting customer's desired outcomes. I don't think their notions strange or unusual -- just that without further elicitation, one

Re: [PHP] 1984 (Big Brother)

2010-09-12 Thread Paul M Foster
On Sun, Sep 12, 2010 at 12:32:21PM -0400, 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