Bug 369296. Zen/Security issue. Created install options(64bit) to cache password and hook client.

This commit is contained in:
Jim Norman 2008-03-31 23:07:07 +00:00
parent 487efaec37
commit e9c094ab27
3 changed files with 273 additions and 5 deletions

View File

@ -64,10 +64,21 @@ namespace sscs.common
internal static void SetAllowDesktopAccess()
{
// create a reg key
Microsoft.Win32.RegistryKey key;
key = Microsoft.Win32.Registry.LocalMachine.CreateSubKey(CASA_REG_KEY);
key.SetValue("CacheDesktopPassword", 1, Microsoft.Win32.RegistryValueKind.DWord);
key.Close();
System.Diagnostics.Trace.WriteLine("CASA installer: SetAllowDesktopAccess start");
try
{
Microsoft.Win32.RegistryKey key;
key = Microsoft.Win32.Registry.LocalMachine.CreateSubKey(CASA_REG_KEY);
key.SetValue("CacheDesktopPassword", 1, Microsoft.Win32.RegistryValueKind.DWord);
key.Close();
}
catch (Exception e)
{
System.Diagnostics.Trace.WriteLine(e.ToString());
}
System.Diagnostics.Trace.WriteLine("CASA installer: SetAllowDesktopAccess done");
}
internal static void RemoveGlobalCASASettings()

View File

