EP2520063A2 - System, apparatus and method for encryption and decryption of data transmitted over a network - Google Patents

System, apparatus and method for encryption and decryption of data transmitted over a network

Info

Publication number
EP2520063A2
EP2520063A2 EP10812940A EP10812940A EP2520063A2 EP 2520063 A2 EP2520063 A2 EP 2520063A2 EP 10812940 A EP10812940 A EP 10812940A EP 10812940 A EP10812940 A EP 10812940A EP 2520063 A2 EP2520063 A2 EP 2520063A2
Authority
EP
European Patent Office
Prior art keywords
text
processed
input
input text
deterministically
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
EP10812940A
Other languages
German (de)
French (fr)
Inventor
Ben Matzkel
Maayan Tal
Aviad Lahav
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vaultive Ltd
Original Assignee
Vaultive Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vaultive Ltd filed Critical Vaultive Ltd
Publication of EP2520063A2 publication Critical patent/EP2520063A2/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/57Certifying or maintaining trusted computer platforms, e.g. secure boots or power-downs, version controls, system software checks, secure updates or assessing vulnerabilities
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6227Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database where protection concerns the structure of data, e.g. records, types, queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2149Restricted operating environment

Definitions

  • SaaS Software as a Service
  • a variety of encryption schemes are used to render data unintelligible to anyone who does not possess the appropriate decryption methods or keys.
  • application providers may enable and/or require an information owner to encrypt data in transit between a client and a host using secure socket layer (SSL) encryption or another method.
  • SSL secure socket layer
  • ISP internet service provider
  • the data is accordingly decrypted upon arrival to the hosted application, and the hosted application vendor may view and manipulate the owner's unencrypted data.
  • this method exposes the sensitive data at the hosted application vendor.
  • 7,165,175 describes an apparatus and method for selectively encrypting portions of data sent over a network between client and server.
  • the apparatus includes parsing means for separating a first portion of the data from a second portion of the data, encrypting means for encrypting only of the first portion of the data, and combining means for combining the encrypted first portion of the data with the second portion of the data.
  • the apparatus further includes decrypting means installed at the client for decrypting the encrypted portion of the data.
  • PCT Patent Publication Number WO 01/047205 discloses enhanced computer network encryption using downloaded software objects.
  • This application describes a method and a system for securing highly sensitive financial and other data contained in transmissions over a public network, such as the World Wide Web, linking a web server computer to a remote client computer.
  • a desired (usually strong) specific standard of encryption for all sensitive communications between web server and client, and "pushing" the capability to encrypt to such standard to the client by automatically downloading from the web server to the client, and executing within the client's web browser, software objects to perform encryption/decryption tasks pursuant to the chosen standard, strong encryption is readily assured even if the client did not originally have such strong encryption capabilities.
  • Figure 1 illustrates a system including an intermediate module and its environment according to an embodiment of the invention
  • Figure 2 illustrates a flow of data from a client terminal to a network node, according to an embodiment of the invention
  • Figure 3 illustrates a flow of data from a network node to a client terminal, according to an embodiment of the invention
  • Figure 4 illustrates a method for encrypting data allowing server-side searching and indexing of encrypted data, according to an embodiment of the invention
  • Figure 5 illustrates an example of a normalization process and an input text that includes a sentence
  • Figure 6 illustrates an example for processing a word, according to an embodiment of the invention
  • Figure 7 illustrates a method for encrypting data allowing server-side sorting of encrypted data, according to an embodiment of the invention
  • Figure 8 illustrates a method of generating an order preserving function, according to an embodiment of the invention
  • Figure 9 illustrates an example of three generated order-preserving encryption function using three different keys according to an embodiment of the invention.
  • Figure 10 schematically illustrates a flow of data enabling searching of encrypted user data in an embodiment of the present invention.
  • FIG. 1 illustrates a system including an intermediate module 200 and its environment according to an embodiment of the invention, as well as a flow of data from client module at workstation 230 to application service provider at network node 260.
  • Intermediate module 200 may include an interception module 210 and a data protection module 220.
  • Intermediate module 200 may be operatively connected to a client terminal 230, e.g., a trusted workstation, and to a network node 260, e.g., an application service provider, via a network, such as public network 250.
  • client terminal 230 e.g., a trusted workstation
  • network node 260 e.g., an application service provider
  • a network such as public network 250.
  • Fig. 1 is an exemplary embodiment of the invention, and that other network configurations are possible.
  • trusted workstation 230 and intermediate module 200 may be remote from each other, for example, operatively connected over a trusted network link.
  • trusted workstation 230 may be connected to a plurality of intermediate modules, including for a plurality of organizations, and intermediate their data traffic with one or more application service providers over a public network.
  • the module may reside on the client device, at a gateway server, e.g., on premises associated with the client device, or at a separate server or servers in communication with the trusted client device and the untrusted server.
  • the interception and/or data protection modules may be installed on the trusted workstation, possibly as a browser plug-in, possibly as an operating system driver or module, possibly as a software library and possibly as another software component.
  • the intermediate module may be positioned right in front of the untrusted application, where all accesses to the untrusted application pass through the intermediate module.
  • the intermediate module may be a separate server to which client module transmits input data, which in turn transmits the processed data to the untrusted server.
  • a trusted workstation 230 may be a client computer having installed thereon a client component 240 that may interact with the intermediate module.
  • Client component 240 may be a web application HTML form running in a web browser while network node 260 can be an HTTP web server of a SaaS vendor.
  • Client component 240 can include API client software and, additionally or alternatively, any other method of remotely accessing network node 260.
  • End users can use client component 240 to enter, retrieve and manipulate data, intended to be passed to, or retrieved from, network node 260.
  • End users may include human users utilizing a software agent (e.g. a web browser) and automated agents using a client API.
  • a software agent e.g. a web browser
  • Interception module 210 of intermediate module 200 may intercept or otherwise receive input (unprocessed) text from trusted workstation 230, and provide the input text to data protection module 220 for processing.
  • Interception module 210 may intercept the data flowing between client component 240 and network node 260, can modify it, and can interfere with the normal data flow. For example, the interception module may trigger an authentication session in order to determine that an end user can access data stored in network node 260.
  • Interception module 210 can be (or be executed by) a web proxy server.
  • Data protection module 220 may receive input text and process it selectively. Input text that is not selected to be processed may be transmitted as unprocessed text to network node 260 for manipulation and/or storage in storage system 270 substantially without processing, or with less processing than text selected for processing. For text to be processed, data protection module 220 may process the input text to provide processed text, which may be provided over public network 250 to untrusted application service provider 260 for storage, manipulation, etc. According to embodiments of the invention, therefore, application service provider 260 may thereby not receive the unprocessed text, but rather store and manipulate processed text. As described below, the processing may include applying a search- and/or sort-enabling encryption scheme, to thereby provide encrypted text data. According to embodiments of the invention, the processing may selectively encrypt text, selecting which input text to transmit to application service provider 260 in processed form, and which input text to transmit in unprocessed form.
  • intermediate module 200 may include one or more servers, one or more workstations, one or more personal computers, one or more laptop computers, one or more media players, one or more personal data accessories, one or more integrated circuits, and/or one or more printed circuit boards, dedicated hardware, or a combination thereof.
  • Intermediate module 200 may include or provide functionality additional to or unrelated to encryption and/or decryption, and may alter the normal message flow between the client trusted workstation 230 and the server untrusted application 260. Such additional functionality may have the effect of compensating for server-side functionality lost due to encryption.
  • the intermediate module may receive input data from the client device, intercept said input data, e.g., prevent or otherwise not allow the input data to be transmitted to the server, and the intermediate module may provide the relevant function on the input data that the server would otherwise provide. For example, the intermediate module may generate at least one message to the client device based on a result of the function.
  • the intermediate module may obtain from said client device a response to the at least one message, based on the response, process the input text to obtain processed input text, and transmit the processed input text to the server.
  • a server may generally check the spelling of input text and provide the user with a feedback message, for example, indicating misspelled words and suggesting corrections.
  • the server may not be able to perform spell checking without decrypting the processed text. Therefore, in accordance with embodiments of the invention, the intermediate module may provide additional functionality, for example, spell-checking, on input text, and may provide the user with a feedback message, e.g., a result of the spell-checking function on the input data, such as an error message, a suggested spelling correction, or a message that no errors were detected.
  • such additional functionality may include replacing server-side search functionality, for example, by storing a copy of the user data (or a portion thereof) and searching it in the intermediate module in response to a search request made by the client.
  • such additional functionality may include triggering an authentication session between the client and the intermediate module before allowing user data to be encrypted and decrypted.
  • such additional functionality may include format-checking input data, and if appropriate, for example, if the input data is in a first format, requesting the client to send information in a second format, different from the first format.
  • Such received and/or requested formats may include, for example, (a) a delta- encoded format of the input text wherein only differences from a known version of the input text are transmitted, (b) a full version of the input text, (c) the input text contained in a specific document format, or a combination thereof.
  • input data may be received in a delta-encoded format, and the intermediate module may request the input data in a full input text format.
  • specific document formats include but are not limited to PDF, DOC, HTML, etc.
  • the processed text may be stored at network node 260, for example, in storage system 270, and manipulated remotely over public network 250.
  • the processing may be such that searching and/or sorting may be enabled on the processed text, in such a manner as to be transparent or unseen by the trusted user and/or the untrusted server application, without decrypting the processed data at the application service provider.
  • storage system 270 is at times denoted a database; however, it will be recognized that storage system 270 may be any suitable digital storage architecture, and may be stored on any suitable hardware, e.g., a redundant array of independent disks (RAID), etc.
  • RAID redundant array of independent disks
  • trusted workstation 230 may provide unprocessed input data such as "Acme Corp.” for use by application service provider 260.
  • the input text may be intercepted at intermediate module 200, for example, by interception module 210, and processed by data protection module 220.
  • Data protection module 220 may process the input text into one or more individual text units referred to as tokens, and control data, which may be encrypted, shown schematically as processed data "DHFOEFRGEJIC", and send the processed data over network 250 to untrusted application service provider 260, where it may be manipulated by users and/or stored in database 270.
  • DHFOEFRGEJIC is schematic, and that any suitable encryption algorithm may be used, for example, resulting in any symbol set.
  • non-Latin characters or symbols may be used, for example, Korean or Chinese language symbols.
  • FIG. 2 illustrates a generalized flow of data from client terminal 230 to application service provider 260, according to an embodiment of the invention.
  • the end user may provide input text that is not encrypted (clear text).
  • the input data may be transmitted from client terminal 230 towards network node 250 and be intercepted by interception module 210.
  • Interception module 210 may provide the input text to data protection module 220 that processes the input data to provide processed data, wherein the processing includes encrypting at least a portion of the input text.
  • the processed data may then be sent to interception module 210, which in turn transmits it over public network 250.
  • the processed data may be received by network node 260 for manipulation by an application, e.g., a SaaS application, and stored in database 270.
  • an application e.g., a SaaS application
  • the input data may be new or updated data to be stored in storage system 270, or it may be any data provided to an SaaS application for real time manipulation, for example, one or more parameters of a command, e.g., a search command.
  • Figure 3 illustrates a flow of data from network node 260 to client terminal 230, according to an embodiment of the invention.
  • a process may be initiated by a user at workstation 230 by making a retrieval or search request.
  • the parameter of the request e.g., the terms to be searched for
  • the parameter of the request may be processed as described above in connection with Fig. 2, and the application at network node 260 may search or sort the processed data, possibly based on the processed parameter provided.
  • Network node 260 may retrieve processed data, for example, in response to a search or retrieval request, where the processed data may include some encrypted portions.
  • the processed data may be sent over public network 250 towards client terminal 230.
  • Interception module 210 may intercept the processed data and provide it to data protection module 220 to identify any encrypted data within the processed data. Any identified encrypted data may be decrypted, and provided to interception module 210 to resume data communication. Interception module 210 may forward the unprocessed data (decrypted plaintext data) to client component 240 for display to a user.
  • FIG. 10 schematically illustrates a flow of data enabling searching of encrypted user data in an embodiment of the present invention.
  • the client 240 may enter data and make several store requests to the untrusted application 260 passing through the intermediate module 200.
  • the intermediate module encrypts user inputs such that every searchable word is mapped onto an encrypted searchable word, such that every input searchable word has exactly one corresponding encrypted searchable word. Encrypted searchable words may be normalized before encryption.
  • FIG. 4 is a schematic illustration of a data processing method 100 designed to enable server-side searching and/or indexing of user textual data, according to an embodiment of the invention.
  • Method 100 may be applied by an intermediate module, for example, by a data protection module as described above. It will be understood that the method of receiving processed data and converting it to unprocessed data may be substantially the reverse of the described method.
  • Method 100 starts at stage 1 10 by receiving input message, for example, by an intermediate module operatively connected between a client terminal and a network node.
  • an input message may include a First Name field, a Last Name field, and a Document Body field.
  • the method may iterate over all identified data units, first obtaining an unhandled data unit at stage 113, then selecting whether or not to process the obtained data unit.
  • Processed data units may be processed individually or collectively.
  • the method may then determine whether to process the input data. Input data that are not modified are retained (stage 130). At stage 115, the method may determine whether and/or what portions of the input data unit text should be processed. For example, portions of an input text not suitable for encryption may include search connectors such as "OR”, “AND”, or application-specific significant text markup such as " ⁇ important ⁇ ” or "@location”, indicating a special kind of server processing to be carried out on the data.
  • the method proceeds to stage 116, in which the input text is broken down into individual text units called tokens (the process of determining tokens from the input text is referred to herein as tokenization). It will be recognized that tokenization is optional, and method 100 may include (a) encrypting all input data together as a single token, (b) encrypting input data determined to be suitable for encryption separately, to provide a plurality of processed tokens, wherein each processed token represents a piece of input text, or (c) a combination thereof.
  • the method may then proceed to stage 1 17, in which certain input tokens may be recognized as unsuitable for searching.
  • the criterion for determining each individual word may be a list of predefined words, a threshold word frequency in a word frequency list such as English dictionary frequency list, the length of the word, or a combination thereof.
  • the method may extract information unimportant for searching from searchable input tokens, for example: letter case, letter diacritics, ligature breakup, Unicode character composition or decomposition (as defined by the Unicode standard).
  • the extracted information may be stored for later use in a separate location and may be placed in an output token called a control token.
  • the text tokens may be converted into a normalized form which does not contain the extracted information. This process is referred to herein as normalization. It will be recognized that normalization is optional, and may be done in any suitable manner.
  • the method may obtain bit representations of all information units to be encrypted, including searchable tokens, information extracted from searchable tokens, and other portions of the input, in order to encrypt it using a cryptographic cipher.
  • Information units may be classified as searchable or non-searchable. Non-searchable information units may be combined or broken up. The order of searchable tokens in the input text may be changed, and an indication of the original order may be added to the non-searchable information units.
  • the method may encrypt information units by using a cryptographic cipher, such as AES or DES.
  • a cryptographic cipher such as AES or DES.
  • the method may convert the encrypted bit representations into output text units consisting of a sequence of characters taken from a character set, for example, one or more predefined contiguous portions of Unicode, as described in further detail below. This character set may be defined in advance to assist decrypting.
  • the input data unit in the input message may be replaced with the output text obtained at stage 121.
  • the method may continue to apply stages 112-122 to all identified input units, and then transmit the processed message to the network node hosting the server application (stage 131).
  • the data processing method may involve tokenization, which in turn may involve a number of steps. It will be understood that some of the steps described in connection with the illustration of tokenization below are are optional. Furthermore, it will be understood that de-tokenization, i.e., converting tokenized processed data into unprocessed data, may be substantially the reverse of the described method.
  • input texts may be broken into a number of segments in a process called tokenization. Segments holding individually searchable terms are called (unprocessed) input tokens, where input tokens are typically whole words. Input segments that are not tokens are added to an information set called a Non-Searchable Information Set. Such segments may include punctuation, space characters, and other characters.
  • Tokenization may include detection of morphological variants of words, modifying the input token to a normalized form and adding an indication of the original input token to the non-searchable information set.
  • morphological invariants of words may include plural versus singular noun forms ("word”, “words”), verb conjugation ("cry", “cried”, “crying”), etc.
  • Tokenization may include detection of words unlikely to be searched for, and their removal from the set of searchable input tokens and addition to the non-searchable information set. For example, such detection may use (a) a predefined set of words, (b) a dictionary holding word frequency list and a threshold frequency where words with frequency above the threshold frequency are considered unsearchable, (c) a minimum and/or maximum length for a searchable word, or (d) any combination thereof.
  • Tokenization may support server-side searching and/or indexing which ignore certain character properties, such as letter case, diacritics, ligatures or Unicode composition/decomposition. For example, searching for "ToKeN” and “tOkEn” may produce the same results when searching text, having all strings containing a variant of the word "token" to appear on the search results.
  • Supporting such property-insensitive searching may be performed by (1) converting every input character into a single canonical form, (2) producing an indication of the original character, and (3) adding this indication to the non-searchable information set.
  • tokenization may support case-insensitive searching on the server side by converting input token characters into a single letter case (e.g. lowercase) and adding an indication of the original letter case to the non-searchable information set.
  • diacritical marks may be ignored during searching, Ignoring added, removed or modified diacritical marks, e.g., "E” or “E” or “E”.
  • a search for "cafe” will match user data such as "Cafe”, “CAFE”, "cAfe” or "cafe”.
  • the system may convert all these word instances into the normalized form "cafe” add an indication of the original diacritics to the non-searchable information set.
  • the system may support ligature-insensitive searches (for example, daemon and daemon).
  • the system may convert ligatures into normalized form such as converging "as" to "ae", produce an indication of the original ligature, and add it to the non-searchable information set.
  • Fig. 6 illustrates processing of the word "Cafe”.
  • the input text is stripped of the uppercase and diacritics, and converted to the token "cafe”.
  • the associated control token indicates that the first letter is uppercase, and that the fourth letter has an acute accent.
  • letters may be assumed to be lowercase with no diacritics, so that the control token need not indicate lowercase letters or absence of diacritics.
  • processing input text may include detection of application-specific text at least one handling instructions, and may either add these handling instructions to the non-deterministically transformed text or leave this information in clear text in the processed text, so that the untrusted server may apply any kind of handling related to this text augmentation information.
  • HTML is a text augmentation which may add formatting information to user text by embedding HTML tags in the text.
  • the system may handle input HTML tags by at least one of: (1) adding HTML tags to the non-searchable information, (2) including input HTML tags in the output processed text without encryption to allow server-side handling, (3) treating HTML tags as normal text, e.g., applying any handling performed on non-HTML-tag input text to the HTML tags.
  • the intermediate module may decide not to transform said at least one handling instruction.
  • the intermediate module may decide to transform said at least one handling instruction non-deterministically.
  • the system may add context information to the non-searchable information set, such as the time, the user, or other information known to the system when producing processed text.
  • the system may add custom indications to the encrypted tokens such as "important" or “sensitive”, such that upon decryption these indications may be noticed, an event indicating the decryption of the input information may be generated, and this event handled, for example, by adding a record to a log file.
  • Processing the input text may include changing an order of input tokens within the processed text.
  • token order indication may be generated to indicate an order of the input tokens in the original input text, and may be added to the non-searchable information set.
  • Processing the input text may include generating at least one fake or decoy excess tokens to be included in the output text.
  • decoy tokens can make the encrypted text more robust to statistical analysis.
  • the excess decoy tokens may be added with an intended target statistical distribution in order to disguise decoy tokens and make decryption by statistical analysis yet more difficult.
  • the at least one excess tokens are distinguishable from other tokens included in the processed text only after gaining access to a secret key. For example, English-language word frequencies may be used as a model for the target distribution of decoy tokens.
  • the non-searchable information set may be arranged in one or more non- searchable tokens (also referred to herein as control tokens), which may be included in the processed output text.
  • the control tokens may be placed before the normalized set of input tokens, after the normalized set of the input token, or can be located within the normalized set of input tokens.
  • the non-searchable information set may be fully or partially encrypted, and then included in the processed output text.
  • bit representations of non-searchable information set and searchable tokens may be obtained. Obtaining such bit representations may include compressing and encoding input data in certain encoding and compression schemes.
  • Error detection indication may be generated and added it to the non-searchable information set. For example, a checksum of the input text may be calculated and added to the non-searchable information set.
  • the obtained bit representations of input tokens and possibly the non- searchable information set may then be encrypted wholly or partially.
  • Encryption of searchable input tokens may provide a single encrypted form for every instance of a searchable input token.
  • Encryption of non-searchable information may provide a single or multiple encrypted forms for every instance of the same information set. Multiple encrypted forms may provide better security, but can render certain server-side operations difficult or impossible without decrypting the user data.
  • Multiple encrypted forms may use at least one bit of cryptographic salt embedded in the encrypted form.
  • the encrypted forms may then be converted into textual forms using a suitable encoding scheme.
  • a suitable encoding scheme may provide at least one of the following properties: (a) separation of encrypted tokens to allow an untrusted server application to determine searchable units within the processed text, (b) using a character set which does not cause an untrusted server application to determine searchable units (for example, the character "+" may be used to separate words by an untrusted server application and therefore may not be suitable for encoding encrypted tokens; for example, using both English and Hebrew characters may cause an application to separate sequences of both sets), (c) providing a compact representation such that server-side length limitation are less likely to be met, and (d) using an efficient algorithm in the intermediate module for encoding and decoding.
  • processed text may comprise a string of characters selected from a predetermined character set, for example, a character set comprising at least one contiguous subset of the Unicode character set.
  • the at least one contiguous subset may include characters in the letter character category, the number character category, or both.
  • the characters selected for use in the processed text may be selected from among a plurality of contiguous subsets of the Unicode character set, for example, two, three, four, or five separate subsets of the Unicode character set may be selected.
  • the number of subsets may be more than one and less than or equal to ten subsets of the Unicode character set.
  • the subset of the Unicode character set may be one or more subsets selected from Korean Hangul, Chinese, Japanese and Korean (CJK) Unified Ideographs, and a combination thereof.
  • Korean language characters may be used for server applications storing user input using UTF-16 encoding.
  • Korean characters represent a single range within the Unicode character set which contain only letter characters, they have an efficient encoding and decoding implementation.
  • Chinese character set may be used for the same reason but having a greater range than Korean; however, use of the Chinese character set may not be suitable in server application that separately search and/or index every individual Chinese character.
  • BASE64 encoding may be used for server applications storing user input using UTF-8 encoding.
  • BASE64 encoding itself contains the characters "+” and "/" which may cause server applications to conclude that a single encrypted token has one or more encrypted words.
  • space characters may be used to separate encrypted tokens.
  • Another character such as a period ".” may be used to separate encrypted tokens where space characters are not expected, for example in email address fields.
  • Processed output text may be included in unencrypted text when being received at the intermediate module, when sent from the untrusted server.
  • the system may generate a statistically significant feature in processed text.
  • the system may include a rare character or combination of characters in the processed text, to be searched for when detecting encrypted text within unencrypted text.
  • processed output text may be arranged in more than one output token, such that output tokens do not exceed certain length limits. For example, a length limit of 50 characters may be applied to the first output token and a length limit of 1000 characters may be applied to subsequent output tokens.
  • Some embodiments of the invention may use deterministic or non- deterministic transformations of input text, or a combination thereof.
  • Embodiments of the present invention may decide whether to transform input data (or portions thereof) deterministically or non-deterministically, or a combination thereof, then based on such decision, transform the input text deterministically or non-deterministically, or a combination thereof using at least one secret key to thereby obtain processed text, and transmit the processed text to the server.
  • a non-deterministic transformation to an input text is one whose result may be one of a plurality of possible outputs.
  • a deterministic transformation to an input text is one that may include only one possible output. Both kinds of transformations may typically use or depend on a secret key for determining the possible output or outputs.
  • deterministic token representations may be obtained, e.g., by applying reversible encryption depending on a secret key, or using an irreversible encryption using a secret key.
  • Non-deterministic tokens representations may be obtained, e.g., by applying a symmetric encryption algorithm using a secret key, or by applying an asymmetric encryption algorithm, using the private key of a public-private key pair as a secret key, or by other reversible transformation depending on a secret key.
  • the server may provide search functionality over previously entered input texts.
  • the intermediate module may choose in such case to deterministically transform individual searchable tokens within the input text. Such deterministic transformation may allow future search queries containing processed searchable terms to be processed correctly at the server.
  • Portions of the input text may be transformed non-deterministically, for example, in order to provide enhanced security.
  • portions of input text may be transformed detenninistically in order to allow server-side functions requiring exact matches between recurring instances of portions of input texts. For example, if a server may compare multiple revisions of an input text, wherein each revision is slightly different from its respective preceding revision, the server may provide a word-by-word or line-by-line difference analysis. Therefore, in such an example, deterministically transforming words or lines of input text allows such exact-match semantics on the server.
  • the step of processing input text in an embodiment of the invention may include (1) encrypting some or all of the input text into one or more processed tokens in a non-deterministic fashion, (2) generating processed tokens corresponding to some or all suitable input tokens of the input text (e.g., after tokenization, normalization of the input text, etc.) in a deterministic fashion, and (3) including both the non-deterministically and deterministically transformed processed data in the output processed text for transmission and storage at the network node.
  • the decision whether to transform the input text deterministically or non-deterministically, or a combination thereof may be based on whether said word is member of a set of words.
  • input tokens to be made available for searching may be transformed deterministically, thereby enabling a search on such words.
  • the processed input text which may include deterministically and non-deterministically transformed processed data may be returned as a search result.
  • input tokens not made available for searching need not be transformed deterministically.
  • the decision whether to transform the input text deterministically or non-deterministically, or a combination thereof may be based on the length of the word.
  • it may be decided to transform a word of the input text non-deterministically based on a length of said word.
  • short words e.g., words containing less than three characters
  • longer words e.g., words having three or more characters
  • short words having less than the minimum number of characters may not be searchable.
  • the non-deterministic transformation may be performed using a first key, and the deterministic transformation may be performed using a second key.
  • the first key and the second key may be identical. In other embodiments of the invention, the first and second keys may be different.
  • one or more deterministically generated tokens may be dropped or eliminated if the overall length of the output text exceeds a length limit. In some embodiments of the invention, the decision may be made not to transform at least a portion of the input text.
  • processed text may be received at the intermediate module, and a suitable reverse processing may be applied on the processed text to obtain original input text.
  • the original input text may be sent or otherwise provided to the client device, for example, to be displayed or provided to a user or application operating the client device.
  • Input text received at the intermediate module may be search queries including at least one search term to search for.
  • Search query input texts may be processed by the intermediate module in order to (a) facilitate correct search functionality at the network node, and (b) enable decryption of the search query at the intermediate module, if the network node sends it back to the client.
  • Search queries are generally processed at the network node in the same manner as other input texts are processed, and may apply further processing stages.
  • the step of transforming the input text may comprise deterministically transforming at least one search term in the search query using a first key to produce at least one deterministically transformed search term.
  • the step of transmitting the processed input text to the server may comprise transmitting the plurality of deterministically transformed search terms to the server.
  • a plurality of search terms in the search query may be treated and transformed separately.
  • the processed search query may include substantially only determieristically transformed search terms, wherein the deterministic transformation may be a reversible transformation.
  • the network node may search for the processed terms, and may return the result set to the client.
  • the intermediate module may use the processed search terms to obtain original input text.
  • transforming the search query may further comprise non-deterministically transforming substantially the entire search query using a second key to produce a non-detenninistically transformed text, and combining the at least one deterministically transformed search term and the non-deterministically transformed text using a logical disjunction operator (e.g., the "OR" operator) to obtain a combined processed text, wherein transmitting the processed input text to the server comprises transmitting the combined processed text to the server.
  • the network node may search for the processed search terms and for the non-deterministically processed text in disjunction, obtaining (or failing to find) results based on the deterministically transformed search terms, and obtaining no results for the non-deterministically transformed text.
  • the result of the search may therefore be to return the result of the search on the processed search terms.
  • the intermediate module may receive from the network node the non-deterministically transformed text, from which it may then obtain the original input text of the search query.
  • Some network node servers may return truncated search results in response to a query or other requests. For example, if the result of a search query is a 100 character field, the server may return only the first 20 characters of the field, and if the user selects the found record, the server will provide the full field. According to embodiments of the invention, the intermediate module should be able to work within such constraints. According to embodiments of the invention, where the server truncates units of the processed text, these units may be individual tokens within the processed text, the processed text as a whole, or both.
  • this problem may be solved, for example, by providing a repository of processed texts at the intermediate module, or at a storage device managed or otherwise controlled or accessible by the intermediate module.
  • the system may attempt to recover from such truncations before obtaining the original input text during the decryption stage, as follows: (1) the intermediate module may store unabridged processed text units at a trusted storage during the encryption stage, e.g., not via the untrusted server or its associated storage device, (2) when a truncated processed text is sent from the server and received at the intermediate module, the trusted storage unit is consulted to determine whether there exists therein one or more non-truncated processed text units matching or corresponding to the truncated processed text units, (3) if so, the intermediate module replaces the truncated processed text units with the corresponding unabridged processed text units to obtain a recovered processed text, (4) the recovered processed text are processed by a reverse processing method (e.g. decryption using a secret key)
  • a reverse processing method e
  • what is stored in the repository may be at least one unabridged processed element associated with the processed text.
  • the processed element may be said entire processed text or a word or other portion contained in the processed text.
  • the system and method using the repository may be applied to any suitable request from the client device, including, for example, a search request, a record request, or a report request.
  • An untrusted server may often apply one or more of a multitude of transformations on instances of processed user data. Such transformations may be expected by a client component residing on the trusted workstation, but may not be known to the intermediate module described herein. According to embodiments of the invention, therefore, the intermediate module may utilize methods to infer the kind of transformation applied to processed user data.
  • the intermediate module may add excess information (referred to herein as bait) to encrypted user data in known locations.
  • Bait may be used when processed user data is received at the intermediate module in order to infer the kind of transformation applied to processed user data.
  • transformations for which bait may be used are application of a certain character encoding scheme and HTML tag elimination.
  • an untrusted server may apply various and possibly combined encoding schemes to encrypted user data received thereat.
  • the encrypted text may be encoded in one of a multitude of encoding schemes used by an untrusted server application to communicate with the client component residing on the trusted workstation.
  • the encoding scheme may or may not be indicated in the message generated by the server.
  • the client component may typically be aware of the server component and may reliably know the encoding scheme used.
  • the intermediate module may not be aware of the specific encoding used in every instance of encrypted text.
  • the intermediate module when decrypting user data before providing decrypted user data to the client component, should be able to use the same encoding scheme applied in the server and expected by the client. That is, if the intermediate module does not know the encoding scheme used by the untrusted server and the trusted workstation, information may become lost or garbled in the processing and deprocessing by the intermediate module.
  • the intermediate module may add predetermined characters known as encoding bait to encrypted text.
  • the encoding bait may be encoded by the server along with the encrypted user data before providing to the client component.
  • the intermediate module detects encrypted tokens, the encoding bait may be examined to infer the kind of encoding scheme being used for encoding an instance of encrypted text. Accordingly, the intermediate module may use the inferred encoding scheme to encode decrypted text in a processed message.
  • Non-limiting examples of encoding schemes include: (i) UTF-8 encoding, (ii) encoding using HTML escape sequence followed by UTF-8; and (iii) encoding using JavaScript escape sequences, then again using JavaScript escape sequences, and then performing Latin- 1 encoding (AKA ISO-8859-1).
  • JavaScript escaping typically operates by replacing characters with a backslash and another character; for example, the newline character is replaced with a backslash and the character "n", i.e. the sequence " ⁇ n".
  • bait may be used to detect at least one transformation including replacement of at least one transformable character in the processed text with a matching replacement character or replacement character string, e.g., one or more escape characters.
  • the message sent to the client includes: " ⁇ QIFJDJNZOP", in which the original backslash of the bait is escaped using another backslash.
  • the intermediate module may detect the encrypted token in the message preceded by the original angle bracket and the escaped backslash. Thereupon, the intermediate module may decrypt the input QIFJDJNZOP into "This ' is a quote”. However, having inferred that the client is expecting a JavaScript-escaped text, the module may then use JavaScript escaping to encode the decrypted string, e.g., by escaping the quote to produce "This V is a quote”. The decrypted quote is thus using the encoding rules inferred from the encoded bait. The decrypted and encoded string is then forwarded to the client.
  • HTML transformations of which HTML tag elimination is a special case.
  • An untrusted server may receive text augmented with HTML markup, generate instances of received text with all or some HTML tags removed, and may return these instances to the client component.
  • the intermediate module may include an HTML tag bait in processed user data.
  • the HTML tag bait may be removed by the intermediate module when receiving processed user data, and infer, from its existence or inexistence, whether HTML tags may be removed from decrypted user data, and may accordingly retain or remove decrypted HTML tags in a message returned to the client component.
  • multiple pieces of bait may be added to a processed text to detect a plurality of transformations or encoding schemes applied by the untrusted server.
  • a plurality of separate portions of the input text may be transformed in which at least one of the plurality of portions of said input text includes no more than a maximum number of characters, for example, by truncation of the respective portion.
  • a plurality of separate portions of the input text may be transformed in which each of the plurality of portions of said input text includes no more than a maximum number of characters, for example, by truncation of the respective portion.
  • the method may detect common input tokens, including the words “this", "has” and the non-word "!. These input tokens may be encrypted in a non- deterministic manner, e.g., they may be encrypted with salt (denoted "*").
  • the method may detect uncommon input tokens "word”, "sentence” and five". These words may be encrypted in a deterministic manner.
  • the order of input tokens may be changed and order metadata may be generated accordingly.
  • the order metadata, the case metadata, and the plural metadata may be included in a control token 530.
  • a text processing feature common in many SaaS applications is sorting records by lexicographic order of a particular field or other attribute. It may therefore be beneficial to provide processed text by an order-preserving encryption process.
  • order preservation can be obtained by any of the following methods: (i) maintaining a list of all records on the interception module, performing site-specific ordering when needed. This method requires almost duplication of each server's functionality in both presentation and data management; (ii) providing an API for the server to query the sort order of a particular string; or (iii) creating a lexicographically sortable representation which preserves the real sort order without any modification in the network node.
  • An encryption method may preserve order of input text records by applying the following stages or a combination thereof: (1) converting input data into a numeric values (if not already numeric), (2) applying an order- preserving transformation on the numerical values to obtain output numeric value, (3) obtaining a lexicographically sortable representation from the output numeric value, and (4) using the lexicographically sortable representation in the processed output text, as either a prefix string (in textual data) or as the whole output data.
  • the order-preserving transformation may be a monotonously increasing function.
  • the order preserving function may use a private key that can be generated from a random source, in order to parameterize its functionality. A private key may be generated for every set of inputs sorted collectively as a set.
  • generating order information may include applying an order-preserving, secret-key-dependent function on the input text.
  • order information may be produced based on a truncated version of the input text.
  • the order information may be produced based on a plurality of truncated words in the input text, in the order in which they appear therein.
  • the intermediate module may process input text by applying an order-preserving transformation, wherein the order- preserving transformation comprises generating order information based on the input text, the order information indicative of a relative order of the input text within a set of possible input texts according to a collation rule, transforming the input text to obtain processed text, and transmitting the processed text to the server.
  • the order information may be sent to the server in association with said processed input text by adding the order information as a prefix to the processed input data and transmitting the combined order information and processed input data to the server.
  • the intermediate device may consider only a reduced portion of the input data when generating an order-preserved output. Reducing the input to obtain a reduced portion of the input data may include (a) ignoring certain words such as "the", "a”, (b) ignoring all characters in every word occurring at a certain position within the word or later, e.g. ignoring the characters "ra” in "zebra", (c) ignoring final words within the record (d) contracting the input domain of the order-preserving function, (e) ignoring certain character properties such as letter case, or (e) a combination thereof.
  • Figure 7 illustrates various stages of method 170 according to an embodiment of the invention that may be used to obtain an order-preserving representation of textual data to be included in processed text.
  • input text to be encrypted may be received.
  • certain words may be discarded from the input text.
  • certain character properties may be discarded, such as letter case, diacritics, ligatures or other character properties.
  • input words may be truncated according to a predetermined parameter of the encryption scheme, such that final characters from input words may be discarded.
  • stage 175 certain final words of the input text may be discarded. Accordingly, performing one or more of optional stages 172, 173, 174, and 175 may produce a reduced input text.
  • the (optionally reduced) input text may be converted into a numeric value to obtain a input numeric value.
  • an order- preserving function may be applied to the input numeric value to obtain an output numeric value.
  • an order preserving representation may be obtained from the output numeric value.
  • the order preserving representation may be placed as either a prefix or the whole encrypted data of the processed text.
  • the input numeric value of input text "The Green Zebra” may calculated as follows: (i) receiving a set of input tokens "The Green Zebra”; (ii) ignoring irrelevant input token “the” to provide relevant input tokens "Green Zebra", (iii) normalizing the relevant input tokens to provide "green zebra”; (iii) selecting, for example, based on user definitions, only the first three letters of every input token, to provide six relevant characters: "gre zeb"; (iv) calculating the numeric value as shown in Table 1 of each letter based on the weight of its location in the input token; and (v) summing up the letters values to provide a numeric value of the set of input tokens which is 0.296199790068345.
  • the alphabet size is 26.
  • Figure 8 illustrates a method 300 of generating an order-preserving function according to an embodiment of the invention, to be used, for example, in stage 177 of method 170.
  • the domain (Dj, D 2 ) and range (R l 5 R 2 ) of the function may be determined, for example, according to configuration by a user or program.
  • a private key K is obtained to be used in calculation of the order-preserving function output value.
  • an input value Vj n is received (possibly from stage 176 of method 170).
  • the function range may be altered, so it starts and ends at key- dependent positions, lying within the original range.
  • the numeric input value V; n is checked to see whether it lies within the lower part (Dj, D m j d ) or higher part (D m j d , D 2 ) of the current domain (D l 3 D 2 ).
  • stage 188a is carried out, otherwise stage 188b is carried out.
  • the function's domain (Dj, D 2 ) and range (Ri, R 2 ) are modified: in stage 188a, (Dj, D 2 ) is set to (Di, D m i d ) and (R l5 R 2 ) is set to (Rj, RL); in stage 188b, D ⁇ , D 2 ) is set to (D m id, D 2 ) and (Ri, R 2 ) is set to (RH, R 2 ). Stages 185-188 may be repeated until a predetermined stop criterion is satisfied at stage 189.
  • the stop criterion may be for example a threshold size D t hreshoi d being greater than the current domain size
  • D 2 -Di; or a threshold size Rthreshoi d being greater than the current range size
  • R 2 -R1; or a combination thereof.
  • the following example illustrates an encoding scheme which may be used in stage 178 of method 170. It is assumed that the transformed numeric value generated by an order preserving function is 0.344323947, that the lexicographically sortable representation is ten characters long and includes only lowercase English letters only. Table 2 illustrates the ten iterations of an arithmetic coding scheme that is applied to generate ten characters of the lexicographically sortable representation.
  • a physical computer readable medium can be provided. It stores instructions that when executed by a processor can cause the processor to implement method 100 or portions thereof.
  • the physical computer readable medium can be a disk, a diskette, a tape, a cassette, a disk on key, a flash memory unit, a volatile memory unit, and the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Data Mining & Analysis (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Document Processing Apparatus (AREA)
  • Information Transfer Between Computers (AREA)
  • Storage Device Security (AREA)

Abstract

A method and system for securing data transmitted between a client device and a server by obtaining input text at an intermediate module, processing the input text to obtain processed text, deciding whether to transform the input text deterministically or non-deterministically, or a combination of deterministically and non-deterministically, and based on that decision, transforming the input text accordingly, using at least one key to obtain processed text, and transmitting the processed text to the server. Other embodiments and features of the invention include (independently or together) searching for processed text, allowing for sorting of processed text records by applying an order-preserving transformation, storing unabridged processed elements in a storage device managed by the intermediate module, providing a function by the intermediate module on the input data in lieu of the server, and processing the processed text so as to determine by the intermediate module a transformation applied by the server on input text.

Description

SYSTEM, APPARATUS AND METHOD FOR ENCRYPTION AND
DECRYPTION OF DATA TRANSMITTED OVER A NETWORK
BACKGROUND OF THE INVENTION
[001] The Internet and the World Wide Web allow companies and organizations to offer services in a document, such as a digital form of web applications, to businesses and individuals who may access and utilize these services with a personal computer and a web browser. Making such documents and particularly applications available over a network is typically referred to as Software as a Service ("SaaS")- Some examples of applications that may be provided in SaaS form are electronic mail, instant messaging, productivity tools, customer relationship management, enterprise resource planning, human resources applications, blogs, social networking sites, etc.
[002] This model has inherent security risks. User data, such as messages, customer records, and company financials, are stored on remote servers beyond the control of the provider of the user data. Storing personal or corporate information on remote servers exposes the data owner to many risks, and implies that the information's owner must trust the entity that owns the computer systems hosting the information and the network connecting the information owner and the hosting systems.
[003] For instance, commonly known accounting software solutions require their customers to post accounting information to be stored on the solution provider's servers. In such systems, the customer must entrust the solution provider with the accounting information, thereby relinquishing a certain measure of control over the privacy and integrity thereof.
[004] In certain software applications, a variety of encryption schemes are used to render data unintelligible to anyone who does not possess the appropriate decryption methods or keys. For example, application providers may enable and/or require an information owner to encrypt data in transit between a client and a host using secure socket layer (SSL) encryption or another method. This prevents an internet service provider (ISP) and other potential eavesdroppers from seeing the data itself during transit. The data is accordingly decrypted upon arrival to the hosted application, and the hosted application vendor may view and manipulate the owner's unencrypted data. However, this method exposes the sensitive data at the hosted application vendor. [005] U.S. Patent No. 7,165,175, describes an apparatus and method for selectively encrypting portions of data sent over a network between client and server. The apparatus includes parsing means for separating a first portion of the data from a second portion of the data, encrypting means for encrypting only of the first portion of the data, and combining means for combining the encrypted first portion of the data with the second portion of the data. The apparatus further includes decrypting means installed at the client for decrypting the encrypted portion of the data.
[006] PCT Patent Publication Number WO 01/047205, discloses enhanced computer network encryption using downloaded software objects. This application describes a method and a system for securing highly sensitive financial and other data contained in transmissions over a public network, such as the World Wide Web, linking a web server computer to a remote client computer. By determining a desired (usually strong) specific standard of encryption for all sensitive communications between web server and client, and "pushing" the capability to encrypt to such standard to the client by automatically downloading from the web server to the client, and executing within the client's web browser, software objects to perform encryption/decryption tasks pursuant to the chosen standard, strong encryption is readily assured even if the client did not originally have such strong encryption capabilities.
[007] One problem with the application of these approaches to hosted SaaS applications is that such applications require that operating information, e.g., data made available for manipulation over the network, be unencrypted in order to allow manipulation of the information by the application provider, thereby exposing the data to the application provider, and otherwise rendering the data vulnerable to security concerns during manipulation.
BRIEF DESCRIPTION OF THE DRAWINGS
[008] The foregoing and other objects, features, and advantages of the present invention will become more apparent from the following detailed description when taken in conjunction with the accompanying drawings. In the drawings, similar reference characters denote similar elements throughout the different views.
[009] Figure 1 illustrates a system including an intermediate module and its environment according to an embodiment of the invention; [0010] Figure 2 illustrates a flow of data from a client terminal to a network node, according to an embodiment of the invention;
[001 1] Figure 3 illustrates a flow of data from a network node to a client terminal, according to an embodiment of the invention;
[0012] Figure 4 illustrates a method for encrypting data allowing server-side searching and indexing of encrypted data, according to an embodiment of the invention;
[0013] Figure 5 illustrates an example of a normalization process and an input text that includes a sentence;
[0014] Figure 6 illustrates an example for processing a word, according to an embodiment of the invention;
[0015] Figure 7 illustrates a method for encrypting data allowing server-side sorting of encrypted data, according to an embodiment of the invention;
[0016] Figure 8 illustrates a method of generating an order preserving function, according to an embodiment of the invention;
[0017] Figure 9 illustrates an example of three generated order-preserving encryption function using three different keys according to an embodiment of the invention; and
[0018] Figure 10 schematically illustrates a flow of data enabling searching of encrypted user data in an embodiment of the present invention.
DETAILED DESCRIPTION OF EMBODIMENTS OF THE INVENTION
[0019] In the following detailed description, numerous specific details are set forth in order to provide a thorough understanding of the invention. However, it will be understood by those skilled in the art that the present invention may be practiced without these specific details. In other instances, well-known methods, procedures, and components have not been described in detail so as not to obscure the present invention.
GENERAL DATA FLOW
[0020] Reference is made to Figure 1, which illustrates a system including an intermediate module 200 and its environment according to an embodiment of the invention, as well as a flow of data from client module at workstation 230 to application service provider at network node 260. [0021] Intermediate module 200 may include an interception module 210 and a data protection module 220. Intermediate module 200 may be operatively connected to a client terminal 230, e.g., a trusted workstation, and to a network node 260, e.g., an application service provider, via a network, such as public network 250. It will be understood that Fig. 1 is an exemplary embodiment of the invention, and that other network configurations are possible. For example, trusted workstation 230 and intermediate module 200 may be remote from each other, for example, operatively connected over a trusted network link.
[0022] For example, trusted workstation 230 may be connected to a plurality of intermediate modules, including for a plurality of organizations, and intermediate their data traffic with one or more application service providers over a public network.
[0023] It will be recognized that reference is made throughout the present application to an intermediate module, however, the module may reside on the client device, at a gateway server, e.g., on premises associated with the client device, or at a separate server or servers in communication with the trusted client device and the untrusted server.
[0024] Thus, for example, the interception and/or data protection modules may be installed on the trusted workstation, possibly as a browser plug-in, possibly as an operating system driver or module, possibly as a software library and possibly as another software component.
[0025] In another example, the intermediate module may be positioned right in front of the untrusted application, where all accesses to the untrusted application pass through the intermediate module.
[0026] In yet another example, the intermediate module may be a separate server to which client module transmits input data, which in turn transmits the processed data to the untrusted server.
[0027] A trusted workstation 230 may be a client computer having installed thereon a client component 240 that may interact with the intermediate module. Client component 240 may be a web application HTML form running in a web browser while network node 260 can be an HTTP web server of a SaaS vendor. Client component 240 can include API client software and, additionally or alternatively, any other method of remotely accessing network node 260.
[0028] End users can use client component 240 to enter, retrieve and manipulate data, intended to be passed to, or retrieved from, network node 260. End users may include human users utilizing a software agent (e.g. a web browser) and automated agents using a client API.
[0029] Interception module 210 of intermediate module 200 may intercept or otherwise receive input (unprocessed) text from trusted workstation 230, and provide the input text to data protection module 220 for processing. Interception module 210 may intercept the data flowing between client component 240 and network node 260, can modify it, and can interfere with the normal data flow. For example, the interception module may trigger an authentication session in order to determine that an end user can access data stored in network node 260. Interception module 210 can be (or be executed by) a web proxy server.
[0030] Data protection module 220 may receive input text and process it selectively. Input text that is not selected to be processed may be transmitted as unprocessed text to network node 260 for manipulation and/or storage in storage system 270 substantially without processing, or with less processing than text selected for processing. For text to be processed, data protection module 220 may process the input text to provide processed text, which may be provided over public network 250 to untrusted application service provider 260 for storage, manipulation, etc. According to embodiments of the invention, therefore, application service provider 260 may thereby not receive the unprocessed text, but rather store and manipulate processed text. As described below, the processing may include applying a search- and/or sort-enabling encryption scheme, to thereby provide encrypted text data. According to embodiments of the invention, the processing may selectively encrypt text, selecting which input text to transmit to application service provider 260 in processed form, and which input text to transmit in unprocessed form.
[0031] It will be understood that intermediate module 200 may include one or more servers, one or more workstations, one or more personal computers, one or more laptop computers, one or more media players, one or more personal data accessories, one or more integrated circuits, and/or one or more printed circuit boards, dedicated hardware, or a combination thereof.
DATA FLOW INTERVENTION
[0032] Intermediate module 200 may include or provide functionality additional to or unrelated to encryption and/or decryption, and may alter the normal message flow between the client trusted workstation 230 and the server untrusted application 260. Such additional functionality may have the effect of compensating for server-side functionality lost due to encryption.
[0033] According to embodiments of the invention, the intermediate module may receive input data from the client device, intercept said input data, e.g., prevent or otherwise not allow the input data to be transmitted to the server, and the intermediate module may provide the relevant function on the input data that the server would otherwise provide. For example, the intermediate module may generate at least one message to the client device based on a result of the function.
[0034] According to some embodiments of the invention, the intermediate module may obtain from said client device a response to the at least one message, based on the response, process the input text to obtain processed input text, and transmit the processed input text to the server.
[0035] For example, a server may generally check the spelling of input text and provide the user with a feedback message, for example, indicating misspelled words and suggesting corrections. However, when the text received by the server is encrypted, in accordance with embodiments of the present invention, the server may not be able to perform spell checking without decrypting the processed text. Therefore, in accordance with embodiments of the invention, the intermediate module may provide additional functionality, for example, spell-checking, on input text, and may provide the user with a feedback message, e.g., a result of the spell-checking function on the input data, such as an error message, a suggested spelling correction, or a message that no errors were detected.
[0036] In one embodiment of the invention, such additional functionality may include replacing server-side search functionality, for example, by storing a copy of the user data (or a portion thereof) and searching it in the intermediate module in response to a search request made by the client.
[0037] In an embodiment of the invention, such additional functionality may include triggering an authentication session between the client and the intermediate module before allowing user data to be encrypted and decrypted.
[0038] In an embodiment of the invention, such additional functionality may include format-checking input data, and if appropriate, for example, if the input data is in a first format, requesting the client to send information in a second format, different from the first format. Such received and/or requested formats may include, for example, (a) a delta- encoded format of the input text wherein only differences from a known version of the input text are transmitted, (b) a full version of the input text, (c) the input text contained in a specific document format, or a combination thereof. For example, input data may be received in a delta-encoded format, and the intermediate module may request the input data in a full input text format. Other examples of specific document formats include but are not limited to PDF, DOC, HTML, etc.
[0039] According to embodiments of the invention, the processed text may be stored at network node 260, for example, in storage system 270, and manipulated remotely over public network 250. As described below, the processing may be such that searching and/or sorting may be enabled on the processed text, in such a manner as to be transparent or unseen by the trusted user and/or the untrusted server application, without decrypting the processed data at the application service provider. In the below description, storage system 270 is at times denoted a database; however, it will be recognized that storage system 270 may be any suitable digital storage architecture, and may be stored on any suitable hardware, e.g., a redundant array of independent disks (RAID), etc.
[0040] Accordingly, as shown in the illustrative data flow in Figure 1, trusted workstation 230 may provide unprocessed input data such as "Acme Corp." for use by application service provider 260. The input text may be intercepted at intermediate module 200, for example, by interception module 210, and processed by data protection module 220. Data protection module 220 may process the input text into one or more individual text units referred to as tokens, and control data, which may be encrypted, shown schematically as processed data "DHFOEFRGEJIC", and send the processed data over network 250 to untrusted application service provider 260, where it may be manipulated by users and/or stored in database 270. It will be understood that "DHFOEFRGEJIC" is schematic, and that any suitable encryption algorithm may be used, for example, resulting in any symbol set. As described below, according to one embodiment of the invention, non-Latin characters or symbols may be used, for example, Korean or Chinese language symbols.
[0041] Reference is made to Figure 2, which illustrates a generalized flow of data from client terminal 230 to application service provider 260, according to an embodiment of the invention. The end user may provide input text that is not encrypted (clear text). The input data may be transmitted from client terminal 230 towards network node 250 and be intercepted by interception module 210. Interception module 210 may provide the input text to data protection module 220 that processes the input data to provide processed data, wherein the processing includes encrypting at least a portion of the input text. The processed data may then be sent to interception module 210, which in turn transmits it over public network 250. The processed data may be received by network node 260 for manipulation by an application, e.g., a SaaS application, and stored in database 270. It will be understood that the input data may be new or updated data to be stored in storage system 270, or it may be any data provided to an SaaS application for real time manipulation, for example, one or more parameters of a command, e.g., a search command.
[0042] Reference is made to Figure 3, which illustrates a flow of data from network node 260 to client terminal 230, according to an embodiment of the invention. Such a process may be initiated by a user at workstation 230 by making a retrieval or search request. The parameter of the request, e.g., the terms to be searched for, may be processed as described above in connection with Fig. 2, and the application at network node 260 may search or sort the processed data, possibly based on the processed parameter provided. Network node 260 may retrieve processed data, for example, in response to a search or retrieval request, where the processed data may include some encrypted portions. The processed data may be sent over public network 250 towards client terminal 230. Interception module 210 may intercept the processed data and provide it to data protection module 220 to identify any encrypted data within the processed data. Any identified encrypted data may be decrypted, and provided to interception module 210 to resume data communication. Interception module 210 may forward the unprocessed data (decrypted plaintext data) to client component 240 for display to a user.
TOKENIZATION AND NORMALIZATION GENERALLY
[0043] The application running on network node 260 may be requested to search stored data and return a result. Figure 10 schematically illustrates a flow of data enabling searching of encrypted user data in an embodiment of the present invention.
[0044] First, the client 240 may enter data and make several store requests to the untrusted application 260 passing through the intermediate module 200. The intermediate module encrypts user inputs such that every searchable word is mapped onto an encrypted searchable word, such that every input searchable word has exactly one corresponding encrypted searchable word. Encrypted searchable words may be normalized before encryption.
[0045] For example, in Figure 10 the words "BAD", "Bad" and "bad" are all encrypted into the encrypted word "cccc", so searching for "bad" provides results containing "BAD" and "Bad".
[0046] In Figure 10 the words "the" and "a" are considered non-searchable and do not result in an individual encrypted searchable token. Conversely, the words "dog" and "cat" map into the encrypted searchable words "eeee" and "bbbb" respectively. The information holding the case markers for the searchable words and the non-searchable words is contained in the encrypted tokens "ZZZytuv" and "ZZZabcd".
[0047] Reference is made to Fig. 4, which is a schematic illustration of a data processing method 100 designed to enable server-side searching and/or indexing of user textual data, according to an embodiment of the invention. Method 100 may be applied by an intermediate module, for example, by a data protection module as described above. It will be understood that the method of receiving processed data and converting it to unprocessed data may be substantially the reverse of the described method.
[0048] Method 100 starts at stage 1 10 by receiving input message, for example, by an intermediate module operatively connected between a client terminal and a network node.
[0049] At stage 1 11, the method may identify individual data units within the input message to be handled. For example, an input message may include a First Name field, a Last Name field, and a Document Body field.
[0050] At stage 112, the method may iterate over all identified data units, first obtaining an unhandled data unit at stage 113, then selecting whether or not to process the obtained data unit. Processed data units may be processed individually or collectively.
[0051] At stage 114, the method may then determine whether to process the input data. Input data that are not modified are retained (stage 130). At stage 115, the method may determine whether and/or what portions of the input data unit text should be processed. For example, portions of an input text not suitable for encryption may include search connectors such as "OR", "AND", or application-specific significant text markup such as "{important}" or "@location", indicating a special kind of server processing to be carried out on the data.
[0052] For input text to be processed, the method proceeds to stage 116, in which the input text is broken down into individual text units called tokens (the process of determining tokens from the input text is referred to herein as tokenization). It will be recognized that tokenization is optional, and method 100 may include (a) encrypting all input data together as a single token, (b) encrypting input data determined to be suitable for encryption separately, to provide a plurality of processed tokens, wherein each processed token represents a piece of input text, or (c) a combination thereof.
[0053] The method may then proceed to stage 1 17, in which certain input tokens may be recognized as unsuitable for searching. For example, the criterion for determining each individual word may be a list of predefined words, a threshold word frequency in a word frequency list such as English dictionary frequency list, the length of the word, or a combination thereof.
[0054] At stage 118, the method may extract information unimportant for searching from searchable input tokens, for example: letter case, letter diacritics, ligature breakup, Unicode character composition or decomposition (as defined by the Unicode standard). The extracted information may be stored for later use in a separate location and may be placed in an output token called a control token. The text tokens may be converted into a normalized form which does not contain the extracted information. This process is referred to herein as normalization. It will be recognized that normalization is optional, and may be done in any suitable manner.
[0055] At stage 1 19, the method may obtain bit representations of all information units to be encrypted, including searchable tokens, information extracted from searchable tokens, and other portions of the input, in order to encrypt it using a cryptographic cipher. Information units may be classified as searchable or non-searchable. Non-searchable information units may be combined or broken up. The order of searchable tokens in the input text may be changed, and an indication of the original order may be added to the non-searchable information units.
[0056] At stage 120, the method may encrypt information units by using a cryptographic cipher, such as AES or DES. [0057] At stage 121, the method may convert the encrypted bit representations into output text units consisting of a sequence of characters taken from a character set, for example, one or more predefined contiguous portions of Unicode, as described in further detail below. This character set may be defined in advance to assist decrypting.
[0058] At stage 122, the input data unit in the input message may be replaced with the output text obtained at stage 121.
[0059] The method may continue to apply stages 112-122 to all identified input units, and then transmit the processed message to the network node hosting the server application (stage 131).
TOKENIZATION
[0060] As described above, the data processing method may involve tokenization, which in turn may involve a number of steps. It will be understood that some of the steps described in connection with the illustration of tokenization below are are optional. Furthermore, it will be understood that de-tokenization, i.e., converting tokenized processed data into unprocessed data, may be substantially the reverse of the described method.
[0061] In order to enable searching over encrypted user data, input texts may be broken into a number of segments in a process called tokenization. Segments holding individually searchable terms are called (unprocessed) input tokens, where input tokens are typically whole words. Input segments that are not tokens are added to an information set called a Non-Searchable Information Set. Such segments may include punctuation, space characters, and other characters.
[0062] In connection with tokenization, several words may be combined into a single token, or a single word may be broken into two or more constituent tokens. For example, compound words like "whiteboard" may be decomposed into individually searchable tokens "white" and "board". For example, languages such as Chinese or Japanese do not usually use spaces or another distinct character to separate words in written text, and thus a single Chinese input text may be broken into several input tokens. The indication of such combination or breaking may be added to the non-searchable information set.
[0063] Tokenization may include detection of morphological variants of words, modifying the input token to a normalized form and adding an indication of the original input token to the non-searchable information set. For example, morphological invariants of words may include plural versus singular noun forms ("word", "words"), verb conjugation ("cry", "cried", "crying"), etc.
[0064] Tokenization may include detection of words unlikely to be searched for, and their removal from the set of searchable input tokens and addition to the non-searchable information set. For example, such detection may use (a) a predefined set of words, (b) a dictionary holding word frequency list and a threshold frequency where words with frequency above the threshold frequency are considered unsearchable, (c) a minimum and/or maximum length for a searchable word, or (d) any combination thereof.
[0065] Tokenization may support server-side searching and/or indexing which ignore certain character properties, such as letter case, diacritics, ligatures or Unicode composition/decomposition. For example, searching for "ToKeN" and "tOkEn" may produce the same results when searching text, having all strings containing a variant of the word "token" to appear on the search results.
[0066] Supporting such property-insensitive searching may be performed by (1) converting every input character into a single canonical form, (2) producing an indication of the original character, and (3) adding this indication to the non-searchable information set. For example, tokenization may support case-insensitive searching on the server side by converting input token characters into a single letter case (e.g. lowercase) and adding an indication of the original letter case to the non-searchable information set.
[0067] For example, diacritical marks may be ignored during searching, Ignoring added, removed or modified diacritical marks, e.g., "E" or "E" or "E". For example, a search for "cafe" will match user data such as "Cafe", "CAFE", "cAfe" or "cafe". The system may convert all these word instances into the normalized form "cafe" add an indication of the original diacritics to the non-searchable information set.
[0068] For example, the system may support ligature-insensitive searches (for example, daemon and daemon). The system may convert ligatures into normalized form such as converging "as" to "ae", produce an indication of the original ligature, and add it to the non-searchable information set.
[0069] Reference is made to Fig. 6, which illustrates processing of the word "Cafe". The input text is stripped of the uppercase and diacritics, and converted to the token "cafe". The associated control token indicates that the first letter is uppercase, and that the fourth letter has an acute accent. According to some embodiments of the invention, letters may be assumed to be lowercase with no diacritics, so that the control token need not indicate lowercase letters or absence of diacritics.
TEXT MARKUP AND AUGMENTATION INFORMATION
[0070] According to an embodiment of the invention, processing input text may include detection of application-specific text at least one handling instructions, and may either add these handling instructions to the non-deterministically transformed text or leave this information in clear text in the processed text, so that the untrusted server may apply any kind of handling related to this text augmentation information. For example, HTML is a text augmentation which may add formatting information to user text by embedding HTML tags in the text. The system may handle input HTML tags by at least one of: (1) adding HTML tags to the non-searchable information, (2) including input HTML tags in the output processed text without encryption to allow server-side handling, (3) treating HTML tags as normal text, e.g., applying any handling performed on non-HTML-tag input text to the HTML tags.
[0071] According to some embodiments of the invention, upon detecting at least one handling instruction in input text, the intermediate module may decide not to transform said at least one handling instruction.
[0072] According to some embodiments of the invention, upon detecting at least one handling instruction in input text, the intermediate module may decide to transform said at least one handling instruction non-deterministically.
[0073] The system may add context information to the non-searchable information set, such as the time, the user, or other information known to the system when producing processed text.
[0074] For example, in accordance with embodiments of the invention, the system may add custom indications to the encrypted tokens such as "important" or "sensitive", such that upon decryption these indications may be noticed, an event indicating the decryption of the input information may be generated, and this event handled, for example, by adding a record to a log file. TOKEN ORDERING
[0075] Processing the input text may include changing an order of input tokens within the processed text. When an order is changed, token order indication may be generated to indicate an order of the input tokens in the original input text, and may be added to the non-searchable information set.
EXCESS TOKENS
[0076] Processing the input text may include generating at least one fake or decoy excess tokens to be included in the output text. Such decoy tokens can make the encrypted text more robust to statistical analysis. The excess decoy tokens may be added with an intended target statistical distribution in order to disguise decoy tokens and make decryption by statistical analysis yet more difficult. The at least one excess tokens are distinguishable from other tokens included in the processed text only after gaining access to a secret key. For example, English-language word frequencies may be used as a model for the target distribution of decoy tokens.
TOKENIZATION PROCESS
[0077] The non-searchable information set may be arranged in one or more non- searchable tokens (also referred to herein as control tokens), which may be included in the processed output text. The control tokens may be placed before the normalized set of input tokens, after the normalized set of the input token, or can be located within the normalized set of input tokens. The non-searchable information set may be fully or partially encrypted, and then included in the processed output text.
[0078] Before encryption, bit representations of non-searchable information set and searchable tokens may be obtained. Obtaining such bit representations may include compressing and encoding input data in certain encoding and compression schemes.
[0079] Error detection indication may be generated and added it to the non-searchable information set. For example, a checksum of the input text may be calculated and added to the non-searchable information set.
[0080] The obtained bit representations of input tokens and possibly the non- searchable information set may then be encrypted wholly or partially. Encryption of searchable input tokens may provide a single encrypted form for every instance of a searchable input token. Encryption of non-searchable information may provide a single or multiple encrypted forms for every instance of the same information set. Multiple encrypted forms may provide better security, but can render certain server-side operations difficult or impossible without decrypting the user data. Multiple encrypted forms may use at least one bit of cryptographic salt embedded in the encrypted form.
[0081] The encrypted forms may then be converted into textual forms using a suitable encoding scheme. Such an encoding scheme may provide at least one of the following properties: (a) separation of encrypted tokens to allow an untrusted server application to determine searchable units within the processed text, (b) using a character set which does not cause an untrusted server application to determine searchable units (for example, the character "+" may be used to separate words by an untrusted server application and therefore may not be suitable for encoding encrypted tokens; for example, using both English and Hebrew characters may cause an application to separate sequences of both sets), (c) providing a compact representation such that server-side length limitation are less likely to be met, and (d) using an efficient algorithm in the intermediate module for encoding and decoding.
[0082] According to some embodiments of the invention, processed text may comprise a string of characters selected from a predetermined character set, for example, a character set comprising at least one contiguous subset of the Unicode character set. In some embodiments, the at least one contiguous subset may include characters in the letter character category, the number character category, or both. In some embodiments, the characters selected for use in the processed text may be selected from among a plurality of contiguous subsets of the Unicode character set, for example, two, three, four, or five separate subsets of the Unicode character set may be selected. In some embodiments, the number of subsets may be more than one and less than or equal to ten subsets of the Unicode character set.
[0083] In some embodiments of the invention, the subset of the Unicode character set may be one or more subsets selected from Korean Hangul, Chinese, Japanese and Korean (CJK) Unified Ideographs, and a combination thereof. Accordingly, for example, Korean language characters may be used for server applications storing user input using UTF-16 encoding. As Korean characters represent a single range within the Unicode character set which contain only letter characters, they have an efficient encoding and decoding implementation. For example, Chinese character set may be used for the same reason but having a greater range than Korean; however, use of the Chinese character set may not be suitable in server application that separately search and/or index every individual Chinese character.
[0084] For example, a possibly modified BASE64 encoding may be used for server applications storing user input using UTF-8 encoding. BASE64 encoding itself contains the characters "+" and "/" which may cause server applications to conclude that a single encrypted token has one or more encrypted words.
[0085] For example, space characters may be used to separate encrypted tokens. Another character such as a period "." may be used to separate encrypted tokens where space characters are not expected, for example in email address fields.
[0086] Processed output text may be included in unencrypted text when being received at the intermediate module, when sent from the untrusted server. In order to trigger decryption, the system may generate a statistically significant feature in processed text. For example, the system may include a rare character or combination of characters in the processed text, to be searched for when detecting encrypted text within unencrypted text.
[0087] According to some embodiments of the invention, processed output text may be arranged in more than one output token, such that output tokens do not exceed certain length limits. For example, a length limit of 50 characters may be applied to the first output token and a length limit of 1000 characters may be applied to subsequent output tokens.
COMBINING DETERMINISTIC AND NON-DETERMINISTIC ENCRYPTION
[0088] Some embodiments of the invention may use deterministic or non- deterministic transformations of input text, or a combination thereof. Embodiments of the present invention may decide whether to transform input data (or portions thereof) deterministically or non-deterministically, or a combination thereof, then based on such decision, transform the input text deterministically or non-deterministically, or a combination thereof using at least one secret key to thereby obtain processed text, and transmit the processed text to the server.
[0089] As used herein, a non-deterministic transformation to an input text is one whose result may be one of a plurality of possible outputs. A deterministic transformation to an input text is one that may include only one possible output. Both kinds of transformations may typically use or depend on a secret key for determining the possible output or outputs.
[0090] According to embodiments of the invention, deterministic token representations may be obtained, e.g., by applying reversible encryption depending on a secret key, or using an irreversible encryption using a secret key. Non-deterministic tokens representations may be obtained, e.g., by applying a symmetric encryption algorithm using a secret key, or by applying an asymmetric encryption algorithm, using the private key of a public-private key pair as a secret key, or by other reversible transformation depending on a secret key.
[0091] In some embodiments of the invention the server may provide search functionality over previously entered input texts. The intermediate module may choose in such case to deterministically transform individual searchable tokens within the input text. Such deterministic transformation may allow future search queries containing processed searchable terms to be processed correctly at the server. Portions of the input text may be transformed non-deterministically, for example, in order to provide enhanced security. According to embodiments of the invention, portions of input text may be transformed detenninistically in order to allow server-side functions requiring exact matches between recurring instances of portions of input texts. For example, if a server may compare multiple revisions of an input text, wherein each revision is slightly different from its respective preceding revision, the server may provide a word-by-word or line-by-line difference analysis. Therefore, in such an example, deterministically transforming words or lines of input text allows such exact-match semantics on the server.
[0092] For example, the step of processing input text in an embodiment of the invention may include (1) encrypting some or all of the input text into one or more processed tokens in a non-deterministic fashion, (2) generating processed tokens corresponding to some or all suitable input tokens of the input text (e.g., after tokenization, normalization of the input text, etc.) in a deterministic fashion, and (3) including both the non-deterministically and deterministically transformed processed data in the output processed text for transmission and storage at the network node.
[0093] According to some embodiments of the invention, the decision whether to transform the input text deterministically or non-deterministically, or a combination thereof may be based on whether said word is member of a set of words. In this fashion, for example, input tokens to be made available for searching may be transformed deterministically, thereby enabling a search on such words. Upon location of a record based on the search, the processed input text, which may include deterministically and non-deterministically transformed processed data may be returned as a search result. Conversely, input tokens not made available for searching need not be transformed deterministically.
[0094] In some embodiments of the invention, the decision whether to transform the input text deterministically or non-deterministically, or a combination thereof may be based on the length of the word. Thus, for example, it may be decided to transform a word of the input text non-deterministically based on a length of said word. Thus, for example, in an example of an embodiment of the invention, short words, e.g., words containing less than three characters, may be transformed non-deterministically, while longer words, e.g., words having three or more characters, may be deterministically transformed. Accordingly, in such a scheme, short words having less than the minimum number of characters may not be searchable.
[0095] In an embodiment of the invention, the non-deterministic transformation may be performed using a first key, and the deterministic transformation may be performed using a second key.
[0096] In some embodiments of the invention, the first key and the second key may be identical. In other embodiments of the invention, the first and second keys may be different.
[0097] In some embodiments of the invention, one or more deterministically generated tokens may be dropped or eliminated if the overall length of the output text exceeds a length limit. In some embodiments of the invention, the decision may be made not to transform at least a portion of the input text.
[0098] It will be recognized that the process of retrieving processed text according to embodiments of the invention may operate in substantially the reverse fashion. That is, processed text may be received at the intermediate module, and a suitable reverse processing may be applied on the processed text to obtain original input text. In some embodiments of the invention, the original input text may be sent or otherwise provided to the client device, for example, to be displayed or provided to a user or application operating the client device.
PROCESSING OF SEARCH QUERIES
[0099] Input text received at the intermediate module may be search queries including at least one search term to search for. Search query input texts may be processed by the intermediate module in order to (a) facilitate correct search functionality at the network node, and (b) enable decryption of the search query at the intermediate module, if the network node sends it back to the client. Search queries are generally processed at the network node in the same manner as other input texts are processed, and may apply further processing stages.
[00100] In some embodiment of the invention, the step of transforming the input text may comprise deterministically transforming at least one search term in the search query using a first key to produce at least one deterministically transformed search term. Accordingly, the step of transmitting the processed input text to the server may comprise transmitting the plurality of deterministically transformed search terms to the server. In some embodiments of the invention, a plurality of search terms in the search query may be treated and transformed separately.
[00101] In some embodiments of the invention, the processed search query may include substantially only determiriistically transformed search terms, wherein the deterministic transformation may be a reversible transformation. The network node may search for the processed terms, and may return the result set to the client. The intermediate module may use the processed search terms to obtain original input text.
[00102] In some embodiments of the invention, transforming the search query may further comprise non-deterministically transforming substantially the entire search query using a second key to produce a non-detenninistically transformed text, and combining the at least one deterministically transformed search term and the non-deterministically transformed text using a logical disjunction operator (e.g., the "OR" operator) to obtain a combined processed text, wherein transmitting the processed input text to the server comprises transmitting the combined processed text to the server. The network node may search for the processed search terms and for the non-deterministically processed text in disjunction, obtaining (or failing to find) results based on the deterministically transformed search terms, and obtaining no results for the non-deterministically transformed text. The result of the search may therefore be to return the result of the search on the processed search terms. Using the above method according to an embodiment of the invention, the intermediate module may receive from the network node the non-deterministically transformed text, from which it may then obtain the original input text of the search query.
REPOSITORY OF PROCESSED TEXTS
[00103] Some network node servers may return truncated search results in response to a query or other requests. For example, if the result of a search query is a 100 character field, the server may return only the first 20 characters of the field, and if the user selects the found record, the server will provide the full field. According to embodiments of the invention, the intermediate module should be able to work within such constraints. According to embodiments of the invention, where the server truncates units of the processed text, these units may be individual tokens within the processed text, the processed text as a whole, or both.
[00104] According to embodiments of the invention, this problem may be solved, for example, by providing a repository of processed texts at the intermediate module, or at a storage device managed or otherwise controlled or accessible by the intermediate module. The system may attempt to recover from such truncations before obtaining the original input text during the decryption stage, as follows: (1) the intermediate module may store unabridged processed text units at a trusted storage during the encryption stage, e.g., not via the untrusted server or its associated storage device, (2) when a truncated processed text is sent from the server and received at the intermediate module, the trusted storage unit is consulted to determine whether there exists therein one or more non-truncated processed text units matching or corresponding to the truncated processed text units, (3) if so, the intermediate module replaces the truncated processed text units with the corresponding unabridged processed text units to obtain a recovered processed text, (4) the recovered processed text are processed by a reverse processing method (e.g. decryption using a secret key) to obtain the original input text. The original input text, or unprocessed text, may then be provided to the client device, if required.
[00105] In some embodiments of the invention, what is stored in the repository may be at least one unabridged processed element associated with the processed text. For example, the processed element may be said entire processed text or a word or other portion contained in the processed text.
[00106] It will be recognized the system and method using the repository may be applied to any suitable request from the client device, including, for example, a search request, a record request, or a report request.
DETECTION OF UNTRUSTED SERVER TRANSFORMATIONS USING BAIT
[00107] An untrusted server may often apply one or more of a multitude of transformations on instances of processed user data. Such transformations may be expected by a client component residing on the trusted workstation, but may not be known to the intermediate module described herein. According to embodiments of the invention, therefore, the intermediate module may utilize methods to infer the kind of transformation applied to processed user data.
[00108] According to one embodiment of the invention, the intermediate module may add excess information (referred to herein as bait) to encrypted user data in known locations. Bait may be used when processed user data is received at the intermediate module in order to infer the kind of transformation applied to processed user data. Non- limiting examples of transformations for which bait may be used are application of a certain character encoding scheme and HTML tag elimination.
[00109] For example, an untrusted server may apply various and possibly combined encoding schemes to encrypted user data received thereat. When encrypted text is received at the intermediate module from the untrusted server, the encrypted text may be encoded in one of a multitude of encoding schemes used by an untrusted server application to communicate with the client component residing on the trusted workstation. The encoding scheme may or may not be indicated in the message generated by the server. The client component may typically be aware of the server component and may reliably know the encoding scheme used. However, the intermediate module may not be aware of the specific encoding used in every instance of encrypted text. Nevertheless, when decrypting user data before providing decrypted user data to the client component, the intermediate module according to embodiments of the invention should be able to use the same encoding scheme applied in the server and expected by the client. That is, if the intermediate module does not know the encoding scheme used by the untrusted server and the trusted workstation, information may become lost or garbled in the processing and deprocessing by the intermediate module.
[001 10] To facilitate encoding scheme detection, the intermediate module may add predetermined characters known as encoding bait to encrypted text. The encoding bait may be encoded by the server along with the encrypted user data before providing to the client component. When the intermediate module detects encrypted tokens, the encoding bait may be examined to infer the kind of encoding scheme being used for encoding an instance of encrypted text. Accordingly, the intermediate module may use the inferred encoding scheme to encode decrypted text in a processed message. Non-limiting examples of encoding schemes include: (i) UTF-8 encoding, (ii) encoding using HTML escape sequence followed by UTF-8; and (iii) encoding using JavaScript escape sequences, then again using JavaScript escape sequences, and then performing Latin- 1 encoding (AKA ISO-8859-1). For example, JavaScript escaping typically operates by replacing characters with a backslash and another character; for example, the newline character is replaced with a backslash and the character "n", i.e. the sequence "\n".
[001 1 1] In some embodiments of the invention, bait may be used to detect at least one transformation including replacement of at least one transformable character in the processed text with a matching replacement character or replacement character string, e.g., one or more escape characters.
[001 12] An example of using encoding bait composed of an angle bracket "<" and a backslash "\" is provided herein. The user may input the string "This ' is a quote". This is encrypted, for example, into "QIFJDJNZOP". During encryption, bait is attached to an encrypted token so that "QIFJDJNZOP" becomes "<\QIFJDJNZOP", in which <\ is the bait. The server may receive the encrypted string, and send the string to the client in a JavaScript file. In a JavaScript file, the server needs only to escape the backslash, but not the angle bracket. Accordingly, the message sent to the client includes: "<\\QIFJDJNZOP", in which the original backslash of the bait is escaped using another backslash. When the intermediate module detects the encrypted token in the message preceded by the original angle bracket and the escaped backslash, it may infer that the token is JavaScript-escaped. Thereupon, the intermediate module may decrypt the input QIFJDJNZOP into "This ' is a quote". However, having inferred that the client is expecting a JavaScript-escaped text, the module may then use JavaScript escaping to encode the decrypted string, e.g., by escaping the quote to produce "This V is a quote". The decrypted quote is thus using the encoding rules inferred from the encoded bait. The decrypted and encoded string is then forwarded to the client.
[001 13] Another example for which bait may be used is HTML transformations, of which HTML tag elimination is a special case. An untrusted server may receive text augmented with HTML markup, generate instances of received text with all or some HTML tags removed, and may return these instances to the client component. In such cases, the intermediate module may include an HTML tag bait in processed user data. The HTML tag bait may be removed by the intermediate module when receiving processed user data, and infer, from its existence or inexistence, whether HTML tags may be removed from decrypted user data, and may accordingly retain or remove decrypted HTML tags in a message returned to the client component.
[001 14] It will be recognized that in some embodiments, multiple pieces of bait may be added to a processed text to detect a plurality of transformations or encoding schemes applied by the untrusted server.
LENGTH LIMITS
[001 15] In some embodiments of the invention, a plurality of separate portions of the input text may be transformed in which at least one of the plurality of portions of said input text includes no more than a maximum number of characters, for example, by truncation of the respective portion. In some embodiments of the invention, a plurality of separate portions of the input text may be transformed in which each of the plurality of portions of said input text includes no more than a maximum number of characters, for example, by truncation of the respective portion.
TOKENIZATION EXAMPLE
[001 16] Reference is made to Figure 5, which illustrates the normalization and tokenization of an input text that includes the sentence "This sentence has FIVE words!" Input text 510 includes the sentence "This sentence has FIVE words!" The sentence may be tokenized to the following input tokens "This", "sentence", "has", "FIVE", "words", and "!". These input tokens may be normalized to provide normalized input tokens and metadata. The normalized input tokens have the following format: "This", "sentence", "has", "five", "words", and "!". The metadata associated with "sentence" is "lower case". The metadata associated with "FIVE" is "upper case". The metadata associated with "words" is "lower case" and "plural".
[001 17] Next, the method may detect common input tokens, including the words "this", "has" and the non-word "!". These input tokens may be encrypted in a non- deterministic manner, e.g., they may be encrypted with salt (denoted "*").
[001 18] The method may detect uncommon input tokens "word", "sentence" and five". These words may be encrypted in a deterministic manner.
[001 19] The order of input tokens may be changed and order metadata may be generated accordingly. The order metadata, the case metadata, and the plural metadata may be included in a control token 530.
SORT SUPPORT
[00120] A text processing feature common in many SaaS applications is sorting records by lexicographic order of a particular field or other attribute. It may therefore be beneficial to provide processed text by an order-preserving encryption process.
[00121] Any of a number of order-preserving approaches may be implemented. For example, order preservation can be obtained by any of the following methods: (i) maintaining a list of all records on the interception module, performing site-specific ordering when needed. This method requires almost duplication of each server's functionality in both presentation and data management; (ii) providing an API for the server to query the sort order of a particular string; or (iii) creating a lexicographically sortable representation which preserves the real sort order without any modification in the network node.
[00122] An encryption method according to the present invention may preserve order of input text records by applying the following stages or a combination thereof: (1) converting input data into a numeric values (if not already numeric), (2) applying an order- preserving transformation on the numerical values to obtain output numeric value, (3) obtaining a lexicographically sortable representation from the output numeric value, and (4) using the lexicographically sortable representation in the processed output text, as either a prefix string (in textual data) or as the whole output data. The order-preserving transformation may be a monotonously increasing function. The order preserving function may use a private key that can be generated from a random source, in order to parameterize its functionality. A private key may be generated for every set of inputs sorted collectively as a set. According to embodiments of the invention, generating order information, as described further below, may include applying an order-preserving, secret-key-dependent function on the input text.
[00123] According to some embodiments of the invention, order information may be produced based on a truncated version of the input text. According to yet further embodiments of the invention, the order information may be produced based on a plurality of truncated words in the input text, in the order in which they appear therein.
[00124] According to some embodiments of the invention, the intermediate module may process input text by applying an order-preserving transformation, wherein the order- preserving transformation comprises generating order information based on the input text, the order information indicative of a relative order of the input text within a set of possible input texts according to a collation rule, transforming the input text to obtain processed text, and transmitting the processed text to the server. According to some embodiments of the invention, the order information may be sent to the server in association with said processed input text by adding the order information as a prefix to the processed input data and transmitting the combined order information and processed input data to the server.
[00125] In order to reduce security risks associated with order preserving encryption schemes, the intermediate device may consider only a reduced portion of the input data when generating an order-preserved output. Reducing the input to obtain a reduced portion of the input data may include (a) ignoring certain words such as "the", "a", (b) ignoring all characters in every word occurring at a certain position within the word or later, e.g. ignoring the characters "ra" in "zebra", (c) ignoring final words within the record (d) contracting the input domain of the order-preserving function, (e) ignoring certain character properties such as letter case, or (e) a combination thereof.
[00126] Figure 7 illustrates various stages of method 170 according to an embodiment of the invention that may be used to obtain an order-preserving representation of textual data to be included in processed text. At stage 171, input text to be encrypted may be received. At stage 172 certain words may be discarded from the input text. At stage 173, certain character properties may be discarded, such as letter case, diacritics, ligatures or other character properties. At stage 174, input words may be truncated according to a predetermined parameter of the encryption scheme, such that final characters from input words may be discarded.
[00127] At stage 175, certain final words of the input text may be discarded. Accordingly, performing one or more of optional stages 172, 173, 174, and 175 may produce a reduced input text. At stage 176, the (optionally reduced) input text may be converted into a numeric value to obtain a input numeric value. At stage 177, an order- preserving function may be applied to the input numeric value to obtain an output numeric value. At stage 178, an order preserving representation may be obtained from the output numeric value. Finally, at stage 179, the order preserving representation may be placed as either a prefix or the whole encrypted data of the processed text.
[00128] In the below example illustrating an application of stages 172-176, the input numeric value of input text "The Green Zebra" may calculated as follows: (i) receiving a set of input tokens "The Green Zebra"; (ii) ignoring irrelevant input token "the" to provide relevant input tokens "Green Zebra", (iii) normalizing the relevant input tokens to provide "green zebra"; (iii) selecting, for example, based on user definitions, only the first three letters of every input token, to provide six relevant characters: "gre zeb"; (iv) calculating the numeric value as shown in Table 1 of each letter based on the weight of its location in the input token; and (v) summing up the letters values to provide a numeric value of the set of input tokens which is 0.296199790068345.
[00129] The weight W may represent the size of the alphabet A, raised to the negative power of the position of the character P, i.e., W=A"P. For English text, the alphabet size is 26.
Table 1 [00130] Figure 8 illustrates a method 300 of generating an order-preserving function according to an embodiment of the invention, to be used, for example, in stage 177 of method 170. At stage 180, the domain (Dj, D2) and range (Rl 5 R2) of the function may be determined, for example, according to configuration by a user or program. At stage 181, a private key K is obtained to be used in calculation of the order-preserving function output value. At stage 182, an input value Vjn is received (possibly from stage 176 of method 170). At stages 183 and 184, the function range may be altered, so it starts and ends at key- dependent positions, lying within the original range. At stage 185, a point Dmjd lying inside the function's domain may be selected, wherein Dmjd is dependent on the function's key K, such that F¾, K, n) may be selected, such that R\ < RL < ¾ < ¾, where RL and R may depend on the function's key K and/or the iteration number n, where initially n=l . At stage 187, the numeric input value V;n is checked to see whether it lies within the lower part (Dj, Dmjd) or higher part (Dmjd, D2) of the current domain (Dl 3 D2). If Vjn lies within the lower part, then stage 188a is carried out, otherwise stage 188b is carried out. At stage 188a and 188b, the function's domain (Dj, D2) and range (Ri, R2) are modified: in stage 188a, (Dj, D2) is set to (Di, Dmid) and (Rl5 R2) is set to (Rj, RL); in stage 188b, D\, D2) is set to (Dmid, D2) and (Ri, R2) is set to (RH, R2). Stages 185-188 may be repeated until a predetermined stop criterion is satisfied at stage 189. The stop criterion may be for example a threshold size Dthreshoid being greater than the current domain size |D| = D2-Di; or a threshold size Rthreshoid being greater than the current range size |R| = R2-R1; or a combination thereof.
[00131] The following example illustrates an encoding scheme which may be used in stage 178 of method 170. It is assumed that the transformed numeric value generated by an order preserving function is 0.344323947, that the lexicographically sortable representation is ten characters long and includes only lowercase English letters only. Table 2 illustrates the ten iterations of an arithmetic coding scheme that is applied to generate ten characters of the lexicographically sortable representation.
4 0.837688957 21.77991288 21 u
5 0.779912877 20.2777348 20 t
6 0.277734797 7.221 104712 7 g
7 0.221 104712 5.748722505 5 e
8 0.748722505 19.46678512 19 s
9 0.46678512 12.13641313 12 1
10 0.136413127 3.546741304 3 c
TABLE 2
[00132] As indicated by Table 2, the lexicographically sortable representation is
"hxsutgeslc".
[00133] A physical computer readable medium can be provided. It stores instructions that when executed by a processor can cause the processor to implement method 100 or portions thereof. The physical computer readable medium can be a disk, a diskette, a tape, a cassette, a disk on key, a flash memory unit, a volatile memory unit, and the like.
[00134] While certain features of the invention have been illustrated and described herein, many modifications, substitutions, changes, and equivalents will now occur to those of ordinary skill in the art. It is, therefore, to be understood that the appended claims are intended to cover all such modifications and changes as fall within the true spirit of the invention.

