Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

File association locking method and device

A file association and file opening technology, which is applied in the computer field and can solve the problem that the driver layer cannot be involved.

Pending Publication Date: 2021-03-23
ZHUHAI KINGSOFT OFFICE SOFTWARE +1
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For an application that only works at the application layer, since it cannot install a kernel module to access the address space of the kernel mode, it cannot involve the operation of the driver layer, and it is extremely difficult to realize file association by registering a monitor and monitoring registry operations locking

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • File association locking method and device
  • File association locking method and device
  • File association locking method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0053] For ease of understanding, the words appearing in the embodiments of the present application are explained below.

[0054] The registry is an important database for storing operating system and application setting information.

[0055] Root key: The lowest key in the registry, similar to the root directory on a disk.

[0056] Subkeys: Subkeys are located under the root key, and other subkeys can also be nested. There are several subkeys in the five roo...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention provides a file association locking method and device, and the method comprises the steps: receiving a modification request for a first sub-key under a registry root key, and enabling the first sub-key to comprise an access control item ACE for indicating to refuse writing and deleting; according to the ACE, refusing to modify file opening mode information in the first sub-key according to the modification request; after it is determined that modification of the file opening mode information fails, detecting whether a locked list comprises a path from the registry root key to the first sub-key or not, wherein the locked list is used for storing the path of the sub-key corresponding to the file extension name forbidden to be modified; if yes, returning a modification response indicating successful modification. By applying the technical scheme provided by the embodiment of the invention, the file opening mode information associated with the file extensionname can be locked through the ACE and the locked list, so that file association locking in an application layer is realized.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for locking file associations. Background technique [0002] On your computer, files are opened with the application associated with the file extension. File opening method information such as the application program associated with the file extension is stored in the subkey of the file extension under the root key of the registry. Attackers can use some malicious programs to modify the file opening method information stored in the subkey to tamper with the application program associated with the file extension to achieve the purpose of image hijacking or self-starting. To solve this problem, a file association locking method is proposed. [0003] Currently, the locking method for file associations is implemented through monitors. Specifically, a monitor is registered to monitor operations on the registry in real time. When a malicious program wants to t...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F21/55G06F21/56
CPCG06F21/554G06F21/566
Inventor 付浩徐阳
Owner ZHUHAI KINGSOFT OFFICE SOFTWARE
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Eureka Blog
Learn More
PatSnap group products