Tuesday, September 19, 2017

What is the *difference between http and https* ?

Time to know this with 32 lakh debit cards compromised in India.

Many of you ma y be aware of this difference, but it is worth sharing for any that are not.....

The main difference between http:// and https:// is all about keeping you secure 

HTTP stands for Hyper Text Transfer Protocol. The S (big  surprise) stands for "Secure"..  If you visit a website or web page, and look at the address in the web browser, it likely begins with http:///. 

This  means that the website is talking to your browser using the regular unsecured language. In other words, it is possible for someone to  "eavesdrop" on your computer's conversation with  the Website. If you fill out a form on the website, someone might see the information you send to that site. 
      
This is why you never ever enter your credit card number in an http website! But if the web address begins with https://, that means your computer is talking to the website in a secure code that no one can eavesdrop on. You understand why this is so important, right?  
      
If  a website ever asks you to enter your Credit/Debit card information, you should automatically look to see if the web address begins with https://. 
      
If it doesn't, you should NEVER enter sensitive information....such as a credit/debit card  number. 
      
PASS  IT ON (You may save someone a lot of grief).

Monday, September 18, 2017

Compile Java program in package from cmd

Nice article by Mr. Jitender
http://www.jitendrazaa.com/blog/java/compile-and-run-java-program-in-package-from-command-line/

How to Compile JAVA Program in Package from command line

The topic is very easy and i am sure that lots of java programmer
already know how to compile java program existing in package. However
there are users who frequently works on eclipse, netbeans or any other
IDE and don't know that how the program actually works behind the IDE.
So this article basically emphasizes on basics of Java Compilation.

Consider following directory structure :

Java Directory structure

Our java files will be in "src" folder. I want all the class files in
folder "classes" and currently i am in folder "Exec Jar".

Consider below Java Files: