8230499

Detecting and Blocking Unauthorized Downloads

PublishedJuly 24, 2012
Assigneenot available in USPTO data we have
InventorsShane Pereira
Technical Abstract

Patent Claims
15 claims

Legal claims defining the scope of protection, as filed with the USPTO.

1

1. A method of preventing unauthorized download of data to a computer having a web browser process comprising a memory heap, comprising: hooking one or more downloading functions that can be called by code executing on the computer to download data; responsive to a hooked downloading function being called by code stored in the memory heap of the web browser process, identifying a return address of the code; determining whether the return address is within the heap based at least in part on whether data of a page of memory corresponding to the return address were loaded from a file; and responsive to the return address being within the heap, performing a remedial action that prevents downloading of data by the called downloading function.

2

2. The method of claim 1 , wherein the hooked downloading functions include a function from the group of UrlDownloadToFileA, UrlDownloadToFileW, UrlDownloadToCacheFileA, and UrlDownloadToCacheFileW.

3

3. The method of claim 1 , wherein the code is downloaded over a network.

4

4. The method of claim 1 , wherein the remedial action comprises returning an error code to the code that called the hooked downloading function.

5

5. The method of claim 1 , wherein the remedial action comprises displaying an alert.

6

6. A computer program product having a non-transitory computer-readable storage medium storing executable computer program modules for preventing unauthorized download of data to a computer having a web browser process comprising a memory heap, the modules comprising: a hooking module for hooking one or more downloading functions that can be called by code executing on the computer to download data; a code checking module for: identifying a return address of code stored in the memory heap of the web browser process, responsive to the code calling one of the hooked downloading functions, and determining whether the return address is within the heap based at least in part on whether data of a page of memory corresponding to the return address were loaded from a file; and a remediation module for performing a remedial action that prevents downloading of data by the called downloading function, responsive to the return address being within the heap.

7

7. The computer program product of claim 6 , wherein the hooked downloading functions include a function from the group of UrlDownloadToFileA, UrlDownloadToFileW, UrlDownloadToCacheFileA, and UrlDownloadToCacheFileW.

8

8. The computer program product of claim 6 , wherein the code is downloaded over a network.

9

9. The computer program product of claim 6 , wherein the remedial action comprises returning an error code to the code that called the hooked downloading function.

10

10. The computer program product of claim 6 , wherein the remedial action comprises displaying an alert.

11

11. A computer adapted to prevent unauthorized download of data to a computer having a web browser process comprising a memory heap, comprising: a computer-readable storage medium storing executable computer program modules comprising: a hooking module for hooking one or more downloading functions that can be called by code executing on the computer to download data; a code checking module for: identifying a return address of code stored in the memory heap of the web browser process, responsive to the code calling one of the hooked downloading functions, and determining whether the return address is within the heap based at least in part on whether data of a page of memory corresponding to the return address were loaded from a file; and a remediation module for performing a remedial action that prevents downloading of data by the called downloading function, responsive to the return address being within the heap.

12

12. The computer of claim 11 , wherein the hooked downloading functions include a function from the group of UrlDownloadToFileA, UrlDownloadToFileW, UrlDownloadToCacheFileA, and UrlDownloadToCacheFileW.

13

13. The computer of claim 11 , wherein the code is downloaded over a network.

14

14. The computer of claim 11 , wherein the remedial action comprises returning an error code to the code that called the hooked downloading function.

15

15. The computer of claim 11 , wherein the remedial action comprises displaying an alert.

Patent Metadata

Filing Date

Unknown

Publication Date

July 24, 2012

Inventors

Shane Pereira

Want to explore more patents?

Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.

Citation & reuse

Analysis on this page is generated by Patentable — an AI-powered patent intelligence platform. AI-generated summaries, explanations, and analysis may be reused with attribution and a visible link back to the canonical URL below. Patent abstracts and claims are USPTO public domain.

Cite as: Patentable. “DETECTING AND BLOCKING UNAUTHORIZED DOWNLOADS” (8230499). https://patentable.app/patents/8230499

© 2026 Patentable. All rights reserved.

Patentable is a research and drafting-assistant tool, not a law firm, and does not provide legal advice. Documents we generate are drafts for review by a licensed patent attorney.