Saturday 16 May 2020

SOC Reports

SOC 1 - This is a detailed report over financial and audit  controls for an organization. It is detailed, and thus sensitive. It might be requested of an organization that processes financial data (such as a payroll company)

SOC 1 Type 1 - This is a SOC 1 report but scoped to a particular date. Because it is a date instance, it is not as telling as a Type 2.

SOC 1 Type 2 - This is a SOC 1 report but scoped to a particular date range. Because it covers a date range instead of an individual date, it is a more thorough and telling report.

SOC 2 - This is a detailed report on organizational controls that cover the areas of security, availability, processing integrity, and confidentiality or privacy. You might provide this to a perspective client to prove your security posture before selling your Cloud Services.

SOC 2 Type 1 - This is a SOC 2 report for a given date instance. It proves compliance at a given time

SOC 2 Type 2 - This is a SOC 2 report for a given date range (minimum 6 months) and thus proves that the organizational controls listed are operational and enforced. (This is a better report than the type 1, and more expensive)

SOC 3 - This is the same as a SOC 2 except that it is is a much more generalized/short/less sensitive document. This is intended to be more of a public facing document.  

BCP tests

Full Interruption Test -   
In a full interruption test, operations are shut down at the primary site and
shifted to the recovery site in accordance with the disaster recovery plan.
This is clearly a very thorough test, but one which is also expensive and has the
capacity to cause a major disruption of operations if the test fails.

Parallel Test - 
A parallel test involves bringing the recovery site to a state of operational
readiness, but maintaining operations at the primary site. Thus staff are
relocated, backup tapes transferred, and operational readiness established in
accordance with the disaster recovery plan while operations at the primary site
continue normally.

Structured Walk-Through Test -  
In disaster recovery planning, a type of test in which the disaster recovery team
role-play a disaster scenario prepared by a test moderator. The disaster recovery
plan is referred to for information during the test.

Simulation Test - 
Method of testing disaster recovery plans. The simulation test is similar to a
Structured Walk-Through Test. The disaster recovery team role-play a disaster
scenario prepared by a test moderator. The disaster recovery plan is referred to
for information during the test. The responses of the team may be measured, and
some of the response measures suggested by the team may be put into action.
The scope of a simulation test must be carefully defined to avoid excessive
disruption of normal business activities.

Checklist Test -
In a checklist test disaster recovery checklists are distributed to all members of
a disaster recovery team. The members are asked to review the checklist. This both
ensures that the checklist is still current, and that the assigned members of
disaster recovery teams are still working for the company!

Wednesday 22 February 2012

CheckBox Demo

package com.lesson1;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.CheckBox;
import android.widget.Toast;
public class CheckBoxDemoActivity extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        final CheckBox check_box1 = (CheckBox) findViewById(R.id.cb1);
        final CheckBox check_box2 = (CheckBox) findViewById(R.id.cb2);
        check_box1.setOnClickListener(new View.OnClickListener() {
  
   @Override
   public void onClick(View v) {
    if(check_box1.isChecked()){
           System.out.println("Male is chosen");
           Toast.makeText(CheckBoxDemoActivity.this, "Come guys! I am a mail",Toast.LENGTH_LONG).show();
          }
          else {
           System.out.println("Female is chosen");
              Toast.makeText(CheckBoxDemoActivity.this, "Alas, I am a woman",Toast.LENGTH_LONG).show();
                 
           
           }
           
   }
         
 
       
       
    });
  
   
}
}

and the layout.xml

<?
<
xml version="1.0" encoding="utf-8"?>LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/hello" />
<CheckBox android:id="@+id/cb1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Male" />
<CheckBox android:id="@+id/cb2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Female" />
</LinearLayout>

Learn Dialog

package com.project1;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.os.Bundle;
import android.widget.Toast;
public class AlertdemoActivity extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        AlertDialog.Builder ad = new AlertDialog.Builder(this);
        ad.setMessage("Are you sure you want to proceeed")
        .setCancelable(false)
        .setPositiveButton("Yes", new DialogInterface.OnClickListener() {
  
   @Override
   public void onClick(DialogInterface dialog, int which) {
    Toast.makeText(AlertdemoActivity.this, "Yes, we can proceed", Toast.LENGTH_SHORT).show();
   
   }
  })
        .setNegativeButton("No", new DialogInterface.OnClickListener() {
  
   @Override
   public void onClick(DialogInterface dialog, int which) {
    Toast.makeText(AlertdemoActivity.this,"Thanks and we are exiting", Toast.LENGTH_SHORT).show();
   
   }
  });
         AlertDialog alert = ad.create();
         ad.show();
       
       
        }   
       
       
       
       
    }