[jcifs] Can jCIFS be used to work over a secure tunnel?

Michael B Allen ioplex at gmail.com
Thu Apr 14 18:32:57 MDT 2011

On Wed, Apr 13, 2011 at 8:41 AM, Sai Pullabhotla
<sai.pullabhotla at jmethods.com> wrote:
> Can some one shed some light on whether or not jCIFS can be used over a
> secure channel (perhaps IPSec)?

Hello Sai,

The CIFS protocol itself does not provide for encrypting data such as
file streams (but it does provide for digital signatures and JCIFS
uses signatures on all messages by default).

Otherwise, how you encrypt / decrypt traffic would depend on the
orientation of the client and server and the objective of encrypting
communication. There is no standard method for encrypting CIFS
communication that I know of. CIFS uses only TCP port 445 so any
transport level encryption should work fine.


Michael B Allen
Java Active Directory Integration

More information about the jCIFS mailing list