Home > My Lists > Programming Notes > HTML & CSS > The Mark Of The Web
Starting with IE for XP SP2, web pages generated locally (e.g. in a temp directory) do not load properly in Internet Explorer if they include Active Content
. This is a result of improved security surrounding the Local Machine Zone. Depending on your operating environment, it may not be possible or desirable to change IE’s security settings; moreover, such changes would have to be applied to all machines accessing local content. The “Mark of the Web” is a better solution.
Microsoft has implemented a new feature called the “Mark of the Web” (or MOTW for short). It is a specially-formated HTML comment that directs IE to open the page in the same security zone as the specified URL. Two valuable examples are:
<!-- saved from url=(0014)about:internet -->
<!-- saved from url=(0016)http://localhost -->
Under default security settings, IE is forced to open the page with the former code in the Internet Zone and a page with the latter code in the Local Intranet Zone. The number in parentheses is the number of characters in the URL.
Comments Off on The Mark Of The Web
Here are a few Windows keyboard shortcuts (also called “hotkeys”) that I find very useful. The well-known editing shortcuts have been omitted (e.g. CTRL+X to cut, etc.).
WINDOWS+D: Show Desktop
WINDOWS+L: Lock workstation
WINDOWS+E: Open Windows Explorer (My Computer)
CTRL+SHIFT+ESC: Task Manager
CTRL+ALT+DEL: Security Manager
CTRL+ESC: Start menu (same as WINDOWS key)
ALT+ENTER: Open properties menu
ALT+SPACE: Open system menu
SHIFT+F10: Open context menu (same as App key)
ALT+TAB: Switch apps using “CoolSwitch” dialogue box
ALT+ESC: Switch apps in order opened
WINDOWS+TAB: Navigate apps on taskbar
[Add SHIFT to any of these to reverse direction]
CTRL-F6: Switch docs (e.g. Excel books)
F6: Cycles screen elements
F10: Activates menu bar
[F6, F10 & ALT expose shortcuts in Office 2007]
Moving a Window Using the Keyboard
On various occasions, I’ve had to retrieve a window that was outside of the visible boundries of the desktop. This happened most recently at work, when I logged into a computer with only one monitor attached. At my desktop, the app usually opens by default on the second monitor. To solve this:
- ALT+TAB until the app is in focus.
- ALT+SPACE to activate the system menu.
- Type the ‘M’ botton for ‘Move’.
- Use the arrow keys to move the window around.
Comments Off on Windows Keyboard Shortcuts
Home > My Lists > Technical Notes > WinNT is WinNT is WinNT
Buried in my old e-mails are golden nuggets of geek nostalgia. One such nugget is a snippet of an O’Reilly article that was sent to me by a friend in October of 1998, published two years prior, revealing that the Differences Between NT Server and Workstation Are Minimal. This came at a time when I was a devout NT user who was becoming increasingly-curious about Linux. This may actually have been the straw that broke the camel’s back, giving me a reason to ditch Microsoft altogether.
In a nutshell, Microsoft claimed publically that the kernels of the two products shared a common “structure” and that different kernels were the result of decisions in the compilation process (i.e. ‘ifdef’ statements). In reality, the kernels were identical, as were all of the packaged libraries – only about 100 extra files were shipped with NT Server. All other differences hinged on registry entries.
The only registry entry change needed in NT 3.51 is to the “ProductType” key (“WinNT” for Workstation vs. “ServerNT” or “LanmanNT” for Server). NT 4.0 requires a second entry change to the “SystemPrefix” key, which holds a binary value in the high-order DWORD bit 0x04000000 (on for Server, off for Workstation). There was also a security mechanism added in NT 4.0 to prevent tampering with these entries, though it is reportedly possible to override them.
Microsoft attorney, David Heiner, is quoted in the article “Microsoft has every right to put conditions on how its software is used” and the author of the article agrees (as do I). The real issues are that Microsoft (a) blatantly lied to customers to (b) artificially inflate prices on the OS while (c) low-balling the price on its IIS webserver to (d) unfairly undercut the competition.
Ahhh, the good ol’ days!
Comments Off on WinNT is WinNT is WinNT