Device and Method for Checking Properties of Resources

20200120137 ยท 2020-04-16

Assignee

Inventors

Cpc classification

International classification

Abstract

Device, computer program product and method for checking properties of resources, wherein a checking device for checking properties of resources of a web server includes a calculation unit for calculating an identifier identifying a particular resource using the particular resource, a detection unit for detecting a license requirement for the particular resource using the calculated identifier, and a determination unit for determining an existing license for the web server in the case of a license requirement detected for the particular resource using the calculated identifier, such that unauthorized posting of a particular resource to a web server can be easily detected and prevented.

Claims

1. A checking device for checking properties of resources of a web server, comprising: a calculation unit for calculating an identifier identifying a particular resource utilizing the particular resource; a detection unit for detecting a license requirement for the particular resource utilizing the calculated identifier; and a determination unit for determining an existing license for the web server in cases of a license requirement detected for the particular resource utilizing the calculated identifier.

2. The checking device as claimed in claim 1, wherein the particular resource is comprises a file; and wherein the file is configured as at least one of (i) an executable file, (ii) an information file and (iii) an image file.

3. The checking device as claimed in claim 1, wherein the calculation unit is configured so as to calculate the identifier identifying the particular resource such that the identifying identifier is formed as a hash value.

4. The checking device as claimed in claim 2, wherein the calculation unit is configured so as to calculate the identifier identifying the particular resource such that the identifying identifier is formed as a hash value.

5. The checking device as claimed in claim 3, wherein the calculation unit is configured so as to calculate the hash value as the identifier identifying the particular resource utilizing the particular resource.

6. The checking device as claimed in claim 3, wherein the calculation unit is configured so as to calculate the calculation of the identifier identifying the particular resource via a distance method, in which a distance between hash values of resources as calculated by the calculation unit is calculated.

7. The checking device as claimed in claim 5, wherein the calculation unit is configured so as to calculate the calculation of the identifier identifying the particular resource via a distance method, in which a distance between hash values of resources as calculated by the calculation unit is calculated.

8. The checking device as claimed in claim 1, wherein the checking device is configured so as to check properties of resources of the web server at different times; and wherein at least one of (i) the check occurs upon an access request at one time, (ii) the check occurs at a defined time at a further time, (iii) the check occurs upon a device startup at the further time and (iv) the check occurs triggered by an event at the further time.

9. The checking device as claimed in claim 1, wherein the checking device is configured so as to perform the check if the request to access the particular resource is made by at least one of (i) a further web server and (ii) a client.

10. The checking device as claimed in claim 9, wherein the checking device is configured so as to at least one of (i) perform the check if a request is made by at least one of (i) the further web server and the client, (ii) post the particular resource on the web server and (iii) store the particular resource on the web server.

11. The checking device as claimed in claim 1, wherein the determination unit is configured so as to trigger a first action of the web server if an existing license is determined and to trigger a second action of the web server if a non-existing license is determined.

12. A web server having the checking device as claimed in claim 1.

13. The web server as claimed in claim 12, wherein the determination unit is configured so as to trigger a first action of the web server if an existing license is determined and to trigger a second action of the web server if a non-existing license is determined; and wherein the web server is configured so as to perform the first action comprising at least one of (i) granting permission to access the particular resource, (ii) posting the particular resource and (iii) storing the particular resource.

14. The web server as claimed in claim 13, wherein the web server is configured so as to perform the second action; and wherein the second action comprises at least one of (i) not granting permission to access the particular resource, (ii) deleting the particular resource and (iii) blocking the particular resource.

15. A system having the checking device as claimed in claim 1 and having a web server external to the checking device.

16. A method for checking properties of resources of a web server, the method comprising: calculating an identifier identifying a particular resource using the particular resource; detecting a license requirement for the particular resource using the calculated identifier; and determining an existing license for the web server in the case of a license requirement detected for the particular resource using the calculated identifier.

17. A non-transitory computer-readable medium encoded with a computer program having program code instructions which, when executed by a program-controlled apparatus, causes checking of properties of resources of a web server, the computer program comprising: program code for calculating an identifier identifying a particular resource using the particular resource; program code for detecting a license requirement for the particular resource using the calculated identifier; and program code for determining an existing license for the web server in the case of a license requirement detected for the particular resource using the calculated identifier.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

[0061] Further advantageous refinements and aspects of the invention are the subject matter of the dependent claims and of the exemplary embodiments, described below, of the invention. The invention is explained in more detail below on the basis of preferred embodiments with reference to the attached figures in which:

[0062] FIG. 1 shows a schematic block diagram of one exemplary embodiment of a checking device for checking properties of resources in accordance with the invention;

[0063] FIG. 2 shows a schematic block diagram of one exemplary embodiment of a web server having a checking device in accordance with the invention;