@ -418,9 +418,266 @@
}
}
}
"{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_1B756FD38C68454A9CCFBE6E77DE0AFA"
{
"Sequence" = "3:300"
"DisplayName" = "8:Checkboxes (A)"
"UseDynamicProperties" = "11:TRUE"
"IsDependency" = "11:FALSE"
"SourcePath" = "8:<VsdDialogDir>\\VsdCustomCheck1Dlg.wid"
"Properties"
{
"BannerBitmap"
{
"Name" = "8:BannerBitmap"
"DisplayName" = "8:#1001"
"Description" = "8:#1101"
"Type" = "3:8"
"ContextData" = "8:Bitmap"
"Attributes" = "3:4"
"Setting" = "3:2"
"Value" = "8:_B53ECB839EAB490C99E541111A3135C1"
"UsePlugInResources" = "11:TRUE"
}
"BannerText"
{
"Name" = "8:BannerText"
"DisplayName" = "8:#1014"
"Description" = "8:#1114"
"Type" = "3:3"
"ContextData" = "8:"
"Attributes" = "3:0"
"Setting" = "3:2"
"Value" = "8:Options"
"DefaultValue" = "8:#1214"
"UsePlugInResources" = "11:TRUE"
}
"BodyText"
{
"Name" = "8:BodyText"
"DisplayName" = "8:#1015"
"Description" = "8:#1115"
"Type" = "3:3"
"ContextData" = "8:"
"Attributes" = "3:0"
"Setting" = "3:2"
"Value" = "8:CASA can capture your username and password when you authenticate to Directory Services. Your credentials can then be used by other applications to authenticate. CASA uses your Desktop password to encrypt and store captured credentials."
"DefaultValue" = "8:#1215"
"UsePlugInResources" = "11:TRUE"
}
"Checkbox1Label"
{
"Name" = "8:Checkbox1Label"
"DisplayName" = "8:#1034"
"Description" = "8:#1134"
"Type" = "3:3"
"ContextData" = "8:"
"Attributes" = "3:0"
"Setting" = "3:2"
"Value" = "8:Capture my credentials when Netware Client is present"
"DefaultValue" = "8:#1234"
"UsePlugInResources" = "11:TRUE"
}
"Checkbox1Property"
{
"Name" = "8:Checkbox1Property"
"DisplayName" = "8:#1030"
"Description" = "8:#1130"
"Type" = "3:14"
"ContextData" = "8:Public"
"Attributes" = "3:2"
"Setting" = "3:2"
"Value" = "8:CAPTURECHECKBOX"
"DefaultValue" = "8:CHECKBOXA1"
"UsePlugInResources" = "11:TRUE"
}
"Checkbox1Value"
{
"Name" = "8:Checkbox1Value"
"DisplayName" = "8:#1038"
"Description" = "8:#1138"
"Type" = "3:2"
"ContextData" = "8:Unchecked=;Checked=1"
"Attributes" = "3:0"
"Setting" = "3:2"
"Value" = "8:"
"DefaultValue" = "8:"
"UsePlugInResources" = "11:TRUE"
}
"Checkbox1Visible"
{
"Name" = "8:Checkbox1Visible"
"DisplayName" = "8:#1026"
"Description" = "8:#1126"
"Type" = "3:5"
"ContextData" = "8:1;True=1;False=0"
"Attributes" = "3:0"
"Setting" = "3:0"
"Value" = "3:1"
"DefaultValue" = "3:1"
"UsePlugInResources" = "11:TRUE"
}
"Checkbox2Label"
{
"Name" = "8:Checkbox2Label"
"DisplayName" = "8:#1035"
"Description" = "8:#1135"
"Type" = "3:3"
"ContextData" = "8:"
"Attributes" = "3:0"
"Setting" = "3:2"
"Value" = "8:Allow applications to use my Desktop username and password to authenticate."
"DefaultValue" = "8:#1235"
"UsePlugInResources" = "11:TRUE"
}
"Checkbox2Property"
{
"Name" = "8:Checkbox2Property"
"DisplayName" = "8:#1031"
"Description" = "8:#1131"
"Type" = "3:14"
"ContextData" = "8:Public"
"Attributes" = "3:2"
"Setting" = "3:2"
"Value" = "8:ALLOWDESKTOPACCESS"
"DefaultValue" = "8:CHECKBOXA2"
"UsePlugInResources" = "11:TRUE"
}
"Checkbox2Value"
{
"Name" = "8:Checkbox2Value"
"DisplayName" = "8:#1039"
"Description" = "8:#1139"
"Type" = "3:2"
"ContextData" = "8:Unchecked=;Checked=1"
"Attributes" = "3:0"
"Setting" = "3:2"
"Value" = "8:"
"DefaultValue" = "8:"
"UsePlugInResources" = "11:TRUE"
}
"Checkbox2Visible"
{
"Name" = "8:Checkbox2Visible"
"DisplayName" = "8:#1027"
"Description" = "8:#1127"
"Type" = "3:5"
"ContextData" = "8:1;True=1;False=0"
"Attributes" = "3:0"
"Setting" = "3:0"
"Value" = "3:1"
"DefaultValue" = "3:1"
"UsePlugInResources" = "11:TRUE"
}
"Checkbox3Label"
{
"Name" = "8:Checkbox3Label"
"DisplayName" = "8:#1036"
"Description" = "8:#1136"
"Type" = "3:3"
"ContextData" = "8:"
"Attributes" = "3:0"
"Setting" = "3:1"
"Value" = "8:#1236"
"DefaultValue" = "8:#1236"
"UsePlugInResources" = "11:TRUE"
}
"Checkbox3Property"
{
"Name" = "8:Checkbox3Property"
"DisplayName" = "8:#1032"
"Description" = "8:#1132"
"Type" = "3:14"
"ContextData" = "8:Public"
"Attributes" = "3:2"
"Setting" = "3:2"
"Value" = "8:CHECKBOXA3"
"DefaultValue" = "8:CHECKBOXA3"
"UsePlugInResources" = "11:TRUE"
}
"Checkbox3Value"
{
"Name" = "8:Checkbox3Value"
"DisplayName" = "8:#1040"
"Description" = "8:#1140"
"Type" = "3:2"
"ContextData" = "8:Unchecked=;Checked=1"
"Attributes" = "3:0"
"Setting" = "3:2"
"Value" = "8:"
"DefaultValue" = "8:"
"UsePlugInResources" = "11:TRUE"
}
"Checkbox3Visible"
{
"Name" = "8:Checkbox3Visible"
"DisplayName" = "8:#1028"
"Description" = "8:#1128"
"Type" = "3:5"
"ContextData" = "8:1;True=1;False=0"
"Attributes" = "3:0"
"Setting" = "3:0"
"Value" = "3:0"
"DefaultValue" = "3:1"
"UsePlugInResources" = "11:TRUE"
}
"Checkbox4Label"
{
"Name" = "8:Checkbox4Label"
"DisplayName" = "8:#1037"
"Description" = "8:#1137"
"Type" = "3:3"
"ContextData" = "8:"
"Attributes" = "3:0"
"Setting" = "3:1"
"Value" = "8:#1237"
"DefaultValue" = "8:#1237"
"UsePlugInResources" = "11:TRUE"
}
"Checkbox4Property"
{
"Name" = "8:Checkbox4Property"
"DisplayName" = "8:#1033"
"Description" = "8:#1133"
"Type" = "3:14"
"ContextData" = "8:Public"
"Attributes" = "3:2"
"Setting" = "3:2"
"Value" = "8:CHECKBOXA4"
"DefaultValue" = "8:CHECKBOXA4"
"UsePlugInResources" = "11:TRUE"
}
"Checkbox4Value"
{
"Name" = "8:Checkbox4Value"
"DisplayName" = "8:#1041"
"Description" = "8:#1141"
"Type" = "3:2"
"ContextData" = "8:Unchecked=;Checked=1"
"Attributes" = "3:0"
"Setting" = "3:2"
"Value" = "8:"
"DefaultValue" = "8:"
"UsePlugInResources" = "11:TRUE"
}
"Checkbox4Visible"
{
"Name" = "8:Checkbox4Visible"
"DisplayName" = "8:#1029"
"Description" = "8:#1129"
"Type" = "3:5"
"ContextData" = "8:1;True=1;False=0"
"Attributes" = "3:0"
"Setting" = "3:0"
"Value" = "3:0"
"DefaultValue" = "3:1"
"UsePlugInResources" = "11:TRUE"
}
}
}
"{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_66E13DF2A0F84FB78B758FBCF0526824"
{
"Sequence" = "3:210"
"Sequence" = "3:400"
"DisplayName" = "8:Confirm Installation"
"UseDynamicProperties" = "11:TRUE"
"IsDependency" = "11:FALSE"