Need Hardening Help

Ned Konz ned at squeakland.org
Sun Dec 14 17:15:28 UTC 2003


On Sunday 14 December 2003 8:25 am, Ned Konz wrote:
> On Friday 12 December 2003 8:05 pm, Jim Rosenberg wrote:
> > The description on the Swiki page with URL above *sounds like* the
> > Preferences disableProgrammerFacilities procedure will do exactly what I
> > need. Is there any trick to getting this to work?
>
> Have you tried my Lockdown package?
>
> I believe that this does what you want.

More details:
http://map1.squeakfoundation.org/sm/packagebyname/lockdown
http://www.bike-nomad.com/squeak/SqueakLockdown-nk.1.cs.gz

This change set makes it easier to lock down an image for application 
delivery.

By executing:
	Preferences disableProgrammerFacilities
from your personalized World menu and saving the locked image under a new 
name, the following features are disabled:

* Halos
* Meta and Debug menus
* Command keys in world
* Command-dot interrupts
* Debuggers (though notifiers will still come up)
* World menu (from mouse or key)
* Command keys other than editing & cursor in text
* Reading scripts/projects at startup.

The yellow-button menus in text panes will still come up.
It is assumed that text panes in your app will have their own
yellow-button menus.

Two existing preferences have been made available in the Preferences tool:
cmdKeysInText		-- enables the use of many cmd (or alt) keys in text editors
cmdGesturesEnabled	-- enables halos, debug menus, etc.

Another two new preferences have been added:
appendToErrorLog 	-- appends to the error log rather than replacing it
noDebugButton 		-- suppress the ability to open a debugger from a notifier

You can add this to your personalized World menu:
	aMenu add: 'disable pgrmr' target: Preferences action: 
#disableProgrammerFacilities.

Or you can add:
	Preferences disableProgrammerFacilities 

to your do... menu list.



More information about the Squeak-dev mailing list