[0064] FIG. 3 shows a schematic block diagram of one exemplary embodiment of a system having a checking device and a web server in accordance with the invention; and

[0065] FIG. 4 shows a schematic flowchart of one exemplary embodiment of a method for checking properties of resources in accordance with the invention.

DETAILED DESCRIPTION OF THE EXEMPLARY EMBODIMENTS

[0066] In the figures, identical or functionally identical elements have been provided with the same reference signs, unless indicated otherwise.

[0067] FIG. 1 shows a schematic block diagram of one exemplary embodiment of a checking device 10 for checking properties of resources of a web server 1.

[0068] The checking device 10 in FIG. 1 comprises a calculation unit 11, a detection unit 12 and a determination unit 13.

[0069] The calculation unit 11 is configured so as to calculate an identifier identifying a particular resource using the particular resource.

[0070] The detection unit 12 is configured so as to detect a license requirement for the particular resource using the calculated identifier.

[0071] The determination unit 13 is furthermore configured so as to determine an existing license for the web server 1 in the case of a license requirement detected for the particular resource using the calculated identifier. Here, the particular resource preferably comprises a file, where the file is configured as an executable file, as an information file and/or as an image file.

[0072] The calculation unit 11 is furthermore configured so as to calculate the identifier identifying the particular resource such that the identifying identifier is formed as a hash value.

[0073] The calculation unit 11 is furthermore configured so as to calculate the hash value as the identifier identifying the particular resource using the particular resource.

[0074] The calculation unit 11 is likewise configured so as to calculate the calculation of the identifier identifying the particular resource via a distance method, in which a distance between hash values of resources as calculated by the calculation unit 11 is calculated.

[0075] The checking device 10 is furthermore configured so as to check the properties of resources of the web server 1 at different times, where, at one time, the check occurs upon an access request and/or, at a further time, the check occurs at a defined time and/or, at a further time, the check occurs upon a device startup and/or, at a further time, the check occurs triggered by an event.

[0076] The checking device 10 is likewise configured so as to perform the check if the request to access the particular resource is made by a further web server and/or by a client.

[0077] The checking device 10 is additionally configured so as to perform the check if a request is made by the further web server and/or by the client to post and/or to store the particular resource on the web server 1.

[0078] The determination unit 13 is furthermore configured so as to trigger a first action of the web server 1 if an existing license is determined and to trigger a second action of the web server 1 if a non-existing license is determined.

[0079] FIG. 2 shows a schematic block diagram of one exemplary embodiment of a web server 1 having a checking device 10.The web server 1 in this case comprises the checking device 10 from FIG. 1.

[0080] The determination unit 13 is in this case configured so as to trigger a first action of the web server 1 if an existing license is determined and to trigger a second action of the web server 1 if a non-existing license is determined, where the web server 1 is configured so as to perform the first action, and where the first action comprises granting permission to access the particular resource, posting and/or storing the particular resource.

[0081] The web server 1 is additionally configured so as to perform the second action, where the second action comprises not granting permission to access the particular resource, deleting the particular resource and/or blocking the particular resource.

[0082] FIG. 3 shows a schematic block diagram of one exemplary embodiment of a system 2 having a checking device 10 of FIG. 1 and a web server 1.

[0083] The system 2 comprises the web server 1, a network 3 and the checking device 10. The web server 1 and the checking device 10 are connected via the network 3. Data can be exchanged between the web server 1 and the checking device 10 via the network 3. The web server 1 of the system 2 is external to the checking device 10.

[0084] FIG. 4 shows a schematic flowchart of one exemplary embodiment of a method for checking properties of resources of a web server 1.

[0085] The exemplary embodiment of FIG. 4 comprises the method steps S1, S2 and S3.

[0086] In step S1, an identifier identifying a particular resource is calculated using the particular resource.

[0087] In step S2, a license requirement for the particular resource is detected using the calculated identifier.

[0088] In step S3, an existing license for the web server 1 in the case of a license requirement detected for the particular resource is furthermore determined using the calculated identifier.

[0089] The calculation unit 11, the detection unit 12 and the determination unit 13 from FIG. 1 are particularly configured so as to execute the method steps S1, S2 and S3 according to FIG. 4.

[0090] Thus, while there have been shown, described and pointed out fundamental novel features of the invention as applied to a preferred embodiment thereof, it will be understood that various omissions and substitutions and changes in the form and details of the devices illustrated, and in their operation, may be made by those skilled in the art without departing from the spirit of the invention. For example, it is expressly intended that all combinations of those elements and/or method steps which perform substantially the same function in substantially the same way to achieve the same results are within the scope of the invention. Moreover, it should be recognized that structures and/or elements shown and/or described in connection with any disclosed form or embodiment of the invention may be incorporated in any other disclosed or described or suggested form or embodiment as a general matter of design choice. It is the intention, therefore, to be limited only as indicated by the scope of the claims appended hereto