Saturday 29 March 2014

Strong Password

Strong password is the padlock to your online accounts, you should as much as possible try to make your password very secure. Below is the list of some frequently used password that you should avoid using.

  • 123456
  • password1
  • 1password
  • 654321
  • 000000
  • Your first name or surname
  • Your phone number
  • Your favourite stuff name.
  • And any word that can be guessed by someone who knows you.
A strong password will contain the combination of upper and lower case characters, as well as numbers. For instance, lets say your name is ibrahim, if you really wanted to use your name as your password, you should use something like this as your password "ibro7891Mi". You should also use a number that can be easily remembered by you, like your favourite year, and then use it backwards, all in an effort to make your password very secure. Remember that, someone can easily compromise your personal details, when he know your personal details. So, make your password as strong as you can.

Tuesday 18 March 2014

PHISHING

What is Phishing?
Phishing is a method that is employed by computer crackers to get your details, especially login details, such as usernames and passwords. The cracker will create a page similar to the one that you use to login into a particular online system such as Facebook, and send it to you,  usually as a link. After clicking the link, the victim is taken to the fake page. The fake page will look exactly like the original one, except that, after you have entered your login details, they will be sent directly to the attacker. and the attacker will then redirect you to another page. Phishing has proved to be effective way for attackers to get people's login details.
        How to avoid phishing.

  • Never click on strange links
  • If you have been redirected from some sites into a social network site, such as Facebook, and the page requires you to enter your login details, check your browser's address bar, to see if it is indeed the original Facebook address.


Monday 17 March 2014

HOW TO FIND IP ADDRESS OF A WEBSITE USING COMMAND PROMPT

Did you know that you can use your PC's windows  command prompt to find the IP address of any website? The process us very easy. Just make sure you have internet access on your PC, then open windows command prompt. If you don't know how to open the windows command prompt, just follow the steps below.

  • Click on Windows START Button at the lower left corner of your PC(Note: If you have changed the appearance of your taskbar, the START button will not be at this location. )
  • After you have clicked on the START button, then write "cmd" without the quotation marks in the search program text bar. 
  • Click at the  program that appear with the name "cmd".
  • A black window will appear, which is the windows command prompt.
Now we have opened the windows command prompt, our next task is to find the IP address of a website, lets say Facebook. just write "ping www.facebook.com" without the quotation marks. This will get the IP address of Facebook for you, now you can use the URL of any website and find their IP address.

Wednesday 5 March 2014

JAVA IF CONDITION

The following program demonstrates how java If...else statement works. The program imports java.util.Scanner package, which will handle the user input by scanning the inserted variable. First, the program ask for the year Nigeria got it's independence, if the user guesses correctly by putting '1960', the program will print "correct answer, you are genius", otherwise, the program will print "wrong answer, please try again." Also if the user luckily insert '1959', the program will print "You are almost correct, keep trying.". I just write the program to demonstrate how java if...else condition statement is used.

import java.util.Scanner;
public class BRRead{
public static void main(String args[]){
int a;
Scanner in = new Scanner(System.in);

System.out.println("Enter The year Nigeria got it's independence ");
    a = in.nextInt();
if (a==1960)
{
    System.out.println("Correct answer, you are genius!!!");
}
else if(a==1959)
{
    System.out.println("You are almost correct, keep trying.");
}
else
{
    System.out.println("Wrong answer, please try again.");
}
}
}

if  you have any java IDE such as Netbeans, Jgrasp or Eclipse, just copy the above program and paste it into your IDE and save the file as BRRead and then compile it, remember java is case-sensitive.