I would like to have a way to password protect the internet at my business computers. I have done a bit of research and can't really find a good solutions. I have looked into applescript and after a whole 4 hours of self-training, came up with the following:
if text returned of (display dialog "Admin Only. Enter Safari password:" default answer "" buttons "OK" default button 1) is "password" then
tell application "Safari"
activate
end tell
end if
The problem here is the multiple icons on the desktop. My employees will eventually get savvy and notice that they can add safari to the dock or desktop.
I tried masking the icon by changing the name of safari.app and calling the script app "Safari". I also changed the script icon to match Safari. Now I have two icons and i figure that after a while they'll notice this and access safari direct.
Unless there is a different solution you know, is there I way I can get around this?
I was wondering if there was a way to make the script app, have it rename and bring up safari, delete itself from the dock, then when safari quits, or the mac is restarted, have the script return itself to the dock?
Maybe I am making this to complicated. Wadda ya think?
The Cool One
You people Rock.
if text returned of (display dialog "Admin Only. Enter Safari password:" default answer "" buttons "OK" default button 1) is "password" then
tell application "Safari"
activate
end tell
end if
The problem here is the multiple icons on the desktop. My employees will eventually get savvy and notice that they can add safari to the dock or desktop.
I tried masking the icon by changing the name of safari.app and calling the script app "Safari". I also changed the script icon to match Safari. Now I have two icons and i figure that after a while they'll notice this and access safari direct.
Unless there is a different solution you know, is there I way I can get around this?
I was wondering if there was a way to make the script app, have it rename and bring up safari, delete itself from the dock, then when safari quits, or the mac is restarted, have the script return itself to the dock?
Maybe I am making this to complicated. Wadda ya think?
The Cool One
You people Rock.