text: the following sections describe systems and methods for using auxiliary data embedded in files to enhance file sharing systems . fig1 depicts an example of a file sharing system for a computer network like the internet . the solution described below uses data embedded in a file to identify a file as having content desired for downloading , to verify that the content of the file is complete and free of viruses , and to allow the file to be shared among users &# 39 ; computers at the user &# 39 ; s share level . in many applications , an embedding process encodes auxiliary data in the file during creation , but it may also be embedded at a later time . for example , the file may be embedded ( or re - embedded ) as part of a file transfer process or electronic transaction where a user is granted usage rights for the file . fig2 depicts an embedding process for adding auxiliary data to files in a file sharing system . a data embedding process 200 ( e . g ., steganographic encoder , file header encoder , data frame header encoder , etc .) embeds auxiliary data 202 in a file 204 to create a data file 206 including the embedded data 202 . the file may then be distributed in a file sharing system comprising a number of computers or other devices in communication with each over via a network . the auxiliary data embedded in the file is used to manage file sharing operations , and to enhance the user &# 39 ; s experience . the embedded data can be placed in the header or footer of the file , throughout the file such as within frame headers , or hidden in the content itself using steganographic encoding technology such as digital watermarking . the file may contain any combination of text , audio , video , images and software , in compressed or uncompressed format . auxiliary data used to manage sharing of a file may be embedded in headers and footers of the file for each type . when the data is to be embedded throughout the file , the file can be broken into frames of known size , with a header for each frame including space for embedded data . for mpeg compressed audio and video , these frames already exist . the embedded data can be hidden in copyright , private or auxiliary bits . the data embedded in frame headers can be modified by the audio in any frame and / or encrypted ( defined as dynamic locking in u . s . pat . no . 7 , 055 , 034 , already incorporated by reference ) to improve its robustness to duplication in another content file , a content bomb , or virus . with respect to watermarking , there are many known techniques for embedding data within software , image , audio , video , and text in the state of the art , and new techniques will evolve , especially for software . examples of steganographic encoding and decoding technologies are described in u . s . pat . nos . 5 , 862 , 260 and 6 , 614 , 914 . the watermark may exist only in one place in the content , several places in the content , or continuously throughout the content . for example , in an audio file , the watermark may be repeated in temporal segments of the audio track . in a still image , the watermark may be repeated in spatial segments of the image . in video , the watermark may be repeated in temporal or spatial segments of the video signal . the embedded data may include an identifier ( id ) that serves as an index to an entry in a searchable database that describes or otherwise identifies the content of the file . for example , the database can include elements , where each element comprises an id , song title , album ( or cd ) title , release year , and artist name . this database can be indexed by any of these elements , thus improving automated searching capabilities . specifically , rather than needing to search for “ help and beatles ”, “ the beatles — help !”, and so on , a unique id can be used in a search query to identify the beatles &# 39 ; song help , and different ids may be used for different releases . the user , via an automated search program , only needs to submit a search query including that id . when searching , the user may be presented with a drop down menu of titles of files from the database that satisfy the search query . the search program automatically knows the id from the database so that the correct file can be found and downloaded from a computer at an address associated with that file in the database . in addition , these ids could help music be searched by year , which is desirable to many people who want to hear music from their high school or college days . in addition to facilitating automated searches for content in files , the id may also be used to track these files . for example , the file transfer system can add the id of a file to an event log when the file is transferred ( e . g ., downloaded , uploaded , etc .). the specific components of the file transfer system involved in the event logging process may vary with the implementation . also , the time at which the event is triggered and logged may also vary . the client system responsible for sending a file may issue and log an event , and either store the log locally , and / or send it to a central or distributed database for communication to other systems . the client system that receives the file may perform similar event logging actions . additionally , if a server system is involved in a file transfer , it may also perform similar event logging actions . for example , the server may transfer the file , or facilitate the transfer between two clients , and as part of this operation , log an event of the operation including the file id , the type of event , etc . in distributed systems where no central server is involved , the event logs can be stored on computers in the file sharing network ( or a subset of the computers ), and composite event logs can be compiled by having the computers broadcast their event logs to each other . each computer , in this approach , could maintain a copy of the event log , which is synchronized upon each broadcast operation . the log could be used to account for all file transfers , and be used to properly pay the rights holders . another use for the embedded data when it contains a unique id , such as unique to the retailer , song , artist and / or rights holder , is to link the consumer to more information , such as information about the retailer , song , artist and / or rights holder . the id could be used to link to the retailer &# 39 ; s web site , where the consumer can find additional songs in the same genre , year and by the same artist . or , the id could be used to link to the artist &# 39 ; s web site where the consumer finds additional information about the artist and song , and can locate other songs by the artist . or , the id could be used to link back to the rights owner , such as the record label where the consumer can find additional information and music . this connected content link could be displayed by the file sharing application during the downloading process . this provides the user with benefits of not wasting time during the downloading process , and gaining access to more music and information . the file sharing company can use this process to increase the revenues generated from the file sharing system through deals with the companies who gain access to the user via the connected content links . the unique id could be generated from the content , such as done with cddb , which generates an id from a cd &# 39 ; s table of contents ( toc ), and then steganographically embedded into the content . alternatively , the unique id may not be embedded but inherently linked to the content via a hash or fingerprint function that turns some or all of the content into a few bits of data . the number of bits allowed determines the likelihood that different files transform into the same number of bits . however , even with as few as 32 bits , this is unlikely . in addition , this is less likely if the hash function prioritizes parts of the data that are most perceptually relevant . this process is sometimes referred to as fingerprinting . the embedded data , when continuously embedded throughout the content , can improve the reliability of the content by , for example , demonstrating that the content is complete and has no viruses . one way to make the embedded data continuous is to insert it in periodically spaced frame headers , or steganographically encode it at locations spread throughout the file . a person trying to sabotage the file - sharing system can try to replicate the embedded data through a content bomb ( such as audio repetitively saying “ do not copy ”) or virus to fool the system . thus , the harder it is to duplicate the embedded data , the more reliable the system is . when trying to resist duplication , it is advantageous to encrypt the embedded data payload , thus making it harder to duplicate . in addition , the embedded data payload can be modified by the content to improve resistance to duplication . finally , the embedded data can be modified by the content and then encrypted for more secure applications . the above three robustness methods are labeled dynamic locking and disclosed in patent application ser . no . 09 / 404 , 291 , already incorporated by reference . when the embedded data is a watermark , meaning that it is steganographically embedded within the content and not just as auxiliary data in each frame , it is usually inherently robust to duplication because many watermarks use secret keys that are required to detect the watermark and read the information carried in it . one form of key is a pseudo - random noise ( pn ) sequence used as a carrier to embed , detect , and read the watermark . in particular , a spreading function is used to modulate the pn sequence with the watermark message . the resulting signal is then embedded into the host data ( e . g ., perceptual or transform domain data ) using an embedding function . the embedding function modifies the host signal such that it makes subtle changes corresponding to the message signal . preferably , these changes are statistically imperceptible to humans yet discernable in an automated steganographic decoding process . encryption and changing the watermark message or pn sequence adaptively based on the content can improve the robustness of the watermark to duplication . alternatively , if the embedded data is generated from the content , the embedded data is inherently linked to the content and is difficult to duplicate in a virus or content bomb . for example , pseudo - randomly chosen frames can be hashed into a few data bits that can be embedded in other pseudo - randomly chosen frames . thus , without knowledge of the pseudo - random sequence ( i . e . key ) used to choose the frames and the hash function , the hacker cannot duplicate the embedded data . importantly , header and footer structures should be of known size or protected so a hacker cannot slip a virus into the header or footer . the embedded data can also demonstrate that the file is allowed to be shared , which means its owner has authorized copying ( i . e . sharing ) rights . the watermark message may include standard copy control information such as two message bits to encode copy permission states of “ no more copy ,” “ copy once ” and “ copy freely .” in addition , only one bit can be used , thus indicating whether or not sharing , is allowed . the copyright can be linked to other copy management systems . for example , according to the dvd - audio specification ( available at http :// www . dvdforum . org ) and the portable device specification of the secure digital music initiative ( available at http :// www . sdmi . org ), audio may be watermarked with copy control information . this information may automatically be passed along if encoded within a watermark robust enough to survive the compression used in most file - sharing systems . alternatively , the watermark can be read and re - embedded as embedded data , possibly another type of watermark ( as discussed in u . s . pat . no . 7 , 197 , 156 , already incorporated by reference ). in addition , the copyright data can provide more information than just copy or not . for example , the bits may inform file sharing software , system or device that this file can be shared by subscription users , but not free users . or , it can inform the level or type of subscription which allows sharing of the file . specifically , subscription users who pay per month can share files that a free user cannot share . with music sharing , a popular band may allow only subscription users ( or possibly users with an expanded subscription ) to share their file so that they can earn revenue directly from the file . however , a new band may allow their song to be shared by all users . the simplest form of the embedded data is a payload of one bit determining whether or not the file can be copied . a better payload is one with two bits for copy control and more bits , such as 32 bits , for a unique identifier that can be used to verify that the file contains the correct content . note that demonstrating the file is complete does not depend upon the payload , but upon completeness of embedded data throughout the content . a decoding process can verify whether the file is complete by determining whether or not the embedded data is present at predetermined intervals or segments of the content . finally , the payload can have a payload type , such as 8 bits , and then more bits , like 32 bits , of information that depends upon the document type and probably includes copy control and an identification section . one way to verify that a file is complete without spreading embedded data throughout the file is to embed a hash of the file data at one or more selected locations within the file . the completeness of the file is checked by a program or device that re - computes the hash from the file and compares it with the previously computed hash which is embedded in the file . when the payload is to be continuously embedded with dynamic locking and it contains only a few bits , such as 1 bit , a system designer can easily convert the payload into a multi - bit payload for more secure dynamic locking . for example , the 1 bit payload can be represented by a 16 - bit pn sequence , where a “ 1 ” is the 16 - bit pn sequence and a “ 0 ” is the 16 - bit complement , embedded over and over again . a further concept is the integration of watermark data into peer - to - peer ( e . g ., napster - like ) systems . referring to fig4 , the top 3 boxes correspond to an embedding part of the system . the embedded bits may fall into various classes , e . g : in a free subscription system , these bits can provide copyright notification and control . they may also provide preview and / or stream capabilities , permitting the viewer to buy a copy of the content . in a pay subscription system , these bits can be used to track royalty payments ( e . g ., when including unique id bits ) allows content to enter different parts ( tiers or levels ) of the file - sharing system over time , so as to maximize profitability ( e . g ., as done with video releases ) buy paraphernalia and other similar music more information about artist optionally connect to same retail channel from which the song was originally purchased these bits are desirably embedded repetitively and continuously throughout a song . the bit payload at the beginning of a song may be different from that at the end ( either in the specified bits , or others ), permitting the watermark to serve as a receipt of complete downloading . such continuous embedding is not required for all applications . this watermark payload , and the format of an associated database record , is shown in fig5 . the unique id may be automatically generated based on the content ( e . g ., fingerprint - like ), or it can be specified by the owner of the content . the cddb database ( now termed gracenote ) can provide cd and song titles from the table of contents data read from a cd , and this information can be used in generating an id . fig6 shows such an arrangement . in this arrangement , the ripper reads song tracks from a cd as well as table of contents data . from the information on the cd , it forms an index into the cddb database . using information from the database , the ripper forms an id to be embedded in a song track . the watermark payload may include , for example , a cddb toc id , used to index information in the cddb database , and a track id to identify the track as well as index information in the watermark id database and / or in the cddb database . today , mp3 content owners , such as emusic . com , and mp3 . com can embed their songs with copyright bits that control file sharing without audibility issues , and can additionally embed unique ids that can be used to connect content back to the retailers and the artist &# 39 ; s web site for increased e - commerce options . while watermarked data is preferred because it is format independent , header data and the like can also be employed . the latter , for example , could be used by content owners to embed data in each frame header of mp3 files . before using the embedded data in the file - sharing system , the embedded data has to be added to the content , as shown in fig2 . usually , the embedded data will be added at the time of creation or purchase . minimally , the embedded data includes a copy control bit , possibly repeated throughout the file . when repeated , the embedded data also demonstrates file continuity and completeness . additionally , the embedded data may include an id to identify the content . alternatively , the content can be watermarked when created or manufactured for public release . for perceptual content such as images , audio or video , the watermark is designed to survive the compression , such as used in a jpeg or mpeg format . or if not made to survive certain types of compression or other processing , the watermark can be read and re - embedded in the compressed content . an advantage of the watermark is that it survives typical file conversion processes such as ripping content from a cd to another electronic file format , usually a compressed format . a related benefit is that the watermark obviates the need for the file conversion program or device to be responsible for ensuring that the embedded data remains with the content . in other words , the ripper does not need to have a decoder for the embedded data and does not need to act on embedded data . the system , as shown in fig1 , may be implemented in three principal network architectures : 1 . a client server model with a central database 100 , like the napster file sharing system . in this case , the database 100 is centralized on a server 102 or group of servers managed by one entity . to the clients ( e . g ., 104 , 106 ) of the system , the server 102 presents a common interface for accessing and searching the database 100 and getting address information of desired files to facilitate file transfer between clients . 2 . a distributed client model with a distributed database , like the gnutella file sharing system . in this case , the database 100 is distributed among several different computers ( e . g ., 104 , 106 ) on a network 108 and several copies of similar but slightly different databases may co - exist . each database may be replicated on each client or on other computers on the network that the clients may access via conventional network communication protocols like tcp / ip and http . when any registered user makes a change to one copy of the database , other copies of the distributed database may be updated using database synchronization . 3 . a central server model where users upload the files to a central server 102 for downloading from there , without the server knowing what content is in the file . in other words , the central server is not moderated . the central server contains a database 100 of the files that have been uploaded and are available for downloading . in all three architectures , in general , a client system downloads the file from another place ( e . g ., client 106 downloads a file 110 from client 104 ). in architectures ( 1 ) and ( 2 ), the other place is another user &# 39 ; s computer , whereas in case ( 3 ) the other place is a central server . in each case , the database is searchable via an automated search program . fig3 depicts a process for decoding embedded data from files in the file sharing system . for optimal scalability , the embedded data 300 is detected and read from a data file 302 , by an embedded data decoding process 304 in the user &# 39 ; s computer and not the network server . the decoding process , which is preferably integrated into client software of the file sharing system , returns the embedded data 306 . the file sharing software in the client ( and potentially on a server ) then acts on the embedded data as depicted in block 308 . the user &# 39 ; s computer can be the uploading or downloading computer , or both , in architectures ( 1 ) and ( 2 ), whereas the user &# 39 ; s computer is the downloading computer in architecture ( 3 ). alternatively , when registering files and a network address with the file - sharing database , the user &# 39 ; s file sharing software can scan files for the embedded data to enable proper registration . note that each user is provided with client software or firmware , which is provided electronically or on a portable storage device like an optical disk . the database , for any of the above architectures , is searchable via an automated search program and maintains records of the files ( mp3 files , software , documents , images , video , etc .) available for sharing from each registered user . in addition , each user may maintain a local database 112 , 114 of files available for sharing , including file identifiers , other file related metadata , and address information indicating where the file resides on the user &# 39 ; s computer system ( 104 , 106 ). when the user connects to the file sharing system ( e . g ., connects to the network ), this information is added to the database of files available for sharing ( e . g ., connected to file registry 100 ). both systems have a mechanism for communicating connectivity status of clients . in particular , the connectivity status indicates which clients are currently connected to the network , and are available to transfer registered files . the connectivity status information may be maintained in the same or a different database as the one that maintains records of files available for transfer along with the addresses of the clients where those files are available . the example shown in fig1 shows that a database , called the connected file registry , stores identifiers and possibly other information about files available for sharing and connectivity information such as the addresses of the computers where the files reside . all three architectures include a client system ( 104 , 106 ) that acts as the interface to end users , and maintains the end user &# 39 ; s copy of files available for sharing in the network architecture . the client system is capable of directly or indirectly communicating with the database 100 and is capable of obtaining connectivity status . in one preferred embodiment , the content files such as audio , image and video files , have been marked with embedded data that conveys any or all of the following : file identification , file status , such as complete and virus free , and copy control information within the network architecture . the clients have an embedded data decoder that screens files for the presence of embedded data , and if found , determines whether the embedded data enables the desired action . before sending or receiving a file as part of a file sharing process in the network architecture , the client checks the file transfer status and determines whether or not the file can and is the correct and complete file to be transferred . one enhancement is to add a user interface to the client that informs the user of file transfer rights , and gives the user the opportunity to get rights that he or she desires . one way to get the rights is to connect to another computer and purchase a copy of the file with the desired file transfer rights . one way to enable this connection is to include an identifier ( e . g ., address , url , name , etc .) or index to an identifier in the embedded data that instructs or otherwise enables the client to establish network communication with an e - commerce or rights transaction server . the purchased file may be transferred to the client electronically or physically shipped on packaged media , such as an optical disk , memory card , etc . the user interface may also enable the user to get additional information about a file ( e . g ., a generic or customized copyright notice or other metadata ) and to access another server that provides electronic purchase opportunities . for example , the user interface may facilitate a link to a server on the network that enables the user to buy a file of interest or related files . for music applications , the user can buy a music track or set of tracks , concert tickets , etc . via an electronic transaction between the client and an e - commerce server on the internet . this link can be shown during the downloading process , with the advantage of allowing the user to browse during the downloading process . another way is to connect to another computer and purchase the rights , which in turn , are updated in the file by changing the embedded data in some fashion . the updated rights may be affected by encoding more embedded data , such as another watermark , or altering the existing embedded data , such as by removing it . content providers or distributors pay the provider of the embedded data technology to encode files . in one embodiment , the files are watermarked at their time of creation . in addition , the content providers or distributors pay the provider of the embedded data technology per transaction when users purchase enhanced rights . there are a number of ways to track these transactions . the client software that performs encoding or decoding of the embedded data can keep a log of transactions and add the log to a central or distributed database of transactions . alternatively , the transaction server that communicates the enhanced rights to the client can log the transaction event in a similar fashion . finally , if no embedded data exists , it is up to the client file sharing application to decide what to do . on the user side , when the user registers a song on the hard drive , the user &# 39 ; s file - sharing application tells the central database : song is reliable if embedded data exists and is continuous copyright and subscription level of song song title , album , artist , etc ., optionally obtained from clearinghouse web server in the future , look for watermark and trans - watermark or embeded data in frame header display “ reliable ” icon for watermarked songs ( increasing the user &# 39 ; s confidence in safety ) display label ( helps determine if good song , especially for smaller or classical labels ) determine which songs the user is allowed to access , and which are available for purchase ( display options set by user ; user not confused by seeing files they cannot access ) double check that the embedded data is continuous , if supposed to be present ( drastically reducing sabotage by substituting songs on uploading computers ) double check that the embedded data allows sharing check that complete file is downloaded ( and optionally providing download receipt ) use the identification and clearinghouse web server to track songs for rights organizations , and provide additional e - commerce opportunities from the original retailer and artist &# 39 ; s web site the foregoing arrangement employs a remote database , or other data repository , to store the ancillary information . the following section details particular watermark - related actions that can be utilized when distributing digital content . 2 . use watermarked label to trigger automated purchase and file transfer operation from source to user &# 39 ; s machine , digital locker , etc . ( e . g ., press button while listening to song to trigger transaction ), may include some notions of digital money transaction ( see , e . g ., application ser . no . 09 / 337 , 590 ). 3 . embed label in an automated fashion on users &# 39 ; machines : search for content on drive , look up id from local or network database ( with either fingerprint or toc type indicators ), embed id into content 4 . embed label at time of rip , where the file transfer “ client ” ( which acts as both client and server ) includes read / write functionality . the write function can be used for supplementing previous embedding by content owner or ripper software ( see , e . g ., u . s . pat . nos . 6 , 505 , 160 and 6 , 970 , 886 ). during download , adding the unique id from a fingerprint and secondary second database . 5 . check file for proper naming , labeling before adding to file sharing registry of content items ( songs ) 6 . update a listing of name — id mapping , increment registry in real time 7 . mark file with user &# 39 ; s id during a download , then if user attempts to add to a file sharing system , the system knows the user and informs them how the user can and cannot use the file ; e . g ., refuse registration 8 . distinguish level of service in subscription service by watermark label ( see , e . g ., u . s . pat . no . 7 , 689 , 532 ) 9 . check integrity of file : free of content bombs and viruses ( see , e . g ., u . s . pat . no . 7 , 689 , 532 ) 10 . use time stamp to control changing of rights over time ( see , e . g ., application 60 / 232 , 163 ). 11 . during transfer of a content object ( e . g ., by streaming or file transfer ), a fingerprint or meta - tag obtained from the object can be parsed from the in - transfer object and used as an id to access a database record . the database record can contain pre - existing information that can be read by the client device ( e . g ., to ascertain permitted usage rights ). or the database record can be written , e . g ., with the date , time , username , etc ., relating to the transfer . 12 . audio excerpts ( e . g ., individual mp3 frames ) can be hashed ( e . g ., yielding 16 bits ). this hash code can be used to modulate bits — making it more difficult to change the audio . in this specific example utilization , it is assumed that the embedded data has been added and dynamically locked ( including being modified by the audio content and encrypted , as defined in u . s . pat . no . 7 , 055 , 034 , already incorporated by reference ) to the audio throughout the frames in all legitimate mp3 files at the time of creation . ( note that the embedded data could include an id to identify the content and / or artist , such as could be created from cddb &# 39 ; s database , available at http :// www . cddb . com , and incorporated by reference , but not included in this example .) for personal use , this may happen at the ripping stage , i . e . when content on an optical disk like a cd is converted into a mp3 file . for retail use , this may happen when the file is made available for sale , probably through a commercial ripper . this can also happen during the file transfer in the file sharing system . the identity of the file can be determined from its id3 song title tag or digital fingerprint , defined as a hash of some or all of the digital audio file . the song title or fingerprint can be used to connect to a secondary database to locate the id for that song . in this design , the id embedded in a song is the same for each user . when a user enables a file sharing system ( e . g ., an enhanced version of the napster file sharing system ) to share a directory on his computer , client software on the user &# 39 ; s computer searches for all mp3 audio files in locations ( i . e . folders or directories ) allowed by the user . for each audio file , the client software looks for embedded data placed throughout the frame headers of the mp3 file . the embedded data provides data that the file is allowed to be shared and is continuous from start to end . since the embedded data is dynamically locked to the audio , thus extremely difficult to duplicate , it is presumed that no viruses or audio bombs have been substituted . now , the client software establishes a connection with a central database , and transfers to the central database the artist and song title of each song due to its id3 tags , that the file can be shared , and that it is a “ safe ” file . ( note that the artist and song title can be identified by the embedded data id and a secondary database , as discussed above , but not implemented in this example .) in addition , if no embedded data exists , it is up to the application to decide whether to allow file sharing . the application would not want to display a “ safe ” icon . next , when the user is connected to the file sharing system , the central database activates his songs ( e . g ., adds them to the connected file registry 100 ). if someone else &# 39 ; s search locates this user &# 39 ; s songs , they can download the songs from his computer and know they have rights and that the song is “ safe ” by some identifying feature displayed in the ui of the client software , such as a “ safe ” icon . however , if a user wants to foil the system , he may have tried to replace the file with a file of the same size and name . in this case , the client software can do any or all of the following to improve its reliability . the uploading side client software may want to verify that the embedded data still exists and is complete before allowing uploading . or , the requesting / downloading client software may ask the uploading client software for the embedded data . this uploading - side security and client - to - client exchange is more difficult to trick since it involves changing object code of the client software , but not impossible since the exchange includes using software available on the computer of the person desiring to sabotage the system . in addition , the requesting / downloading client application may want to check the embedded data while the file is downloaded . bypassing this last downloading - side security feature is the most difficult since it happens on a computer not available to the person desiring to sabotage the system and the embedded data is secure . in an alternative example , the embedded data could be a watermark placed in the original cd or dvd audio , and which survives compression and is used in other copy management systems , such as designed by dvd - a and the secure digital music initiative ( sdmi ). in this case , the enabling and usage of the file - sharing system would be similar . it is mainly the embedding process that is different . in addition to the roles of the embedded data described above , the embedded data may also be used to link additional information or actions to a file . for example , the embedded data may carry an address or an index to an address of additional information or a program related to the file . the embedded data may trigger the decoding application to fetch the additional information or execute the linked action automatically . alternatively , the decoding application may present a user interface to the user , giving the user the option to instruct the computer to fetch additional information or launch a program associated with the file via the embedded data . the additional information may be rendered to the screen ( e . g ., a web page , graphical image , video ) or rendered to an audio output device ( e . g ., a sound clip ). the additional information may represent a graphical brand identifier , copyright notice , web page or link to a web page , etc . visual information or program instructions linked to a file may be used to create a user interface that controls how the user interacts with the file . the user interface may include graphical icons that act as hot links to web pages or programs , user interface controls that enable the user to control rendering or transfer of the file from which the embedded data was extracted . for example for a music file , the user interface controls could enable the user to control playback of the file . these user interface controls may create a unique user interface for each file or customize a media player , such as windows media player , real player from real networks , winamp from america online , for that file . in one usage scenario , the client system extracts this embedded data and presents a user interface to the user asking him if he wants additional information about the file . in the case of a music file , the client system could display a link to additional information or a related action as the music file is being transferred or rendered . specifically , the embedded data could be used as an index to a url of a web site that provides more information or opportunities to buy the music or related products or services via an electronic transaction . a database mapping embedded data to additional information or actions could be stored in the client system , a remote computer or device connected via a network , or a combination of both . the client system may be programmed to automatically look up corresponding information or actions in response to decoding the embedded data . the information or actions in this case may include displaying a user interface with links to additional information , programs , etc . ( e . g ., links to web sites , or programs that execute when the user selects the link ). alternatively , it may include fetching related information or programs that is rendered or executed automatically while the file is being transferred or rendered . for example , the embedded data in a music file might link to video or image data that is rendered as the music is being rendered . also , the embedded data might also link to a web site where the user can buy the content , license usage rights in the content , or buy or purchase related content , products or services . for more information about these types of applications see u . s . pat . nos . 6 , 505 , 160 and 6 , 947 , 571 , and pending application ser . no . 09 / 574 , 726 , filed may 18 , 2000 , which are hereby incorporated by reference . just as embedded data enhances file sharing systems , fingerprints can also provide additional functionality . fingerprints refer to unique identifiers that are derived from the content of the file . for example , a fingerprint can be computed from an audio , image or video signal stored in a file by hashing the data representing that signal into a unique identifier . the data that is used may be part or all of the file , desirably using an initial segment , and can the perceptually relevant data of the file , such as frequency components of an audio file that have large magnitudes . the unique identifiers for files are stored in a database that associates information , and in some cases , automated actions , with the unique identifiers . such fingerprint technology is currently used to identify audio and video signals for broadcast monitoring applications , and can be used for applications described in this document . fingerprints may be computed for media files , like image , audio , and video files , and stored in a database along with information or actions associated with the files . this database enables files to be associated with related information or actions as described in the previous section . for example , file sharing software executing on the client computes the fingerprint for a file recently received or sent in the file sharing system . as part of the file sharing process , the file sharing software computes the fingerprint and sends it to a database system , which is located at a central server or distributed in the file sharing network . in response , the database system returns related information , or performs an action related to the fingerprint , such as logging an event , linking to another computer ( e . g ., a web site that returns information to the sending or receiving computer , a licensing server that sends a web page to the sending or receiving computer with licensing information or usage control rules ), streaming a media signal ( e . g ., streaming audio or video ) to the sending or receiving computer , etc . the fingerprint augments file searching and tracking in the system because files can be searched or tracked based on their fingerprint . for example , the user could instruct the file sharing system to return a list of related files to a file in question . in response , the file sharing software computes a fingerprint of the file in question , sends it to a search engine , which in turn , returns a list of files and related information linked to that fingerprint in a database . also , to track usage or transfer of a file , the file sharing system can log the fingerprint of a file when it is transferred or used as described previously . the fingerprint is computationally expensive to calculate each time in some cases . the fingerprint id can be stored in the file sharing database so it only needs to be calculated once . this fingerprint id is then associated with the media file from which is was calculated , such as by associating it with an identifier for the file . however , this method of storage is not tightly locked to the file , and , thus , allows people to create content bombs within files , or swap them under false names . as such , a method of embedding the fingerprint data in the header can be used to improve the efficiency of the fingerprinting method . similarly , the method of embedding the watermark id in the header can be used to improve the efficiency of the watermark method . this method allows header data to be efficiently checked for the id before calculating the fingerprint or detecting the watermark . in addition , this id can be embedded in the header when the watermark is embedded or when it is read , or when the fingerprint is calculated , preferably the first time calculating the fingerprint . the embedding can provide reliability and digital receipts if it is embedded throughout the frames , possibly using the mpeg standard copyright bit , and locked to the content and encrypted , as discussed previously . by including the creation or release date of the content to its watermark or embedded data ( defined as time stamped watermark ), the content &# 39 ; s usage can be controlled over time . in file sharing communities , a song or movie with a time stamped watermark can enter different areas of the file sharing operation dependent upon the current date . the current date can come from the local clock , which is easy to change , or a central clock on a secure server , which is difficult to change . in simplest form , the file is not allowed to be shared for one month after its release and is allowed to be shared after that . this allows the record labels to capitalize on different market segments at different times , just as the movie industry does with vhs and dvd releases occurring a month or so after the theatre release . alternatively , the file could propagate through the file sharing network over time , starting in the premium section , then moving to the basic section , possibly one month later , and finally entering the year section , possibly one year later . in reference to digital asset management systems , the time stamped watermark could be used to find the most recent version of the file . for example , if ford wanted to use the most recent image of its f150 truck , it could compare the embedded date of the current picture to that of the latest entry into its digital asset management system to find the most recent version . this section describes a number of additional enhancements for file sharing systems , including 1 . using different beginning and ending frame payloads to determine a successful download of a multimedia file ( e . g ., an audio or video file ), or using a header indicating the number of frames in the media signal so that the receiver can check whether the received frames matches the number indicated in the header . 2 . stream compressed audio or video file from a distributing server to a user &# 39 ; s client computer when the user does not have usage rights for that file to enable the user to preview the audio or video file . this system only requires server side security to keep the file from being tampered with , and server side security is easier to implement . 3 . hash audio in each frame to two or more bytes and use the hash to modulate bits of the auxiliary data because it makes it more difficult to change the audio signal while maintaining a predetermined relationship between the audio data and the auxiliary data that has been modulated with a hash of the audio data . this method applies to auxiliary data for video files as well . 4 . choose frames or data within frames randomly used to modify the auxiliary data , based upon a pn sequence to make it more difficult to change the host audio or video signal of the auxiliary data . 5 . branding the label by displaying the label &# 39 ; s name and / or logo while searching and / or downloading the file by determining the content provider from the embedded unique id or content owner section . 6 . linking back to the retailer where the music was originally bought via a transaction watermark or embedded data containing the retailer &# 39 ; s id . 7 . automatically generating the embedded id using a hash of the cd table of contents ( toc ) and / or track , with the toc hash possibly matching that of cddb . for a number of applications , it is useful to embed time or sequence codes in video and audio watermarks . preferably , these codes are embedded in a sequence of frames that comprise the video or audio stream of interest . one way to implement the code is to increment the code for each frame or group of neighboring frames in the time dimension , starting from the beginning of the video or audio clip , and continuing to the end of a portion to be marked . another way is to embed a code indicating the number of frames between succeeding watermark payloads . these codes enable later authentication of the video or audio stream by extracting the digital watermark from each frame or group of frames , and then checking to determine whether the extracted codes are complete and in the same order as at the time of embedding . alternatively , codes indicating the number of frames between embedded watermarks are used to check the number of received frames relative to the number of frames indicated by the watermark payload code . these codes enable the receiver to authenticate the stream and determine which portions , if any , are missing or have been altered . having described and illustrated the principles of the technology with reference to specific implementations , it will be recognized that the technology can be implemented in many other , different , forms . to provide a comprehensive disclosure without unduly lengthening the specification , applicant incorporates by reference the patents and patent applications referenced above . the methods , processes , and systems described above may be implemented in hardware , software or a combination of hardware and software . for example , the auxiliary data encoding processes may be implemented in a programmable computer or a special purpose digital circuit . similarly , auxiliary data decoding may be implemented in software , firmware , hardware , or combinations of software , firmware and hardware . the methods and processes described above may be implemented in programs executed from a system &# 39 ; s memory ( a computer readable medium , such as an electronic , optical or magnetic storage device ). additionally , content encoded with auxiliary data used in file sharing may be distributed on packaged media , such as optical disks , flash memory cards , magnetic storage devices , or distributed in an electronic file format . the particular combinations of elements and features in the above - detailed embodiments are exemplary only ; the interchanging and substitution of these teachings with other teachings in this and the incorporated - by - reference patents / applications are also contemplated .