Re: [PHP] 1984 (Big Brother)

2010-09-19 Thread tedd
At 12:03 PM -0400 9/18/10, chris h wrote: But Tedd, I'm still thinking that a "dead man's switch" is the way to go. :) Chris et al: I think the method I'll recommend to the client is to have the entire office tied to his computer. When it's on, everything is up and when it's off, everythi

Re: [PHP] 1984 (Big Brother)

2010-09-18 Thread chris h
So whenever the boss is in a meeting and his screen saver kicks on then the business shuts down. Also I think we've established that thumbdrive + database = disaster. Maybe a thumbdrive that has file with some random hash. Then create a cron that checks for the existence of that file each minute

Re: [PHP] 1984 (Big Brother)

2010-09-18 Thread TR Shaw
If you mean "not logoff properly" as, for instance, getting up and leaving his office for the day without logging off you can run a script when the machine "sleeps" or the screen saver runs and runs again when the machine transitions back to run. If your talking about powering off, same scripti

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 wr

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 l

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 wrote: > Ooooh, how about a pressure sensor on his seat??? Like the ones they have in > cars to make that little airbag light illumin

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 wrote: > On 12/09/10 17:32, tedd wrote: > >> Hi gang: >> >> I have a client who wants hi

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 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-14 Thread Nathan Rixham
Daniel Brown wrote: On Mon, Sep 13, 2010 at 19:47, Micky Hulse 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 cheaper to

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, th

Re: [PHP] 1984 (Big Brother)

2010-09-13 Thread viraj
On Tue, Sep 14, 2010 at 12:25 PM, viraj 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 interface hardware a

Re: [PHP] 1984 (Big Brother)

2010-09-13 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-13 Thread Andy McKenzie
On Mon, Sep 13, 2010 at 8:11 PM, Micky Hulse wrote: > On Mon, Sep 13, 2010 at 5:05 PM, Daniel Brown 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

Re: [PHP] 1984 (Big Brother)

2010-09-13 Thread Micky Hulse
On Mon, Sep 13, 2010 at 5:05 PM, Daniel Brown 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 throttle and

Re: [PHP] 1984 (Big Brother)

2010-09-13 Thread Daniel Brown
On Mon, Sep 13, 2010 at 19:47, Micky Hulse 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 cheaper to employ the s

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

2010-09-13 Thread Phpster
On Sep 13, 2010, at 17:49, Tim Thorburn 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 work (and

Re: [PHP] 1984 (Big Brother)

2010-09-13 Thread Micky Hulse
On Mon, Sep 13, 2010 at 2:43 PM, chris h 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 out of the office

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 m

[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, Richa

Re: [PHP] 1984 (Big Brother)

2010-09-13 Thread chris h
On Mon, Sep 13, 2010 at 5:09 PM, Daevid Vincent 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) > > > >

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 > b

Re: [PHP] 1984 (Big Brother)

2010-09-13 Thread Paul M Foster
On Mon, Sep 13, 2010 at 12:47:24PM -0400, tedd wrote: > 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. Fost

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 some

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 t

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 'm

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 pro

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 *

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: "

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 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 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 17:3

Re: [PHP] 1984 (Big Brother)

2010-09-13 Thread Richard Quadling
On 12 September 2010 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 busin

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 out

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 > canno

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: > > 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,

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 whe

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 wo

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 opportuni

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 fash

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 ac

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 thi

[PHP] 1984 (Big Brother)

2010-09-12 Thread tedd
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 includin