Claims

CLAIMS What is claimed is:
1. A method for securing data transmitted between a client device and a server comprising:
obtaining input text from said client device to an intermediate module;
processing said input text at the intermediate module to obtain processed text, wherein said processing comprises:
deciding whether to transform the input text deterministically or non- deterministically, or a combination of deterministically and non- deterministically; and
based on said decision, transforming said input text deterministically or non-deterministically, or a combination of deterministically and non-deterministically, using at least one key to obtain processed text; and
transmitting the processed text to the server.
2. The method of claim 1, further comprising for at least a portion of said input text, determining not to transform a portion of the input text.
3. The method of claim 1, further comprising:
receiving processed text at the intermediate module; and
applying a reverse processing on said processed text to obtain original input text.
4. The method of claim 3, further comprising sending said original input text to said client device.
5. The method of claim 1 , wherein said step of transforming said input text
comprises: non-deterrninistically transforming substantially the entire input text using a first key to produce a non-deterministically transformed text; and deterministically transforming each of a plurality of input tokens in the input text using a second key to produce a respective plurality of deterministically transformed tokens,
wherein transmitting the processed input text to the server comprises
transmitting the non-deterministically transformed text and the plurality of deterministically transformed tokens to the server.
6. The method of claim 5, wherein said first key and said second key are identical.
7. The method of claim 5, wherein transforming said input text deterministically comprises performing an irreversible transformation on said input text.
8. The method of claim 1,
wherein said input text is a search query including at least one search term, wherein transforming said input text comprises deterministically transforming said at least one search term using a first key to produce a respective at least one deterministically transformed search term, and wherein transmitting the processed input text to the server comprises
transmitting the at least one deterministically transformed search term to the server.
9. The method of claim 8,
wherein transforming said input text further comprises:
non-deterministically transforming substantially the entire input text using a second key to produce a non-deterministically
transformed text; and
combining the at least one deterministically transformed search term and the non-deterministically transformed text using a logical disjunction operator to obtain a combined processed text, wherein transmitting the processed input text to the server comprises transmitting the combined processed text to the server.
10. The method of claim 9, wherein transforming said input text deterministically comprises performing a reversible transformation on said input text.
1 1. The method of claim 1 , wherein said processed text comprises a string of
characters selected from a processed text character set, said processed text character set comprising at least one contiguous subset of the Unicode character set.
12. The method of claim 1 1, wherein said at least one contiguous subset includes characters in the letter or number character category, or both.
13. The method of claim 1 1, wherein said at least one contiguous subset comprises between one and ten subset ranges of the Unicode character set.
14. The method of claim 11, wherein the at least one contiguous subset is selected from the set of Unicode characters consisting of Korean Hangul, Chinese, Japanese and Korean (CJK) Unified Ideographs, and a combination thereof.
15. The method of claim 1 , wherein transforming said input text comprises
transforming a plurality of separate portions of said input text, at least one of said plurality of portions of said input text including no more than a maximum number of characters.
16. The method of claim 1, wherein transforming said input text deterministically comprises:
normalizing at least one portion of said input text to obtain at least one normalized input portion by applying at least one normalization rule to said input text; deterministically transforming said at least one normalized input portion to obtain at least one transformed normalized input portions; and including said at least one transformed normalized input portion in said processed text.
17. The method of claim 16, wherein said at least one normalization rule includes letter case conversion.
18. The method of claim 16, wherein said at least one normalization rule includes replacing characters having diacritical marks with matching characters not having diacritical marks.
19. The method of claim 16, wherein said at least one normalization rule includes replacing ligature characters with their respective constituent characters.
20. The method of claim 16, wherein said at least one normalization rule includes replacing at least one word contained in said input text with a morphological variant matching said at least one word.
21. The method of claim 16, wherein said at least one normalization rule includes replacing at least one word contained in said input text by a plurality of words.
22. The method of claim 1 , wherein deciding whether to transform the input text deterministically or non-deterministically, or a combination of deterministically and non-deterministically further comprises deciding to transform a word of the input text non-deterministically based on whether said word is member of a set of words.
23. The method of claim 1 , wherein deciding whether to transform the input text deterministically or non-deterministically, or a combination of deterministically and non-deterministically further comprises deciding to transform a word of the input text non-deterministically based on a length of said word.
24. The method of claim 1 , wherein transforming said input text further comprises changing the order of portions of said processed text.
25. The method of claim 1, wherein transforming said input text further comprises including at least one excess token in said processed text, said at least one excess token being distinguished from other tokens included in said processed text only after gaining access to a secret key.
26. The method of claim 1, wherein said intermediate module is a software plug-in module installed in said client device.
27. The method of claim 1, wherein said intermediate module is an intermediate server computer connected to said client device and to said server.
28. The method of claim 1, wherein the input text includes textual information and at least one instruction relating to the manner of handling said textual information, wherein the method further comprises:
processing the at least one instruction to obtain at least one processed
instruction;
including said at least one processed instruction in said processed text; and including an indication in said processed text indicating presence and
location of the processed instruction within the processed text.
29. The method of claim 28, wherein the at least one handling instruction includes HTML markup.
30. The method of claim 2, wherein determining not to transform a portion of the input text further comprises:
detecting at least one handling instruction contained in the input text, said handling instruction relating to the manner of handling said input text; and deciding not to transform said at least one handling instruction.
31. The method of claim 1 , wherein deciding whether to transform the input text deterministically or non-deterministically, or a combination of deterministically and non-deterministically comprises:
detecting at least one handling instruction contained in the input text, said handling instruction relating to the manner of handling said input text; and
deciding to transform said at least one processing instruction non- deterministically.
32. A system for securing data transmitted between a client device and a server comprising:
an intermediate module configured to:
obtain input text;
process said input text to obtain processed text, wherein said intermediate module is configured to process said input text by:
deciding whether to transform the input text deterministically or non- deterministically, or a combination of deterministically and non- deterministically; and
based on said decision, transforming said input text deterministically or non-deterministically, or a combination of deterministically and non-deterministically, using at least one key to obtain processed text; and
transmit the processed text to the server.
33. The system of claim 32, wherein said intermediate module is further configured to determine not to transform at least a portion of the input text.
34. The system of claim 32, wherein said intermediate module is further configured to:
receive processed text from the server; and apply a reverse processing on said processed text to obtain original input text.
35. The system of claim 34, wherein said intermediate module is further configured to send said original input text to said client device.
36. The system of claim 32, wherein said intermediate module is further configured to transform said input text by:
non-deterministically transforming substantially the entire input text using a first key to produce a non-deterministically transformed text; and deterministically transforming each of a plurality of input tokens in the input text using a second key to produce a respective plurality of deterministically transformed tokens,
wherein said intermediate module is configured to transmit the processed input text to the server by transmitting the non-deterministically transformed text and the plurality of deterministically transformed tokens to the server.
37. The system of claim 36, wherein said first key and said second key are identical.
38. The system of claim 36, wherein said intermediate module is further configured to transform said input text deterministically by performing an irreversible transformation on said input text.
39. The system of claim 32,
wherein said input text is a search query including at least one search term, wherein said intermediate module is configured to transform said input text by deterministically transforming said at least one search term using a first key to produce a respective at least one deterministically transformed search term, and wherein said intermediate module is further to transmit the processed input text to the server by transmitting the at least one deterministically transformed search term to the server.
40. The system of claim 39,
wherein said intermediate module is further to transform said input text by: non-deterministically transforming substantially the entire input text using a second key to produce a non-deterministically
transformed text; and
combining the at least one deterministically transformed search term and the non-deterministically transformed text using a logical disjunction operator to obtain a combined processed text, wherein said intermediate module is configured to transmit the processed input text to the server by transmitting the combined processed text to the server.
41. The system of claim 40, wherein said intermediate module is configured to
transform said input text deterministically by performing a reversible
transformation on said input text.
42. The system of claim 32, wherein said processed text comprises a string of
characters selected from a processed text character set, said processed text character set comprising at least one contiguous subset of the Unicode character set.
43. The system of claim 42, wherein said at least one contiguous subset includes characters in the letter or number character category, or both.
44. The system of claim 42, wherein said at least one contiguous subset comprises between one and ten subset ranges of the Unicode character set.
The system of claim 42, wherein the at least one contiguous subset is selected from the set of Unicode characters consisting of Korean Hangul, Chinese, Japanese and Korean (CJK) Unified Ideographs, and a combination thereof.
The system of claim 32, wherein said intermediate module is configured to transform said input text by transforming a plurality of separate portions of said input text, at least one of said plurality of portions of said input text including no more than a maximum number of characters.
The system of claim 42, wherein said intermediate module is configured to transform said input text deterministically by:
normalizing at least one portion of said input text to obtain at least one
normalized input portion by applying at least one normalization rule to said input text;
deterministically transforming said at least one normalized input portion to obtain at least one transformed normalized input portions; and including said at least one transformed normalized input portion in said processed text.
The system of claim 47, wherein said at least one normalization rule includes letter case conversion.
49. The system of claim 47, wherein said at least one normalization rule includes replacing characters having diacritical marks with matching characters not having diacritical marks.
50. The system of claim 47, wherein said at least one normalization rule includes replacing ligature characters with their respective constituent characters.
51. The system of claim 47, wherein said at least one normalization rule includes replacing at least one word contained in said input text with a morphological variant matching said at least one word.
52. The system of claim 47, wherein said at least one normalization rule includes replacing at least one word contained in said input text by a plurality of words.
53. The system of claim 32, wherein said intermediate module is configured to decide whether to transform the input text deterministically or non- deterministically, or a combination of deterministically and non- deterministically by deciding to transform a word of the input text non- deterministically based on whether said word is member of a set of words.
54. The system of claim 32, wherein said intermediate module is configured to decide whether to transform the input text deterministically or non- deterministically, or a combination of deterministically and non- deterministically by deciding to transform a word of the input text non- deterministically based on a length of said word.
55. The system of claim 32, wherein said intermediate module is configured to transform said input text further by changing the order of portions of said processed text.
56. The system of claim 32, wherein said intermediate module is configured to transform said input text by including at least one excess token in said processed text, said at least one excess token being distinguished from other tokens included in said processed text only after gaining access to a secret key.
57. The system of claim 32, wherein said intermediate module is a software plug-in module installed in said client device.
58. The system of claim 32, wherein said intermediate module is an intermediate server computer connected to said client device and to said server.
59. The system of claim 32, wherein the input text includes textual information and at least one instruction relating to the manner of handling said textual information, wherein the intermediate module is further configured to:
process the at least one instruction to obtain at least one processed instruction;
include said at least one processed instruction in said processed text; and include an indication in said processed text indicating presence and location of the processed instruction within the processed text.
60. The system of claim 59, wherein the at least one handling instruction includes HTML markup.
61. The system of claim 33, wherein said intermediate module is configured to determine not to transform a portion of the input text further by:
detecting at least one handling instruction contained in the input text, said handling instruction relating to the manner of handling said input text; and
deciding not to transform said at least one handling instruction.
62. The system of claim 32, wherein said intermediate module is configured to decide whether to transform the input text deterministically or non- deterministically, or a combination of deterministically and non- deterministically by:
detecting at least one handling instruction contained in the input text, said handling instruction relating to the manner of handling said input text; and
deciding to transform said at least one processing instruction non- deterministically.
63. In a system comprising a server and a client device, wherein upon responding to a request for textual data stored therein, the server is adapted to return processed text containing at least one truncated element of the requested textual data, the method comprising:
obtaining a plurality of input texts from said client device to an intermediate module;
processing said plurality of input texts at said intermediate module to obtain a respective plurality of processed texts;
storing at least one unabridged processed element of said plurality of
processed texts, respectively, in a storage device managed by said intermediate module;
transmitting said plurality of processed texts to the server;
upon request, receiving at said intermediate module returned processed text containing at least one truncated element of a requested processed record from said server;
searching said storage device for at least one processed element matching each said truncated element; and
using said at least one unabridged processed element to obtain unprocessed input text.
64. The method of claim 63, further comprising providing said unprocessed text to said client device.
65. The method of claim 63, wherein said processed element comprises said processed text or a word contained in said processed text.
66. The method of claim 65, wherein said request is at least one request from the group consisting of a search request, a record request, and a report request.
67. A system for securing data transmitted between a client device and a server, wherein upon responding to a request for textual data stored therein, the server is adapted to return processed text containing at least one truncated element of the requested textual data, said system comprising:
an intermediate module configured to: obtain a plurality of input texts;
process said plurality of input texts to obtain a respective plurality of
processed texts;
cause to be stored at least one unabridged processed element of said plurality of processed texts, respectively, in a storage device managed by said intermediate module;
transmit said plurality of processed texts to a server;
upon request, receiving at said intermediate module returned processed text containing at least one truncated element of a requested processed record from said server;
search said storage device for at least one processed element matching each said truncated element; and
use said at least one unabridged processed element to obtain unprocessed input text.
68. The system of claim 67, wherein said intermediate module is further configured to provide said unprocessed text to said client device.
69. The system of claim 67, wherein said processed element comprises said processed text or a word contained in said processed text.
70. The system of claim 69, wherein said request is at least one request from the group consisting of a search request, a record request, and a report request.
71. In a system comprising a server and a client device, wherein the server is
adapted to transform text received from said client device by applying at least one of a plurality of transformations, a method comprising:
receiving input text at an intermediate device from the client device;
processing said input text at the intermediate module to obtain processed text, wherein said processing comprises including bait in said processed text;
transmitting the processed text to the server; upon request, receiving at said intermediate module transformed processed text from the server, said server having applied at least one of said plurality of transformations to said processed text to obtain said transformed processed text; and
determining by said intermediate module at least one of said transformations applied by said server based on a comparison between the processed text and the transformed processed text.
The method of claim 71, further comprising:
applying a reverse transformation on said processed text to obtain
unprocessed input text; and
modifying said unprocessed input text based on said at least one determined transformation.
The method of claim 72, further comprising:
sending said modified unprocessed input text to said client device.
The method of claim 71,
wherein at least one transformation of said plurality of transformations
comprises replacement of at least one transformable character in said processed text with a matching replacement character or replacement character string, and
wherein including bait in said processed text comprises including said at least one transformable character in said processed text.
The method of claim 74, further comprising:
applying a reverse transformation on said processed text to obtain
unprocessed input text; and
modifying said unprocessed input text by replacing said at least one
transformable character in said unprocessed input text with said matching replacement character or replacement character string.
The method of claim 75, further comprising:
sending said modified unprocessed input text to said client device.
The method of claim 71,
wherein at least one transformation of said plurality of transformations comprises omitting HTML tags in said processed text, and wherein including bait in said processed text comprises including an HTML tag in said processed text.
78. The method of claim 77, further comprising:
applying a reverse transformation on said processed text to obtain unprocessed input text;
modifying said unprocessed input text by omitting HTML tags contained therein; and
sending said modified unprocessed input text to said client device.
79. A system for securing data transmitted between a client device and a server, wherein the server is adapted to transform text received from said client device by applying at least one of a plurality of transformations, said system
comprising:
an intermediate module configured to:
receive input text;
process said input text to obtain processed text by including bait in said processed text;
transmit the processed text to the server;
upon request, receive transformed processed text from the server, said server having applied at least one of said plurality of transformations to said processed text to obtain said transformed processed text; and determine at least one of said transformations applied by said server based on a comparison between the processed text and the transformed processed text.
The system of claim 79, wherein said intermediate module us further configured to:
apply a reverse transformation on said processed text to obtain unprocessed input text; and
modify said unprocessed input text based on said at least one determined transformation.
The system of claim 80, wherein said intermediate module us further configured to:
send said modified unprocessed input text to said client device.
The system of claim 79,
wherein at least one transformation of said plurality of transformations comprises replacement of at least one transformable character in said processed text with a matching replacement character or replacement character string, and
wherein said intermediate module is to process said input text to obtain processed text by including said at least one transformable character in said processed text.
The system of claim 82, wherein said intermediate module us further configured to:
apply a reverse transformation on said processed text to obtain unprocessed input text; and
modify said unprocessed input text by replacing said at least one
transformable character in said unprocessed input text with said matching replacement character or replacement character string.
The method of claim 83, wherein said intermediate module is further to:
send said modified unprocessed input text to said client device.
The system of claim 79, wherein at least one transformation of said plurality of transformations comprises omission of HTML tags in said processed text, and wherein said intermediate module is to process said input text to obtain
processed text by including an HTML tag in said processed text.
86. The system of claim 85, wherein said intermediate module is further to:
apply a reverse transformation on said processed text to obtain unprocessed input text;
modify said unprocessed input text by omitting HTML tags contained
therein; and
send said modified unprocessed input text to said client device.
87. A method for securing data between a client device and a server comprising:
obtaining input text at an intermediate module;
processing the input text at said intermediate module by applying an order- preserving transformation, said order-preserving transformation comprising:
generating order information based on said input text, said order information indicative of a relative order of the input text within a set of possible input texts according to a collation rule; and transforming the input text to obtain processed text; and
transmitting the processed text to the server.
88. The method of claim 87, further comprising transmitting the order information to the server in association with said processed input text by adding the order information as a prefix to the processed input data and transmitting the combined order information and processed input data to the server.
89. The method of claim 87, wherein said order information is produced based on a truncated version of the input text.
90. The method of claim 89, wherein said order information is produced based on a plurality of truncated words in the input text, in the order in which they appear therein.
91. The method of claim 87, wherein generating said order information comprises applying an order-preserving, secret-key-dependent function on the input text.
92. The method of claim 91, wherein the order-preserving function employs a numerical monotonously increasing function, and wherein applying said order- preserving function comprises:
obtaining an input numeric value based on at least a portion of the input text; providing an input range and an output range;
dividing the input and output ranges into two input ranges and two output ranges based on a secret key;
selecting a pair of input and output ranges from the divided ranges according to which of the input ranges includes the input numeric value;
iteratively repeating the dividing and selecting steps until the output range is smaller than a predetermined parameter, said output range being a final output range; and
returning an output numeric value lying within the final output range.
93. A system for securing data between a client device and a server comprising: an intermediate module configured to:
obtain input text;
process the input text by applying an order-preserving transformation, said order-preserving transformation comprising:
generating order information based on said input text, said order information indicative of a relative order of the input text within a set of possible input texts according to a collation rule; and transforming the input text to obtain processed text; and
transmit the processed text to the server.
94. The system of claim 93, wherein said intermediate module is to transmit the order information to the server in association with said processed input text by:
adding the order information as a prefix to the processed input data, and transmitting the combined order information and processed input data to the server.
95. The system of claim 93, wherein said intermediate module is to generate said order information based on a truncated version of the input text.
96. The system of claim 95, wherein said intermediate module is to generate said order information based on a plurality of truncated words in the input text, in the order in which they appear therein.
97. The system of claim 93, wherein said intermediate module is to generate said order information by applying an order-preserving, secret-key-dependent function on the input text.
98. The system of claim 97, wherein the order-preserving function employs a numerical monotonously increasing function, and wherein said intermediate module is to apply said order-preserving function by:
obtaining an input numeric value based on at least a portion of the input text; providing an input range and an output range;
dividing the input and output ranges into two input ranges and two output ranges based on a secret key;
selecting a pair of input and output ranges from the divided ranges according to which of the input ranges includes the input numeric value;
iteratively repeating the dividing and selecting steps until the output range is smaller than a predetermined parameter, said output range being a final output range; and
returning an output numeric value lying within the final output range.
99. In a system comprising a server, a client device, and an intermediate module, wherein the server is configured to provide at least one function on input data provided by the client device, and wherein said intermediate module is configured to receive input data from the client device, to transform said input data into processed data, and to transmit said processed data to the server, the method comprising:
receiving input data from a client device at said intermediate module;
intercepting said input data at the intermediate module without transmission of said input data to the server;
providing a function by the intermediate module on the input data; and generating by the intermediate module at least one message to the client device based on a result of said function.
100. The method of claim 99 further comprising:
obtaining at the intermediate module a response to said at least one message from said client device;
based on said response, processing the input text to obtain processed input text; and
transmitting the processed input text to the server.
101. The method of claim 99, wherein said function is a spell-checking function, and wherein the message is a result of said spell-checking function on said input data.
102. The method of claim 99, wherein said function is format-checking function on said input data, wherein said input data is in a first format, and wherein said message is a request to provide said input data in a second format different from said first format.
103. The method of claim 102, wherein said first format is a delta-encoded format, and wherein said second format is a full input text format.
104. The method of claim 99, wherein said intermediate module is a software plug-in module installed in said client device.
105. The method of claim 99, wherein said intermediate module is an intermediate server computer connected to said client device and to said server.
106. A system for securing data between a client device and a server comprising: an intermediate module configured to receive input data from a client device, transform said input data into processed data, and transmit said processed data to a server, wherein said server is configured to provide at least one function on data provided thereto, wherein said intermediate module is further configured to: receive said input data from the client device;
intercept the input data without transmitting the input data to the server; provide said at least one function on the input data; and
generate at least one message to the client device based on a result of said function.
107. The system of claim 106, wherein said intermediate module is further configured to:
obtain a response to said at least one message from said client device;
based on said response, process the input text to obtain processed input text; and
transmit the processed input text to the server.
108. The system of claim 106, wherein said function is a spell-checking function, and wherein the message is a result of said spell-checking function on said input data.
109. The system of claim 106, wherein said function is format-checking function on said input data, wherein said input data is in a first format, and wherein said message is a request to provide said input data in a second format different from said first format.
110. The system of claim 109, wherein said first format is a delta-encoded format, and wherein said second format is a full input text format.
1 1 1. The system of claim 106, wherein said intermediate module is a software plug-in module installed in said client device.
112. The system of claim 106, wherein said intermediate module is an intermediate server computer connected to said client device and to said server.
EP10812940A 2009-12-31 2010-12-30 System, apparatus and method for encryption and decryption of data transmitted over a network Withdrawn EP2520063A2 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
US29139809P 2009-12-31 2009-12-31
US30620710P 2010-02-19 2010-02-19
PCT/IL2010/001097 WO2011080745A2 (en) 2009-12-31 2010-12-30 System, apparatus and method for encryption and decryption of data transmitted over a network

