Overview
This article will demonstrate how to execute commands on a server using rsh service using Secure iNet Factory.
Code Example
Download RSHEx.java
01 import com.jscape.inet.bsd.*;
|
« June 2008 | Main | September 2008 »
Overview
This article will demonstrate how to execute commands on a server using rsh service using Secure iNet Factory.
Code Example
Download RSHEx.java
01 import com.jscape.inet.bsd.*;
|
Posted at 10:55 PM in Java, Tutorials | Permalink | Comments (0) | TrackBack (0)
Overview
This article will demonstrate how to execute commands on a server using rexec service using Secure iNet Factory.
Code Example
Download RexecEx.java
01 import com.jscape.inet.bsd.*;
Line 1 : Necessary import. Lines 5-13 : Methods to handle events from BsdAdapter. Line 19 : Create new Rexec instance. Line 21 : Add listener to Rexec instance so the Rexec instance can receive events. Line 23 : Connect to the remote server. Line 25 : Execute the command. Line 27 : Disconnect from the remote server. |
Posted at 08:00 PM in Java, Tutorials | Permalink | Comments (0) | TrackBack (0)
Overview
This article will demonstrate how to communicate with a POP3 server over SSL using Secure iNet Factory.
Code Example
Download POPSSLEx.java
01 import java.util.Enumeration;
|
Posted at 07:12 PM in Java, Tutorials | Permalink | Comments (0) | TrackBack (0)
Overview
This article will demonstrate how to communicate with a POP3 server over SSH using Secure iNet Factory.
Code Example
Download POPSSHEx.java
01 import java.util.Enumeration;Go here for a detailed article on POP protocol.
|
Posted at 02:52 PM in Java, Tutorials | Permalink | Comments (0) | TrackBack (0)
Overview
This article will demonstrate how to communicate with a POP3 server using Secure iNet Factory.
Code Example
Download POPEx.java
01 import com.jscape.inet.email.EmailMessage;
|
Posted at 02:43 PM in Java, Tutorials | Permalink | Comments (0) | TrackBack (0)
Overview
This article will demonstrate how to communicate with an NNTP server using Secure iNet Factory.
Code Example
Download NNTPEx.java
001 import java.util.*;
|
Posted at 12:16 PM in Java, Tutorials | Permalink | Comments (0) | TrackBack (0)
Overview
MIME is an Internet standard which has been extended to include text in character sets, non-text attachments, message bodies and header information in non-ASCII character sets. It's use has grown beyond describing the content type in general. This article will demonstrate how to use the mime component in Secure iNet Factory to read mime messages in Java.
Code Example
Download MimeParseEx.java
01 import com.jscape.inet.mime.*;Go here for a thorough overview of the MIME format.
|
Posted at 08:55 AM in Java, Tutorials | Permalink | Comments (0) | TrackBack (0)
Overview
MIME is an Internet standard which has been extended to include text in character sets, non-text attachments, message bodies and header information in non-ASCII character sets. It's use has grown beyond describing the content type in general. This article will demonstrate how to use the mime component in Secure iNet Factory to create mime messages in Java.
Code Example
Download MIMEex.java
01 import java.io.*;
|
Posted at 08:38 AM in Java, Tutorials | Permalink | Comments (0) | TrackBack (0)
Overview
The article will demonstrate how to use the ipclient component in Secure iNet Factory to create SSL/TLS TCP/IP client socket connections.
Code Example
Download IPClientSSLEx.java
01 import java.io.*;
|
Posted at 11:29 PM in Java, Tutorials | Permalink | Comments (0) | TrackBack (0)
Overview
The article will demonstrate how to use the ipclient component in Secure iNet Factory to create TCP/IP client socket connections over SSH.
To demonstrate, consider the POP (Post Office Protocol) service which allows you to retrieve email from your account mailbox. To retrieve your email you must submit a username and password. This username and password is usually sent to the POP service in clear text making it susceptible to snooping on the network. While this may not be a concern on your own corporate intranet it becomes an immediate concern when accessing your account remotely via the public Internet.
To address this issue you can create a secure SSH tunnel that encrypts data while travelling over the Internet. An SSH tunnel is a special type of SSH connection where all data sent by the client is securely routed to a specified destination hostname/port and any data received from that hostname/port is securely sent back through the SSH tunnel to the client.
Code Example
01 import java.io.*;
|
Posted at 11:11 PM in Java, Tutorials | Permalink | Comments (0) | TrackBack (0)