In
computing
Computing is any goal-oriented activity requiring, benefiting from, or creating computer, computing machinery. It includes the study and experimentation of algorithmic processes, and the development of both computer hardware, hardware and softw ...
, a shared resource, or network share, is a
computer resource made available from one
host to other hosts on a
computer network
A computer network is a collection of communicating computers and other devices, such as printers and smart phones. In order to communicate, the computers and devices must be connected by wired media like copper cables, optical fibers, or b ...
.
[
][
] It is a device or piece of information on a computer that can be remotely accessed from another computer transparently as if it were a resource in the local machine. Network sharing is made possible by
inter-process communication
In computer science, interprocess communication (IPC) is the sharing of data between running Process (computing), processes in a computer system. Mechanisms for IPC may be provided by an operating system. Applications which use IPC are often cat ...
over the network.
Some examples of shareable resources are
computer program
A computer program is a sequence or set of instructions in a programming language for a computer to Execution (computing), execute. It is one component of software, which also includes software documentation, documentation and other intangibl ...
s,
data
Data ( , ) are a collection of discrete or continuous values that convey information, describing the quantity, quality, fact, statistics, other basic units of meaning, or simply sequences of symbols that may be further interpreted for ...
,
storage devices, and
printers. E.g. shared file access (also known as disk sharing and folder sharing), shared printer access, shared scanner access, etc. The shared resource is called a shared disk, shared folder or shared document
The term ''
file sharing
File sharing is the practice of distributing or providing access to digital media, such as computer programs, multimedia (audio, images and video), documents or electronic books. Common methods of storage, transmission and dispersion include ...
'' traditionally means shared file access, especially in the context of operating systems and
LAN and
Intranet
An intranet is a computer network for sharing information, easier communication, collaboration tools, operational systems, and other computing services within an organization, usually to the exclusion of access by outsiders. The term is used in ...
services, for example in Microsoft Windows documentation. Though, as
BitTorrent
BitTorrent is a Protocol (computing), communication protocol for peer-to-peer file sharing (P2P), which enables users to distribute data and electronic files over the Internet in a Decentralised system, decentralized manner. The protocol is d ...
and similar applications became available in the early 2000s, the term ''file sharing'' increasingly has become associated with
peer-to-peer file sharing over the Internet.
Common file systems and protocols
Shared file and printer access require an
operating system
An operating system (OS) is system software that manages computer hardware and software resources, and provides common daemon (computing), services for computer programs.
Time-sharing operating systems scheduler (computing), schedule tasks for ...
on the client that supports access to resources on a server, an operating system on the server that supports access to its resources from a client, and an
application layer
An application layer is an abstraction layer that specifies the shared communication protocols and interface methods used by hosts in a communications network. An ''application layer'' abstraction is specified in both the Internet Protocol Su ...
(in the four or five layer
TCP/IP reference model) file sharing
protocol and
transport layer protocol to provide that shared access. Modern operating systems for
personal computer
A personal computer, commonly referred to as PC or computer, is a computer designed for individual use. It is typically used for tasks such as Word processor, word processing, web browser, internet browsing, email, multimedia playback, and PC ...
s include
distributed file system
A clustered file system (CFS) is a file system which is shared by being simultaneously Mount (computing), mounted on multiple Server (computing), servers. There are several approaches to computer cluster, clustering, most of which do not emplo ...
s that support file sharing, while hand-held computing devices sometimes require additional software for shared file access.
The most common such file systems and protocols are:
The "primary operating system" is the operating system on which the file sharing protocol in question is most commonly used.
On
Microsoft Windows
Windows is a Product lining, product line of Proprietary software, proprietary graphical user interface, graphical operating systems developed and marketed by Microsoft. It is grouped into families and subfamilies that cater to particular sec ...
, a network share is provided by the Windows network component "File and Printer Sharing for Microsoft Networks", using Microsoft's SMB (
Server Message Block) protocol. Other operating systems might also implement that protocol; for example,
Samba
Samba () is a broad term for many of the rhythms that compose the better known Brazilian music genres that originated in the Afro-Brazilians, Afro Brazilian communities of Bahia in the late 19th century and early 20th century, It is a name or ...
is an SMB server running on
Unix-like
A Unix-like (sometimes referred to as UN*X, *nix or *NIX) operating system is one that behaves in a manner similar to a Unix system, although not necessarily conforming to or being certified to any version of the Single UNIX Specification. A Uni ...
operating systems and some other non-MS-DOS/non-Windows operating systems such as
OpenVMS. Samba can be used to create network shares which can be accessed, using SMB, from computers running
Microsoft Windows
Windows is a Product lining, product line of Proprietary software, proprietary graphical user interface, graphical operating systems developed and marketed by Microsoft. It is grouped into families and subfamilies that cater to particular sec ...
. An alternative approach is a
shared disk file system, where each computer has access to the "native" filesystem on a shared disk drive.
Shared resource access can also be implemented with
Web-based Distributed Authoring and Versioning (WebDAV).
Naming convention and mapping
The share can be accessed by client computers through some naming convention, such as
UNC (Universal Naming Convention) used on
DOS and
Windows
Windows is a Product lining, product line of Proprietary software, proprietary graphical user interface, graphical operating systems developed and marketed by Microsoft. It is grouped into families and subfamilies that cater to particular sec ...
PC computers. This implies that a network share can be addressed according to the following:
:
where is the
WINS name,
DNS name or
IP address
An Internet Protocol address (IP address) is a numerical label such as that is assigned to a device connected to a computer network that uses the Internet Protocol for communication. IP addresses serve two main functions: network interface i ...
of the server computer, and may be a folder or file name, or its
path. The shared folder can also be given a ShareName that is different from the folder local name at the server side. For example, usually denotes a drive with drive letter on a Windows machine.
A shared drive or folder is often ''mapped'' at the client PC computer, meaning that it is assigned a
drive letter on the local PC computer. For example, the drive letter is typically used for the user home directory on a central file server.
Security issues
A network share can become a security liability when access to the shared files is gained (often by devious means) by those who should not have access to them. Many
computer worms have spread through network shares. Network shares would consume extensive communication capacity in non-broadband network access. Because of that, shared printer and file access is normally prohibited in
firewalls from computers outside the
local area network
A local area network (LAN) is a computer network that interconnects computers within a limited area such as a residence, campus, or building, and has its network equipment and interconnects locally managed. LANs facilitate the distribution of da ...
or enterprise
Intranet
An intranet is a computer network for sharing information, easier communication, collaboration tools, operational systems, and other computing services within an organization, usually to the exclusion of access by outsiders. The term is used in ...
. However, by means of
virtual private network
Virtual private network (VPN) is a network architecture for virtually extending a private network (i.e. any computer network which is not the public Internet) across one or multiple other networks which are either untrusted (as they are not con ...
s (VPN), shared resources can securely be made available for certified users outside the local network.
A network share is typically made accessible to other users by marking any
folder or file as shared, or by changing the
file system permissions or access rights in the properties of the folder. For example, a file or folder may be accessible only to one user (the owner), to system administrators, to a certain group of users to public, i.e. to all logged in users. The exact procedure varies by platform.
In operating system editions for homes and small offices, there may be a special ''pre-shared folder'' that is accessible to all users with a user account and password on the local computer. Network access to the pre-shared folder can be turned on. In the English version of the
Windows XP Home Edition operating system, the preshared folder is named ''Shared documents'', typically with the
path '. In
Windows Vista
Windows Vista is a major release of the Windows NT operating system developed by Microsoft. It was the direct successor to Windows XP, released five years earlier, which was then the longest time span between successive releases of Microsoft W ...
and
Windows 7
Windows 7 is a major release of the Windows NT operating system developed by Microsoft. It was Software release life cycle#Release to manufacturing (RTM), released to manufacturing on July 22, 2009, and became generally available on October 22, ...
, the pre-shared folder is named ''Public documents'', typically with the path '.
Workgroup topology or centralized server
In home and small office networks, a
decentralized approach is often used, where every user may make their local folders and printers available to others. This approach is sometimes denoted a
Workgroup or
peer-to-peer
Peer-to-peer (P2P) computing or networking is a distributed application architecture that partitions tasks or workloads between peers. Peers are equally privileged, equipotent participants in the network, forming a peer-to-peer network of Node ...
network topology, since the same computer may be used as client as well as server.
In large enterprise networks, a centralized
file server or
print server, sometimes denoted
client–server paradigm, is typically used. A client process on the local user computer takes the initiative to start the communication, while a server process on the
file server or
print server remote computer passively waits for requests to start a communication session
In very large networks, a
Storage Area Network (SAN) approach may be used.
Online storage on a server outside the local network is currently an option, especially for homes and small office networks.
Comparison to file transfer
Shared file access should not be confused with file transfer using the
file transfer protocol
The File Transfer Protocol (FTP) is a standard communication protocol used for the transfer of computer files from a server to a client on a computer network. FTP is built on a client–server model architecture using separate control and d ...
(FTP), or the
Bluetooth
Bluetooth is a short-range wireless technology standard that is used for exchanging data between fixed and mobile devices over short distances and building personal area networks (PANs). In the most widely used mode, transmission power is li ...
IRDA OBject EXchange (OBEX) protocol. Shared access involves automatic synchronization of folder information whenever a folder is changed on the server, and may provide server side file searching, while file transfer is a more rudimentary service.
Shared file access is normally considered as a local area network (LAN) service, while FTP is an Internet service.
Shared file access is transparent to the user, as if it was a resource in the local file system, and supports a multi-user environment. This includes
concurrency control
In information technology and computer science, especially in the fields of computer programming, operating systems, multiprocessors, and databases, concurrency control ensures that correct results for concurrent operations are generated, whil ...
or
locking of a remote file while a user is editing it, and
file system permissions.
Comparison to file synchronization
Shared file access involves but should not be confused with
file synchronization and other information synchronization. Internet-based information synchronization may, for example, use the
SyncML language. Shared file access is based on server-side pushing of folder information, and is normally used over an "always on"
Internet socket. File synchronization allows the user to be offline from time to time and is normally based on an agent software that polls synchronized machines at reconnect, and sometimes repeatedly with a certain time interval, to discover differences. Modern operating systems often include a local
cache of remote files, allowing
offline access and synchronization when reconnected.
History
The first international heterogenous network for resource sharing was the 1973 interconnection of the
ARPANET
The Advanced Research Projects Agency Network (ARPANET) was the first wide-area packet-switched network with distributed control and one of the first computer networks to implement the TCP/IP protocol suite. Both technologies became the tec ...
with early
British academic networks through the computer science department at
University College London
University College London (Trade name, branded as UCL) is a Public university, public research university in London, England. It is a Member institutions of the University of London, member institution of the Federal university, federal Uni ...
(UCL).
See also
*
Client portals
*
Distributed file system
A clustered file system (CFS) is a file system which is shared by being simultaneously Mount (computing), mounted on multiple Server (computing), servers. There are several approaches to computer cluster, clustering, most of which do not emplo ...
s
*
Internetworking
Internetworking is the practice of interconnecting multiple computer networks. Typically, this enables any pair of hosts in the connected networks to exchange messages irrespective of their hardware-level networking technology. The resulting sys ...
*
Network-attached storage
Network-attached storage (NAS) is a file-level computer data storage server connected to a computer network providing data access to a Heterogeneous computing, heterogeneous group of clients. In this context, the term "NAS" can refer to both th ...
(NAS)
*
Resource contention
*
Time-sharing
In computing, time-sharing is the Concurrency (computer science), concurrent sharing of a computing resource among many tasks or users by giving each Process (computing), task or User (computing), user a small slice of CPU time, processing time. ...
*
Tragedy of the commons, the economic theory of a shared-resource system where individuals behave contrary to the common good
*
Virtual private network
Virtual private network (VPN) is a network architecture for virtually extending a private network (i.e. any computer network which is not the public Internet) across one or multiple other networks which are either untrusted (as they are not con ...
*
Web literacy, includes sharing via web technology
*
Website
A website (also written as a web site) is any web page whose content is identified by a common domain name and is published on at least one web server. Websites are typically dedicated to a particular topic or purpose, such as news, educatio ...
References
*
*
*
*
{{DEFAULTSORT:Shared Resource
Application layer protocols
Local area networks
Network file systems