![]() |
Show Changes |
![]() |
|
![]() |
Recent Changes |
![]() |
Subscriptions |
![]() |
Lost and Found |
![]() |
Find References |
![]() |
Rename |
| Search |
History
| 12/1/2006 10:07:00 PM |
| -67.180.130.220 |
| 11/4/2006 11:04:32 PM |
| -209.8.22.200 |
| 11/3/2005 9:39:19 PM |
| -65.100.167.186 |
| 1/27/2005 7:53:02 PM |
| kb-168.103.197.13 |
| 1/27/2005 7:51:49 PM |
| kb-168.103.197.13 |
![]() |
List all versions |
<html>
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
p
{margin-right:0in;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman";}
span.EmailStyle17
{font-family:Arial;
color:windowtext;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>Hi Keith,</span></font></p>
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>Three
years ago, I took a vow never to use an administrative account except when
really required by a particular task. Soon after the day I surrendered to the life
of a casual user, my wife calls me at the office and guarantees that she can no
longer consult the clock and calendar by double-clicking the time display in
the system shell tray. To test her claim (a rare instance indeed), I tried the
same thing on my machine at work where I also run as a mere user and Great
Scott! <a href="http://support.microsoft.com/default.aspx?scid=kb;en-us;300022">She
was right!</a> The following message popped on my screen:</span></font></p>
<p align=center style='text-align:center'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><img border=0 width=413 height=126
src="clock1.gif"></span></font></p>
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>Now you
could argue whether an analogue clock display is necessary or not, but what
about calendar? Without a full-blown <a
href="http://www.microsoft.com/office/outlook/">Microsoft Outlook</a> or
PIM application, there is no basic calendar display functionality in
Windows. This was one of those rare moments where I wish I had my Windows
3.x diskettes handy to fish out the good old Clock and Calendar
applications. Hey, <a
href="http://search.microsoft.com/gomsuri.asp?n=4&c=rp_Results&siteid=us/dev&target=http://www.microsoft.com/msj/0898/hood0898.aspx">16-bit
applications should still run thanks to WOW</a>, right? Incidentally Clock
used to still ship with Windows NT 4.0, but has been <a
href="http://support.microsoft.com/default.aspx?scid=kb;en-us;227762">dropped
from Windows 2000 onwards</a>. What's more, the <a
href="http://support.microsoft.com/default.aspx?scid=kb;en-us;159852">solution
to get calendaring functionality</a> is to use Microsoft Schedule+. Not cool.</span></font></p>
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>The
lesson here is that security can have all kinds of interesting impacts on the
user interface design. In this particular case, it would have been more
appropriate for the system to display the Date and Time applet from Control
Panel and only show the above message if the user attempted to change anything
by clicking the OK or Apply button. The fact that the user holds the <a
href="http://msdn.microsoft.com/library/en-us/security/security/authorization_constants.asp?frame=true#windows_nt_privilege_constants">SeSystemTimePrivilege</a>
<a
href="http://msdn.microsoft.com/library/en-us/security/security/privileges.asp">privilege</a> should
only be asserted if the user attempts to change the time-related information,
but not when merely wanting to view it (unless the latter is a breach of
security). Unfortunately, right now this problem continues to exist in <a
href="http://www.microsoft.com/windowsxp">Windows XP</a>.</span></font></p>
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>The <strong><b><font
face="Times New Roman">Network Connections</font></b></strong> area of Windows,
however, gets it right. That is, a user with a non-administrative can walk up
to <strong><b><font face="Times New Roman">Network Connection</font></b></strong>
in <strong><b><font face="Times New Roman">Control Panel</font></b></strong>,
select a connection such as for the LAN and consult its properties:</span></font></p>
<p align=center style='text-align:center'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><img border=0 width=367 height=450
src="clock2.gif"></span></font></p>
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>Notice
how the three buttons, <strong><b><font face="Times New Roman">Install</font></b></strong>,
<strong><b><font face="Times New Roman">Uninstall</font></b></strong> and <strong><b><font
face="Times New Roman">Properties</font></b></strong>, are disabled because the
user does not hold the right privileges to perform those actions. In fact,
prior to the above dialog box appearing, the user is even warned why some parts
of the user interface may appear disabled:</span></font></p>
<p align=center style='text-align:center'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><img border=0 width=629 height=126
src="clock3.gif"></span></font></p>
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>This is
definitely a more fine-grained and preferred approach than the one taken by the
<strong><b><font face="Times New Roman">Date and Time</font></b></strong>
applet. I would even go one step further and say that the above message box is probably
too loud. That is, rather than popping in the user's face each time, it would
even be better to just put a side note somewhere on the dialog box. In fact,
the <strong><b><font face="Times New Roman">System</font></b></strong> applet
in <strong><b><font face="Times New Roman">Control Panel</font></b></strong>
does this (see the note stating “Only Administrators can change the
identification of this computer.”
:</span></font></p>
<p align=center style='text-align:center'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><img border=0 width=410 height=468
src="clock4.gif"></span></font></p>
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>So
creating a user interface that takes into consideration the rights of a user in
a non-intrusive way probably requires a fair share of non-trivial code, but it
definitely gives a gentle and fine touch to the overall end-user experience (as
in the last example). Unless the operating system shell gets it right, the user
has less hope for applications. Windows slowly but surely seems to be heading
in the right direction as can be seen from the various examples that I've
demonstrated here. Meanwhile, I don’t know if you agree or now, but I think
that the <b><span style='font-weight:bold'>Date and Time</span></b> applet definitely
deserves a slot in the Security Hall of Shame. In fact, shame on all the
resolutions presented in the <a
href="http://support.microsoft.com/default.aspx?scid=kb;en-us;300022">MS KB
Article #300022</a>. Who’s trying to change date and time? My wife just
wanted to consult the calendar.</span></font></p>
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>- Atif</span></font></p>
</div>
</body>
</html>
This is KeithBrown's wiki. Visit the HomePage for more info. If you have any feedback, please contact Keith .
About FlexWiki.
Recent Topics