I had a customer that wanted to give out the rights to do admin on staff but not customization rights. By default if you give a user Sys Admin rights they can access customization via double clicking on the Nav Bar. To remove this feature you need to remove the following code from the options.asp file located in the Magic Enterprise directory:
{
if ((window.event.srcElement.tagName == "LABEL") || (window.event.srcElement.tagName == "IMG")) return
var adminusr = "
[Macro error: Can't compile this script because of a syntax error.
]
"
// if login is SA or GA only then open the customization wizard
if ((adminusr == 2) || (adminusr == 3))
OpenWizard()
}
document.ondblclick=OpenCustWiz_Ondblclick;
Please backup the existing options.asp file and replace the modified one should you run into any issues.
Note that by changing Magic ASP code you are potentially putting you installation of Magic into an "unsupported" status with NAI support. Please make sure you understand this prior to implementing the change to the asp code and while working with support.
How can I back up the Microsoft IIS metabase in Windows 2000 and
later?
A. IIS configuration information resides in a metabase that consists
of an XML document. If you're hosting several Web sites that have
separate configurations, backing up the metabase is vital. To back up
the IIS metabase, perform the following steps:
1. Start the Microsoft Management Console (MMC) Internet
Information Services (IIS) snap-in (go to Start, Programs,
Administrative Tools, then click Internet Information Services
Manager).
2. Right-click the name of the machine that hosts the IIS services,
then select Backup/Restore Configuration from the All Tasks menu.
3. Click Create Backup.
4. Enter a name for the backup.
5. Optionally select the "Encrypt backup using password" check box
and enter a password to protect the backup.
6. Click OK.
7. Click Close on the main Backup/Restore Configuration window.
The OS will create a metabase backup in the
%windir%system32inetsrvmetaback folder. The backup consists of two
files: "name of backup".MDx and "name of backup".SCx. You should
ensure that you back up this folder as part of your routine system
backups. The .MDx file contains the actual metabase information, and
the .SCx file contains the schema. In both cases, "x" is the version
of the backup.
--------------------
Q. How can I restore the Microsoft IIS metabase backup in Windows 2000
and later?
A. You should be aware that you can't restore an IIS metabase backup
from another computer; however, Microsoft provides utilities for
copying IIS configuration information between machines. To restore an
IIS metabase backup, perform the following steps:
1. Start the Microsoft Management Console (MMC) Internet
Information Services (IIS) snap-in (go to Start, Programs,
Administrative Tools, then click Internet Information Services
Manager).
2. Right-click the name of the machine that hosts the IIS services,
then select Backup/Restore Configuration from the All Tasks menu.
3. Select the backup you want to restore, then click Restore.
4. When the system asks whether you're sure that you want to
continue, click Yes.
5. If the backup is password protected, you'll need to enter the
password.
6. After the backup restoration is finished, click OK to close the
confirmation window.
--------------------
Q. How can I back up the Microsoft IIS metabase from the command line
in Windows 2000 and later?
A. Win2K includes a Visual Basic (VB) script called metaback.vbs for
performing a command-line backup of the IIS metabase. The script
resides in the inetpubiissamplessdkadmin folder. To run the
script, open a command prompt and type
cscript metaback.vbs
where "backup name" is the name of the backup file you want to create.
Windows Server 2003 includes a VB script called iisback.vbs that
resides in the system32 folder for performing a command-line backup of
the IIS metabase. To run the script, open a command prompt and type
cscript iisback.vbs /backup /b
The /b switch specifies the backup name. Type
cscript /iisback.vbs /backup /?
to see other available options (e.g., automatic versioning) for the
iisback.vbs script.