Publications (1)

Publication Number Publication Date
EP2520063A2 true EP2520063A2 (en) 2012-11-07

Family

ID=44041607

Family Applications (1)

Application Number Title Priority Date Filing Date
EP10812940A Withdrawn EP2520063A2 (en) 2009-12-31 2010-12-30 System, apparatus and method for encryption and decryption of data transmitted over a network

Country Status (6)

Country Link
EP (1) EP2520063A2 (en)
JP (1) JP5735539B2 (en)
CN (1) CN102782692A (en)
CA (1) CA2786058C (en)
IL (1) IL220662A (en)
WO (1) WO2011080745A2 (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8548170B2 (en) 2003-12-10 2013-10-01 Mcafee, Inc. Document de-registration
US9253154B2 (en) 2008-08-12 2016-02-02 Mcafee, Inc. Configuration management for a capture/registration system
US9444793B2 (en) 2008-09-15 2016-09-13 Vaultive Ltd. System, apparatus and method for encryption and decryption of data transmitted over a network
US8473442B1 (en) 2009-02-25 2013-06-25 Mcafee, Inc. System and method for intelligent state management
US8447722B1 (en) 2009-03-25 2013-05-21 Mcafee, Inc. System and method for data mining and security policy management
US8806615B2 (en) 2010-11-04 2014-08-12 Mcafee, Inc. System and method for protecting specified data combinations
US20130246336A1 (en) 2011-12-27 2013-09-19 Mcafee, Inc. System and method for providing data protection workflows in a network environment
CN102816055B (en) * 2012-08-24 2015-08-26 青岛琅琊台集团股份有限公司 A kind of novel process utilizing sea water desaltination membrane separation technique treatment of itaconic acid fermentation waste liquor
CN104980397B (en) * 2014-04-03 2019-04-26 腾讯科技(深圳)有限公司 Instant communicating method, system and terminal
JP6571927B2 (en) * 2014-11-13 2019-09-04 エヌ・ティ・ティ・コミュニケーションズ株式会社 Data protection device, data protection method, and data protection program
WO2018102861A1 (en) * 2016-12-08 2018-06-14 Commonwealth Scientific And Industrial Research Organisation Secure text analytics
CN111625796A (en) * 2020-05-18 2020-09-04 金骏(广州)智能科技有限公司 Data transmission method based on communication terminal and APP
CN113064533B (en) * 2021-04-02 2023-04-07 南京维沃软件技术有限公司 Control method and control device for electronic equipment
CN113259390B (en) * 2021-06-25 2021-09-14 深圳市爱挖网络科技有限公司 Account safety protection system for recruitment platform
CN116208408B (en) * 2023-02-28 2024-07-09 深圳市雁联计算系统有限公司 Full-link sensitive information protection method, system and storage medium
CN118395479B (en) * 2024-07-01 2024-08-23 深圳琼景科技有限公司 Data protection method and device for online mall system, electronic equipment and medium

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5958006A (en) * 1995-11-13 1999-09-28 Motorola, Inc. Method and apparatus for communicating summarized data
JP2001147934A (en) * 1999-11-19 2001-05-29 Nippon Telegr & Teleph Corp <Ntt> Enciphered information distributing method and device capable of retrieving information
WO2001047205A2 (en) 1999-12-22 2001-06-28 Tashilon Ltd. Enhanced computer network encryption using downloaded software objects
US7165175B1 (en) 2000-09-06 2007-01-16 Widevine Technologies, Inc. Apparatus, system and method for selectively encrypting different portions of data sent over a network
JP2004101905A (en) * 2002-09-10 2004-04-02 Sharp Corp Information display device
JP2005130352A (en) * 2003-10-27 2005-05-19 Victor Co Of Japan Ltd Decoder
JP2005242740A (en) * 2004-02-27 2005-09-08 Open Loop:Kk Program, storage medium and information processor in information security system
JP2005284915A (en) * 2004-03-30 2005-10-13 Canon Inc Information retrieval device and method, information retrieval system, and control method for the same
US7484107B2 (en) * 2004-04-15 2009-01-27 International Business Machines Corporation Method for selective encryption within documents
JP4561661B2 (en) * 2006-03-09 2010-10-13 日本電気株式会社 Decoding method and decoding apparatus
JP4736877B2 (en) * 2006-03-16 2011-07-27 日本電気株式会社 Demultiplexer and demultiplexer
JP2008301335A (en) * 2007-06-01 2008-12-11 Kddi R & D Laboratories Inc Video signal switching apparatus

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
None *
See also references of WO2011080745A2 *

Also Published As

Publication number Publication date
CN102782692A (en) 2012-11-14
CA2786058C (en) 2017-03-28
CA2786058A1 (en) 2011-07-07
IL220662A (en) 2016-09-29
JP5735539B2 (en) 2015-06-17
WO2011080745A2 (en) 2011-07-07
JP2013516642A (en) 2013-05-13
WO2011080745A3 (en) 2011-11-10

Similar Documents

Publication Publication Date Title
US10021078B2 (en) System, apparatus and method for encryption and decryption of data transmitted over a network
CA2786058C (en) System, apparatus and method for encryption and decryption of data transmitted over a network
US10013574B2 (en) Method and apparatus for secure storage and retrieval of encrypted files in public cloud-computing platforms
US9021135B2 (en) System and method for tokenization of data for storage in a cloud
US8166313B2 (en) Method and apparatus for dump and log anonymization (DALA)
US8041719B2 (en) Personal computing device-based mechanism to detect preselected data
US8601537B2 (en) System and method for data mining and security policy management
US20110276575A1 (en) Query Generation for a Capture System
US20040220975A1 (en) Additional hash functions in content-based addressing
US20090300770A1 (en) Mechanism to search information content for preselected data
CA2499508A1 (en) Detection of preselected data
US20130246338A1 (en) System and method for indexing a capture system
EP2702723B1 (en) System and method for data obfuscation in interception of communication with a cloud

Legal Events

Date Code Title Description
PUAI Public reference made under article 153(3) epc to a published international application that has entered the european phase

Free format text: ORIGINAL CODE: 0009012

17P Request for examination filed

Effective date: 20120730

AK Designated contracting states

Kind code of ref document: A2

Designated state(s): AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR

DAX Request for extension of the european patent (deleted)
17Q First examination report despatched

Effective date: 20160421

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: THE APPLICATION IS DEEMED TO BE WITHDRAWN

18D Application deemed to be withdrawn

Effective date: 20190615