A WorkLife FrameWork Blog


About A WorkLife FrameWork | Purchase

Security Tools

Posted on: Sunday, March 2, 2008 at 08:01 PM UT  Notebook Version

When creating a general system in Mathematica like A WorkLife FrameWork (http://scientificarts.com/worklife) I often need to process multiple notebooks to gather data from those notebooks to distill and present to the user. Often I open these notebooks with the option Visible→False so that the user doesn't see them opening and closing as the processing takes place.  But if those notebooks have dynamic content in them then, each time they are opened (even if invisible), a dialog will open asking if the user gives permission for dynamic content to be evaluated.  This is a very good feature--it is key to security in a system that allows automatic evaluation of dynamic content that can access the operating system.  Mathematica allows you to mark a directory as "Trusted" and, if so marked, opening notebooks from a trusted directory will not prompt the permission dialog.

The interface in Mathematica for adding a new directory to the list of trusted directories is not very user friendly at the moment (it involves knowing how to edit FrontEnd`FileName expressions) and so I have created a function that does this in a way that is more intuitive in that it simply prompts you to select a directory from the standard file system Open dialog.

In fact, in A WorkLife FrameWork, there are a very large number of features that make underlying functionality of Mathematica much more useful; hence the tagline for the product: "Extending Mathematica's Reach..."  You can download the fully functional trial version of A WorkLife FrameWork from http://scientificarts.com/worklife/trial.html

Here is the code that defines a function AddTrustedPath that presents the more useful interface to taking this action (note that, as it should, it still opens a dialog at the end that will ask for confirmation that you do indeed want to add the directory that you choose).  A set of functions like this (also ones for adding un-trusted paths, for example) are currently in the Development version of A WorkLife FrameWork:



I hope that this is useful to folks!  Just remember that there are a huge number of things like this in A WorkLife FrameWork and more in development...  Give it a try: http://scientificarts.com/worklife/trial.html

Permalink | Notebook Version | Comments | Send Comment...

Recent Posts

Blogged From
WorkLife FrameWork

RSS Feed

8/4, 2009; 8:53 PM:
Documenting Screencast
11/19, 2008; 11:28 AM:
Mathematica 7 and A WorkLife FrameWork 3.0
11/17, 2008; 3:51 PM:
A Notebook Tagging Tutorial
4/18, 2008; 3:41 PM:
The Mathematica Documentation Center
3/2, 2008; 4:01 PM:
Security Tools
12/10, 2007; 12:26 AM:
December Discount
10/1, 2007; 11:09 PM:
Creating a new Stylesheet: an exercise in refinement
7/28, 2007; 3:04 PM:
Where is WorkLife Going? And why was version 2.0 ready when Mathematica 6 was released?
7/17, 2007; 10:28 PM:
A Practical Matter: Restarting WorkLife
7/10, 2007; 11:12 PM:
Almost nothing to do with A WorkLife FrameWork, but time will tell...
6/28, 2007; 1:01 PM:
A WorkLife FrameWork: It is Many Applications...
6/19, 2007; 10:59 AM:
A New Screencast: Getting Started
6/15, 2007; 10:33 AM:
Notebook History comment...
6/10, 2007; 10:07 PM:
Nonlinear Work Habits and Tagging
6/10, 2007; 6:29 PM:
A Palette for Standard Packages
6/9, 2007; 11:19 AM:
A discussion
6/3, 2007; 10:03 PM:
A MathGroup Posting
5/28, 2007; 9:33 PM:
A WorkLife FrameWork is now compatible with version 6 of Mathematica
5/22, 2007; 9:36 PM:
Email Analysis Tools
5/22, 2007; 9:27 AM:
The Palettes Menu
5/20, 2007; 11:14 PM:
Soon, very soon...
5/3, 2007; 11:09 AM:
Mathematica 6 Released: A WorkLife FrameWork 2.0 to follow very soon...
3/21, 2007; 1:50 PM:
A WorkLife FrameWork mention on MacinTouch
2/22, 2007; 1:40 PM:
More screencasts...
2/19, 2007; 12:42 AM:
New Screencasts
12/30, 2006; 7:51 PM:
Organizational Choices
11/26, 2006; 10:54 PM:
Updated Version of A WorkLife FrameWork.
11/10, 2006; 12:30 AM:
A quote and a testimonial...
11/6, 2006; 2:09 PM:
Version 1.1 on its way
10/31, 2006; 3:32 PM:
Another blog mention of A WorkLife FrameWork
10/23, 2006; 10:54 AM:
Finding A Diary or Notebook
10/10, 2006; 9:45 PM:
At the Wolfram Technology Conference
10/8, 2006; 11:35 AM:
The Wolfram Technology Conference
9/27, 2006; 10:51 AM:
Menu Items on Custom Palettes
9/21, 2006; 10:50 AM:
A Tip: Multiple disks or partitions
9/20, 2006; 3:57 PM:
A bit of Blogosphere notice
9/18, 2006; 9:24 PM:
Opening a set of files
9/14, 2006; 11:25 PM:
An Email Trick--slightly advanced
9/14, 2006; 11:08 PM:
The most current version...
9/11, 2006; 1:00 PM:
Finally Released!


Mathematica Google Group
Scientific Arts

All material on this website Copyright © 2005-2009, Scientific Arts, LLC.