请输入您要查询的百科知识:

 

词条 Shared resource
释义

  1. Common file systems and protocols

  2. Naming convention and mapping

  3. Security issues

  4. Workgroup topology or centralized server

  5. Difference from file transfer

  6. Difference from synchronization

  7. See also

  8. References

In computing, a shared resource, or network share, is a computer resource made available from one host to other hosts on a computer network.[1][2] It is a device or piece of information on a computer that can be remotely accessed from another computer, typically via a local area network or an enterprise intranet, transparently as if it were a resource in the local machine.

Network sharing is made possible by inter-process communication over the network.[2][3]

Some examples of shareable resources are computer programs, data, 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 traditionally means shared file access, especially in the context of operating systems and LAN and Intranet services, for example in Microsoft Windows documentation.[4] Though, as BitTorrent 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 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 (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 computers include distributed file systems 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:

Primary operating system Application protocol Transport protocol
Mac OS SMB, Apple Filing Protocol[5]
  • TCP,
  • UDP or
  • AppleTalk
Unix-like systems Network File System (NFS), SMB
  • TCP or
  • UDP
MS-DOS, Windows SMB, also known as CIFS
  • TCP,
  • NBT (includes UDP),
  • NBF, or
  • other NetBIOS transports
Novell NetWare (server)
MS-DOS, Windows (client)
  • NCP and
  • SAP
  • SPX (over IPX), or
  • TCP

The "primary operating system" is the operating system on which the file sharing protocol in question is most commonly used.

On Microsoft Windows, 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 is an SMB server running on Unix-like 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. 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 PC computers. This implies that a network share can be addressed according to the following:

\\\\ServerComputerName\\ShareName

where ServerComputerName is the WINS name, DNS name or IP address of the server computer, and ShareName 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, \\\\server\\c$ usually denotes a drive with drive letter C: 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 H: 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 or enterprise Intranet. However, by means of virtual private networks (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 Windows XP Home Edition operating system, english version, the preshared folder is named Shared documents, typically with the path C:\\Documents and Settings\\All users\\Shared documents. In Windows Vista and Windows 7, the pre-shared folder is named public documents, typically with the path C:\\Users\\Public\\Public documents.[6]

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 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.

Difference from file transfer

Shared file access should not be confused with file transfer using the file transfer protocol (FTP), or the Bluetooth 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.[7]

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 or locking of a remote file while a user is editing it, and file system permissions.

Difference from 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.

See also

  • Resource contention
  • Client portals
  • Distributed file systems
  • Network-attached storage (NAS)
  • Tragedy of the commons (the economic theory of a shared-resource system where individuals behave contrary to the common good of all)
  • Virtual private network
  • Web literacy (Sharing)
  • Web publishing

References

1. ^{{cite IETF |title=A Perspective on the ARPANET Reference Model |rfc=871 |last=Padlipsky |first=Michael A. |authorlink=Michael A. Padlipsky |date=September 1982 |publisher=IETF |accessdate=15 December 2013}}
2. ^{{cite IETF |title=A Note on Interprocess in a Resource Sharing Computer Network |rfc=61 |last=Walden |first=David C. |date=July 1970 |publisher=IETF |accessdate=15 December 2013}}
3. ^{{cite IETF |title=A System for Interprocess Communication in a Resource Sharing Computer Network |rfc=62 |last=Walden |first=David C. |date=August 1970 |publisher=IETF |accessdate=15 December 2013}}
4. ^Microsoft Technet, [https://technet.microsoft.com/en-us/library/bb727037.aspx File and Printer Sharing in Windows Vista], May 14, 2007
5. ^{{cite web|url=http://appleinsider.com/articles/13/06/11/apple-shifts-from-afp-file-sharing-to-smb2-in-os-x-109-mavericks |title=Apple shifts from AFP file sharing to SMB2 in OS X 10.9 Mavericks |website=AppleInsider |publisher=Quiller Media, Inc.}}
6. ^Katy Ivens, [https://books.google.com/books?id=XtLivjYTM3IC&pg=PA121&dq=%22Shared+documents%22&hl=en&ei=cLV4TfKCCYPHswbUnbXzBw&sa=X&oi=book_result&ct=result&resnum=2&ved=0CDMQ6AEwAQ#v=onepage&q=%22Shared%20documents%22&f=falseHome Networking for dummies], 4th edition, 2007, page 121. Suggest the term "pre-shared folder".
7. ^[https://www.multcloud.com/tutorials/share-dropbox-folder-with-google-drive-6289.html Share Files across Cloud Storage].
  • {{cite book

| last = Graves
| first = Michael W.
| title = The Complete Guide to Networking And Network +
| publisher = Cengage Learning
| year = 2004
| url = https://books.google.com/books?id=9c1FpB8qZ8UC&printsec=frontcover
| isbn = 978-1-4018-3339-8
  • {{cite book

| last = Meyers
| first = Michael
|author2=Jernigan, Scott
| title = Mike Meyers' A+ Guide to Operating Systems
| publisher = McGraw-Hill Professional
| year = 2004
| url = https://books.google.com/?id=VeGGevMEYoUC&printsec=frontcover
| isbn = 978-0-07-223124-3
  • Pirkola,G. C., "A file system for a general-purpose time-sharing environment", Proceedings of the IEEE, June 1975, volume 63 no. 6, pp. 918–924, ISSN 0018-9219
  • Pirkola, G. C. and John Sanguinetti, J., "The Protection of Information in a General Purpose Time-Sharing Environment", Proceedings of the IEEE Symposium on Trends and Applications 1977: Computer Security and Integrity, vol. 10 no. 4, pp. 106–114
{{DEFAULTSORT:Shared Resource}}

3 : Application layer protocols|Local area networks|Network file systems

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/10 15:41:21