Table of ContentOverview PagePrevious PageNext Page

 

Quick Summary

Sharity is a filesystem extension providing access to files exported by Windows servers and servers using the same protocol as Windows (such as Samba).
Sharity provides the same functionality as NFS servers for Windows, but it is installed on the Unix machine.
Sharity is a modularized framework. Developers can extend it to other protocols.
 
 

2. What is Sharity?

2.1 Description of the Functionality

Sharity is a filesystem extension. It allows you to map things into your Unix filesystem which need not be ordinary static files. This sounds rather abstract, if you are not familiar with the concept. Let me explain it with the two modules which are shipped with Sharity:

The cifsFile Module
This module implements access to the network filessytem of Windows(tm) servers. This network filesystem is called CIFS (for Common Internet Filesystem) and was formerly called SMB (for Server Message Block protocol). It is not only used by the various Windows operating systems, it's also used by Samba, OS/2 and many others. With this cifsFile module Sharity can map shares exported by Windows servers into your Unix filesystem. It looks as if these files were on your local disk: You can open them directly on the server without first copying them to your disk.

The cifsBrowse Module
The CIFS protocol has many variations and extensions. One of the extensions allows clients to get a list of all file servers and the names of the file shares exported by these servers. This extension is called Browsing. It has nothing to do with the web browser you are probably using to read this text. The cifsBrowse module understands the browsing extensions to CIFS and displays a list of servers in your filesystem. Each server is represented by a directory. If you list the directory, you will see the shares exported by the respective server. The shares will appear as symbolic links, and if you follow the link, the share will be mounted with the cifsFile module and the link directs you to the mountpoint.
Although this sounds rather complicated at the first glance, it's very simple for the user. The user simply clicks through the list of servers, then through the list of shares and finally through the files in the shares without noticing the complex mechanisms carried out by Sharity.

These two modules ship with Sharity in the current version. But Sharity can be more than that. It is easily possible to develop other modules utilizing the existing framework for mapping dynamic data into the filesystem. See the developer documentation for more information on how to develop modules.

2.2 Typical Applications

Since Sharity is currently primarily a CIFS client, it can be used for the following applications:

Access to Windows Servers from Unix
Sharity can be used as an alternative to NFS for Windows. There are several advantages of Sharity compared to NFS for Windows:

  • It's faster. Customers report that Sharity is notably faster than any NFS product they have tested.
  • Nothing has to be installed on Windows. Many people prefer installing software on Unix instead of Windows because Windows tends to become unstable when software is installed.
  • Sharity is more secure than NFS. NFS relies on trusted clients. The result is that anybody with physical access to the network or root access to any client can get almost arbitrary permissions on the server. CIFS (and thus Sharity), on the other hand, requires a password from each user who wants to access data. The password is transmitted in encrypted format over the network. The server has the full authority to decide which files to serve for a particular client based on the username and password the client presented.
  • Sharity is cheaper than NFS.

File Sharing over Insecure Channels
Sharity can be compiled to use SSL encryption on the network. It is therefore a VPN (Virtual Private Network) product which can be used to share confidential information across insecure channels (e.g. the Internet). This makes it an ideal solution for Teleworking or for companies with high security requirements. To utilize this feature, you need an SSL-aware server, of course. Sharity is compatible with the SSL mode of Samba. If you want to use a Windows server, we offer a freeware product which converts any CIFS server to an SSL-CIFS server (see SSL Proxy).

Only one Network Filesystem for All
Using different file sharing protocols (e.g. CIFS and NFS) together makes the server more complex and harder to administer. Sharity can help in this situation by making the Unix machines talk CIFS. You therefore need only one server protocol which fits all clients. A CIFS extension is available even for the Macintosh running Mac OS 7, 8 or 9 from Thursby Software Systems.

Table of ContentOverview PagePrevious PageNext Page


Sharity Manual 2.9 Beta 7 | Copyright (C) 2004 OBJECTIVE DEVELOPMENT Software GmbH | http://www.obdev.at/