Program a dektop locker

Posted on 2004-11-11
Last Modified: 2013-12-26
I want to create a customized desktop that is able to :
-give access to only 3 applications (for e,g internet explorer, msn messenger...)
-Disable Mac Os x system shortcut key like ALT+ESC+COMMAND
-Launch automatically on startup and meanwhile the user cannot do anything (for e.g alter the startup by clicking ALT+ESC+COMMAND).
-The ideal thing is that when users login the customized Desktop is already there.

Thank you

Question by:bachra04
    LVL 23

    Expert Comment

    Most of this is already provided by the Simple Finder limited user configuration.

    Goto the "System Preferences -> Accounts" panel.  Select the users for whom
    you wish to limit capabilities. Click the "Limitations" tab and select the limited
    number of apps you will allow.  

    Simple Finder does not prevent the user from typing  ALT-CMD-ESC, however
    only the user's own limited apps appear in the list, so he can only force-quit
    apps that he could quit normally anyway.

    You can find more information on restricted kiosk setups here:

    Once you have restricted user access to only a few crappy Microsoft apps,
    be sure to tape over the Apple logo on the machine, since you don't want the
    users to be fooled into believing they getting any meaningful "Macintosh experience".
    LVL 2

    Author Comment


    That sounds good,

    but are u sure the user cannot delete anything on the machine or do something harmful ?

    LVL 23

    Expert Comment

    As long as the user does not belong to group wheel, or otherwise have Administrator
    (or superuser) privileges, he should not be able to do something harmful or delete
    anything he doesn't own [or have write permissions for].  Remember that Mac OS X
    is a relatively strong version of Unix - ordinary users do not have sufficient permissions
    to alter the system in significant ways.  

    LVL 2

    Author Comment

    All this is almost what I need,
    But I have an extra need and don,t know if it is possible.

    The idea is to launch an application on startup that users cannot force quit it
    This application displays a customized desktop
    To access to computer user must insert his PIN number
    The application takes care of verifying the PIN number and giving access to the user in the sense that he can use 3 or 4 other applications (like IE). the application continue to run in the background and at some circumstamces like for e.g 30 mn past it forces quit the user who should login again.
    My question is not how to do the application but is this possible ?
    i.e prevent the user from force quitting the application or do something else when the application is starting?
    LVL 23

    Accepted Solution

    You can do those with the SystemUIMode APIs for Kiosk operations:

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
    Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
    This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    9 Experts available now in Live!

    Get 1:1 Help Now