CN116432229A - Browser screen capture prevention method, device, computer equipment, medium and program product - Google Patents

Browser screen capture prevention method, device, computer equipment, medium and program product Download PDF

Info

Publication number
CN116432229A
CN116432229A CN202310375741.7A CN202310375741A CN116432229A CN 116432229 A CN116432229 A CN 116432229A CN 202310375741 A CN202310375741 A CN 202310375741A CN 116432229 A CN116432229 A CN 116432229A
Authority
CN
China
Prior art keywords
application system
screenshot
list information
browser
information
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.)
Pending
Application number
CN202310375741.7A
Other languages
Chinese (zh)
Inventor
李粤
李磊
许娇阳
陈锦祥
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.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202310375741.7A priority Critical patent/CN116432229A/en
Publication of CN116432229A publication Critical patent/CN116432229A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/629Protecting access to data via a platform, e.g. using keys or access control rules to features or functions of an application
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application relates to a browser screen capture prevention method, a browser screen capture prevention device, computer equipment, a storage medium and a computer program product, and relates to the technical field of information security. The method comprises the following steps: when a new application system is accessed, an application system identification of the new application system is obtained, and screen capture preventing list information of the new application system is obtained; according to the application system identification and the anti-screen-capture list information of the new application system, the new application system is related to an anti-screen-capture list information base which is related with at least one application system; comparing and analyzing the address information of the current access page of the browser with an anti-screenshot list information base; and performing anti-screen capture processing on the window of the browser based on the comparison analysis result. By adopting the method, the application adaptation cost for developing the screen capture prevention function of the browser can be reduced.

Description

Browser screen capture prevention method, device, computer equipment, medium and program product
Technical Field
The present invention relates to the field of information security technologies, and in particular, to a method, an apparatus, a computer device, a storage medium, and a computer program product for preventing screen capturing of a browser.
Background
With the development of network information security technology, browser screen capture prevention technology appears, and the technology is widely applied to various enterprises or units, such as banks, insurance companies and the like.
In the prior art, the common practice of browser screen capture prevention is that an application system judges through detecting a screen capture event in a browser page through a control or expansion of the browser, and if a target page is a secret-related page, the target page is set to a screen capture prevention mode by combining with a screen capture prevention module deployed by the application system on an operating system.
However, with current browser anti-screenshot technology, the application system needs to develop related controls or extensions separately, and an operating system local anti-screenshot module to perform anti-screenshot processing on browser pages. When an application system with multiple screen capture prevention requirements is related in an enterprise, the problem of repeated development of each application exists, so that the application adaptation cost for developing the screen capture prevention function of the browser in the prior art is high.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a browser anti-screenshot method, apparatus, computer device, computer-readable storage medium, and computer program product that can reduce the application adaptation cost for the development of browser anti-screenshot functions.
In a first aspect, the present application provides a browser screen capture prevention method. The method comprises the following steps:
when a new application system is accessed, acquiring an application system identifier of the new application system and acquiring anti-screen capturing list information of the new application system;
according to the application system identification of the new application system and the anti-screenshot list information, the new application system is related to an anti-screenshot list information base which is related with at least one application system;
comparing and analyzing the address information of the current access page of the browser with the anti-screenshot list information base;
and based on the comparison analysis result, performing anti-screen capture processing on the window of the browser.
In one embodiment, the associating the new application system to the anti-screenshot list information base associated with at least one application system according to the application system identification of the new application system and the anti-screenshot list information includes:
marking the anti-screenshot list information according to the application system identification of the new application system to obtain marked anti-screenshot list information; the marked anti-screenshot list information is anti-screenshot list information uniquely corresponding to an application system identifier of the new application system; and inputting the marked anti-screenshot list information into an anti-screenshot list information base which already contains at least one anti-screenshot list information uniquely corresponding to the corresponding application system.
In one embodiment, before comparing and analyzing the current access page address information of the browser with the anti-screenshot list information base, the method further includes:
simultaneously detecting the address information of the current access page of a plurality of application systems in the browser; and respectively matching the unique corresponding anti-screenshot list information in the anti-screenshot list information base according to the application system identifiers of the application systems to obtain the anti-screenshot list information uniquely corresponding to the application systems.
In one embodiment, the comparing the current access page address information of the browser with the anti-screenshot list information base includes:
and comparing and analyzing the current access page address information of each application system in the browser with the anti-screenshot list information uniquely corresponding to each application system to obtain a comparison and analysis result corresponding to each application system.
In one embodiment, the performing, based on the comparison analysis result, anti-screenshot processing on the window of the browser includes:
based on the comparison analysis results corresponding to the application systems, identifying whether the situation that the current access page address information of the application system belongs to the corresponding marked page information in the anti-screenshot list information exists or not; generating an anti-screen capturing control instruction aiming at the browser under the condition that the current access page address information of any application system is identified to belong to the marked page information; and performing anti-screen capture processing on the window of the browser according to the anti-screen capture control instruction.
In one embodiment, the method further comprises:
under the condition that an application system triggering the anti-screen capturing control instruction is identified to stop accessing the marked page information, generating an anti-screen capturing control instruction for releasing the browser; and according to the anti-screen capture control instruction, eliminating the anti-screen capture processing of the window of the browser.
In one embodiment, the method further comprises:
under the condition that a processing instruction to a target application system is received, executing a second processing operation on corresponding anti-screenshot list information in the anti-screenshot list information base when executing a corresponding first processing operation on the target application system according to the processing instruction; the second processing operation corresponds to the first processing operation.
In a second aspect, the application further provides a browser screen capture preventing device. The device comprises:
the information acquisition module is used for acquiring an application system identifier of a new application system and acquiring screen capture prevention list information of the new application system when the new application system is accessed;
the information association module is used for associating the new application system to an anti-screenshot list information base associated with at least one application system according to the application system identification of the new application system and the anti-screenshot list information;
The comparison analysis module is used for comparing and analyzing the current access page address information of the browser with the anti-screenshot list information base;
and the screen capture prevention processing module is used for carrying out screen capture prevention processing on the window of the browser based on the comparison analysis result.
In a third aspect, the present application also provides a computer device. The computer device comprises a memory storing a computer program and a processor which when executing the computer program performs the steps of:
when a new application system is accessed, acquiring an application system identifier of the new application system and acquiring anti-screen capturing list information of the new application system; according to the application system identification of the new application system and the anti-screenshot list information, the new application system is related to an anti-screenshot list information base which is related with at least one application system; comparing and analyzing the address information of the current access page of the browser with the anti-screenshot list information base; and based on the comparison analysis result, performing anti-screen capture processing on the window of the browser.
In a fourth aspect, the present application also provides a computer-readable storage medium. The computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
When a new application system is accessed, acquiring an application system identifier of the new application system and acquiring anti-screen capturing list information of the new application system; according to the application system identification of the new application system and the anti-screenshot list information, the new application system is related to an anti-screenshot list information base which is related with at least one application system; comparing and analyzing the address information of the current access page of the browser with the anti-screenshot list information base; and based on the comparison analysis result, performing anti-screen capture processing on the window of the browser.
In a fifth aspect, the present application also provides a computer program product. The computer program product comprises a computer program which, when executed by a processor, implements the steps of:
when a new application system is accessed, acquiring an application system identifier of the new application system and acquiring anti-screen capturing list information of the new application system; according to the application system identification of the new application system and the anti-screenshot list information, the new application system is related to an anti-screenshot list information base which is related with at least one application system; comparing and analyzing the address information of the current access page of the browser with the anti-screenshot list information base; and based on the comparison analysis result, performing anti-screen capture processing on the window of the browser.
The browser screen capture prevention method, the browser screen capture prevention device, the computer equipment, the storage medium and the computer program product are used for acquiring the application system identification of a new application system when the new application system is accessed, and acquiring screen capture prevention list information of the new application system; according to the application system identification and the anti-screen-capture list information of the new application system, the new application system is related to an anti-screen-capture list information base which is related with at least one application system; comparing and analyzing the address information of the current access page of the browser with an anti-screenshot list information base; and performing anti-screen capture processing on the window of the browser based on the comparison analysis result. In this way, for the case of an application system involving multiple anti-screenshot requirements, when a new application system is accessed, the new application system is only required to be associated to an anti-screenshot list information base associated with at least one application system according to the application system identification and the anti-screenshot list information of the new application system, and then the anti-screenshot management is performed on the multiple application systems in a unified manner; therefore, the screen capture prevention requirements of a plurality of application systems can be met, and the screen capture prevention function does not need to be repeatedly developed aiming at the new application system, so that the application adaptation cost for developing the screen capture prevention function of the browser is effectively reduced.
Drawings
FIG. 1 is a flow diagram of a browser anti-screenshot method in one embodiment;
FIG. 2 is a flowchart illustrating steps of a browser anti-screenshot process in one embodiment;
FIG. 3 is a flowchart of a browser screen capture prevention method according to another embodiment;
FIG. 4 is a technical scheme of a browser screen capture prevention method in yet another embodiment;
FIG. 5 is a flowchart of a browser screen capture prevention method according to another embodiment;
FIG. 6 is a block diagram of a browser anti-screenshot device in one embodiment;
fig. 7 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
It should be noted that, the user information (including, but not limited to, user equipment information, user personal information, etc.) and the data (including, but not limited to, data for analysis, stored data, presented data, etc.) referred to in the present application are information and data authorized by the user or sufficiently authorized by each party, and the collection, use and processing of the related data are required to comply with the related laws and regulations and standards of the related countries and regions.
In one embodiment, as shown in fig. 1, a browser screen capturing prevention method is provided, and this embodiment is applied to a terminal for illustration by using the method, it is understood that the method may also be applied to a server, and may also be applied to a system including the terminal and the server, and implemented through interaction between the terminal and the server. The terminal can be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers and the like; the server may be implemented as a stand-alone server or as a server cluster composed of a plurality of servers. In this embodiment, the method includes the steps of:
step S101, when a new application system is accessed, the application system identification of the new application system is acquired, and the screen capture prevention list information of the new application system is acquired.
Wherein, the application system identification of the new application system refers to the access domain name or access link of the application system.
The anti-screenshot list information comprises one or more preset secret-related page information.
Specifically, the terminal responds to an access request of a new application system, acquires an application system identification of the new application system when the new application system is accessed according to the access request, and acquires anti-screenshot list information of the new application system.
Step S102, the new application system is related to the anti-screen-capture list information base which is related with at least one application system according to the application system identification and the anti-screen-capture list information of the new application system.
The anti-screenshot list information base is used for storing anti-screenshot list information and comprises at least one anti-screenshot list information.
Specifically, the terminal identifies the corresponding relation between the application system identification of the new application system and the anti-screenshot list information, and associates the new application system to the anti-screenshot list information base associated with at least one application system according to the corresponding relation, so that the anti-screenshot list information base contains the anti-screenshot list information of the new application system.
And step S103, comparing and analyzing the address information of the current access page of the browser with the anti-screenshot list information base.
The current access page address information can be updated in real time according to the current access page of the browser window.
Specifically, the terminal acquires an information comparison and analysis instruction, and compares and analyzes the address information of the current access page of each application system in the browser with corresponding anti-screenshot list information in an anti-screenshot list information base according to the information comparison and analysis instruction to obtain comparison and analysis results corresponding to each application system.
Step S104, based on the comparison analysis result, performing anti-screen capture processing on the window of the browser.
In actual practice, the anti-screenshot mode may include the page content being blocked from view (typically displayed as a black screen) or the screenshot interface being disabled from screen-screenshot.
Specifically, the terminal judges whether the situation that the current access page address information belongs to the corresponding anti-screenshot list information and marks the page information exists or not based on comparison analysis results corresponding to the application systems, and when the situation that the current access page address information belongs to the corresponding anti-screenshot list information and marks the page information is matched, the window of the current browser is set to be in an anti-screenshot mode.
According to the browser screen capture prevention method, when a new application system is accessed, an application system identifier of the new application system is obtained, and screen capture prevention list information of the new application system is obtained; according to the application system identification and the anti-screen-capture list information of the new application system, the new application system is related to an anti-screen-capture list information base which is related with at least one application system; comparing and analyzing the address information of the current access page of the browser with an anti-screenshot list information base; and performing anti-screen capture processing on the window of the browser based on the comparison analysis result. In this way, for the case of an application system involving multiple anti-screenshot requirements, when a new application system is accessed, the new application system is only required to be associated to an anti-screenshot list information base associated with at least one application system according to the application system identification and the anti-screenshot list information of the new application system, and then the anti-screenshot management is performed on the multiple application systems in a unified manner; therefore, the screen capture prevention requirements of a plurality of application systems can be met, and the screen capture prevention function does not need to be repeatedly developed aiming at the new application system, so that the application adaptation cost for developing the screen capture prevention function of the browser is effectively reduced.
In one embodiment, in the step S102, the new application system is associated with the anti-screenshot list information base associated with at least one application system according to the application system identifier and the anti-screenshot list information of the new application system, which specifically includes the following contents: marking the anti-screenshot list information according to the application system identification of the new application system to obtain marked anti-screenshot list information; the marked anti-screenshot list information is anti-screenshot list information uniquely corresponding to the application system identification of the new application system; and inputting the marked anti-screenshot list information into an anti-screenshot list information base which already contains at least one anti-screenshot list information uniquely corresponding to the corresponding application system.
The terminal identifies an application system identifier of the new application system, an identifier identification result is obtained, and the anti-screenshot list information is marked according to the identifier identification result to obtain marked anti-screenshot list information; and inputting the marked anti-screenshot list information into an anti-screenshot list information base which already contains at least one anti-screenshot list information uniquely corresponding to the corresponding application system, and obtaining an anti-screenshot list information base which already contains at least two anti-screenshot list information uniquely corresponding to the corresponding application system.
In this embodiment, the anti-screenshot list information is marked, and the marked anti-screenshot list information is input into the target anti-screenshot list information base, so that the application system and the anti-screenshot list information corresponding to the application system are accurately associated, and the appointed anti-screenshot list information base is utilized to uniformly store the anti-screenshot list information.
In one embodiment, before comparing and analyzing the current access page address information of the browser with the anti-screenshot list information base, the method further comprises the following steps: simultaneously detecting the address information of the current access page of a plurality of application systems in the browser; and respectively matching the unique corresponding anti-screenshot list information in the anti-screenshot list information base according to the application system identifiers of the application systems to obtain the anti-screenshot list information uniquely corresponding to the application systems.
Specifically, the terminal detects address information of a current access page of a plurality of application systems in the browser at the same time; according to the application system identifiers of the application systems, matching the unique corresponding anti-screenshot list information in the anti-screenshot list information base one by one to obtain anti-screenshot list information uniquely corresponding to each application system; and comparing and analyzing the address information of the current access page of each application system in the browser with the anti-screenshot list information uniquely corresponding to each application system.
In this embodiment, according to the application system identifiers of the application systems, the unique corresponding anti-screenshot list information in the anti-screenshot list information base is matched, so that the anti-screenshot list information uniquely corresponding to each application system is obtained rapidly and accurately, and the subsequent comparison and analysis are facilitated.
In one embodiment, in the step S103, the comparison analysis is performed on the address information of the current access page of the browser and the anti-screenshot list information base, which specifically includes the following contents: and comparing and analyzing the address information of the current access page of each application system in the browser with the anti-screenshot list information uniquely corresponding to each application system to obtain a comparison and analysis result corresponding to each application system.
Specifically, the terminal compares and analyzes the current access page address information of each application system in the browser with the anti-screenshot list information uniquely corresponding to each application system, and identifies whether the current access page address information of the application system belongs to the corresponding marked page information in the anti-screenshot list information, so as to obtain a comparison and analysis result corresponding to each application system.
In this embodiment, the comparison analysis is performed on the current access page address information of each application system in the browser and the anti-screenshot list information uniquely corresponding to each application system, so that the comparison analysis result corresponding to each application system is obtained in a targeted manner, and the accuracy of the identification of the subsequent comparison analysis result is improved.
In one embodiment, as shown in fig. 2, in the step S103, based on the comparison analysis result, the anti-screenshot process is performed on the window of the browser, and specifically includes the following steps:
step S201, based on the comparison analysis result corresponding to each application system, whether the situation that the current access page address information of the application system belongs to the corresponding marked page information in the anti-screenshot list information is identified.
Step S202, generating an anti-screen capturing control instruction for the browser under the condition that the current access page address information of any application system is identified to belong to the marked page information.
Step S203, according to the anti-screen capturing control instruction, anti-screen capturing processing is carried out on the window of the browser.
The screen capture prevention control instruction is a control instruction for setting a window of a current browser to a screen capture prevention mode.
Specifically, the terminal identifies whether the situation that the current access page address information of the application system belongs to the corresponding marked page information in the anti-screenshot list information one by one based on the comparison analysis result corresponding to each application system; generating an anti-screen capturing control instruction aiming at the browser under the condition that the current access page address information of any application system is identified to belong to the marked page information; and performing anti-screen capturing processing on the window of the browser according to the anti-screen capturing control instruction so as to set the window of the browser to be in an anti-screen capturing mode.
In the embodiment, under the condition that the current access page address information of any application system is identified to belong to the marked page information, an anti-screen-capture control instruction for the browser is generated, and anti-screen-capture processing is performed on the window of the browser, so that the anti-screen-capture requirements of a plurality of application systems are efficiently and accurately met.
In one embodiment, the method for preventing screen capturing of the browser further comprises the following steps: under the condition that the application system triggering the anti-screen capturing control instruction is identified to stop accessing the marked page information, generating an anti-screen capturing control instruction aiming at the browser; and according to the instruction for removing the screen capture prevention control, removing the screen capture prevention processing of the window of the browser.
The control instruction for removing the anti-screen-capture mode is used for removing the window anti-screen-capture mode of the browser.
Specifically, the terminal identifies current access page address information of an application system triggering the anti-screen-capture control instruction, and generates an anti-screen-capture removal control instruction for the browser under the condition that the application system triggering the anti-screen-capture control instruction stops accessing the marked page information; and according to the anti-screen capturing control instruction, eliminating the anti-screen capturing process of the window of the browser so as to eliminate the anti-screen capturing mode of the window of the browser.
In this embodiment, when it is recognized that the application system that triggers the anti-screenshot control instruction stops accessing the marked page information, an anti-screenshot control instruction for releasing the browser is generated, and anti-screenshot processing on the window of the browser is released, so that corresponding adjustment can be flexibly made according to the actual access page address information of the browser.
In one embodiment, the method for preventing screen capturing of the browser further comprises the following steps: under the condition that a processing instruction to a target application system is received, executing a second processing operation to corresponding anti-screenshot list information in an anti-screenshot list information base when executing a corresponding first processing operation to the target application system according to the processing instruction; the second processing operation corresponds to the first processing operation.
The processing instructions of the target application system comprise a query instruction, a new instruction, a deletion instruction, a modification instruction and the like.
The first processing operation includes querying the related application system, adding the related application system, deleting the related application system, modifying the application system identification of the related application system, and the like.
The second processing operation includes querying the anti-screenshot list information of the related application system, adding the anti-screenshot list information of the related application system, deleting the anti-screenshot list information of the related application system, and modifying the mark of the anti-screenshot list information of the related application system.
Specifically, under the condition that a processing instruction to a target application system is received, the terminal executes corresponding first processing operation to the target application system according to the processing instruction, and executes second processing operation to corresponding anti-screenshot list information in an anti-screenshot list information base in response to the first processing operation.
For example, when receiving a deletion instruction to a target application system, the terminal deletes the target application system according to the deletion instruction, and deletes the anti-screenshot list information corresponding to the target application system in the anti-screenshot list information base in response to the deletion operation of the application system.
For another example, when receiving an application system identifier modification instruction for a target application system, the terminal modifies an application system identifier of the target application system according to the application system identifier modification instruction, and modifies a mark of anti-screenshot list information corresponding to the target application system in the anti-screenshot list information base in response to the application system identifier modification operation.
In this embodiment, when a processing instruction for a target application system is received and a corresponding first processing operation is performed for the target application system, a second processing operation for corresponding anti-screenshot list information in an anti-screenshot list information base is performed, so that a targeted operation can be flexibly performed for a related application system according to actual requirements.
In one embodiment, as shown in fig. 3, another browser screen capture prevention method is provided, which specifically includes the following steps:
step S301, when a new application system is accessed, an application system identifier of the new application system is obtained, and anti-screenshot list information of the new application system is obtained.
Step S302, marking the anti-screenshot list information according to an application system identifier of a new application system to obtain marked anti-screenshot list information; and inputting the marked anti-screenshot list information into an anti-screenshot list information base which already contains at least one anti-screenshot list information base which is uniquely corresponding to the corresponding application system.
Step S303, detecting the address information of the current access page of a plurality of application systems in the browser at the same time; and respectively matching the unique corresponding anti-screenshot list information in the anti-screenshot application list information base according to the application system identifiers of the application systems to obtain the unique corresponding anti-screenshot list information of the application systems.
And step S304, comparing and analyzing the current access page address information of each application system in the browser with the anti-screenshot application list uniquely corresponding to each application system to obtain a comparison and analysis result corresponding to each application system.
Step S305, based on the comparison analysis results corresponding to the application systems, identifying whether the situation that the current access page address information of the application system belongs to the corresponding marked page information in the anti-screenshot list information exists; generating an anti-screen capturing control instruction aiming at the browser under the condition that the current access page address information of any application system is identified to belong to the marked page information; and performing anti-screen capturing processing on the window of the browser according to the anti-screen capturing control instruction.
Step S306, under the condition that each application system triggering the anti-screen capturing control instruction is identified to stop accessing the marked page information, generating an anti-screen capturing control instruction aiming at the browser; and according to the instruction for removing the screen capture prevention control, removing the screen capture prevention processing of the window of the browser.
Step S307, when a processing instruction for the target application system is received, according to the processing instruction, when a corresponding first processing operation is performed for the target application system, a second processing operation for the corresponding anti-screenshot list information in the anti-screenshot list information base is performed.
According to the browser screen capturing prevention method, for the situation of an application system related to a plurality of screen capturing prevention requirements, when a new application system is accessed, the new application system is only required to be related to the screen capturing prevention list information base related with at least one application system according to the application system identification and the screen capturing prevention list information of the new application system, and the screen capturing prevention management is performed on the plurality of application systems uniformly, so that the screen capturing prevention requirements of the plurality of application systems can be met, the screen capturing prevention function does not need to be repeatedly developed for the new application system, and the application adaptation cost for developing the screen capturing prevention function of the browser is effectively reduced; in addition, under the condition that the application system triggering the anti-screen capturing control instruction stops accessing the marked page information is identified, the anti-screen capturing processing of the window of the browser is released, and accordingly corresponding adjustment can be flexibly made according to the actual access page address information of the browser.
In order to more clearly clarify the browser anti-screenshot method provided by the embodiment of the present application, a specific embodiment is described below specifically. In an embodiment, the present application further provides another method for preventing screen capturing by using a browser, as shown in fig. 4, which is a technical scheme diagram of the method for preventing screen capturing by using a browser, and mainly includes: a management configuration module 401, a data storage module 402, a unified browser screen capture prevention control module 403, and a unified browser screen capture prevention extension module 404.
Management configuration module 401: the system is mainly responsible for managing the system needing screen capture prevention, including inquiring, adding, deleting and modifying the access domain name or link address of the related application system.
The data storage module 402 is responsible for storing domain names and link addresses of the anti-screenshot application systems.
The unified browser anti-screenshot control module 403: the inventory information of the anti-screenshot application system and the message of the unified browser extension module 404 are received from the data storage module 402. And when the accessed information of the domain name or the link address of the application system is in the anti-screen-capture application list, carrying out anti-screen-capture processing on the browser window.
Unified browser anti-screenshot extension module 404: and the browser window is responsible for detecting the browser window in real time, and feeding back the currently accessed page link information to the unified browser screen capture prevention control module 403.
Fig. 5 is a schematic flow chart of the method for preventing screen capturing of the browser, which specifically includes the following steps:
step S501: the anti-screenshot application configuration enters the domain name address or access link of the application system that needs anti-screenshot through the management configuration module 401.
Step S502: the list of the anti-screenshot application is acquired, and the list of the anti-screenshot application including the relevant address or link information is acquired from the data storage module 402 through the configuration acquisition unit of the unified browser anti-screenshot control module 503.
Step S503: the method comprises the steps of detecting browser page access, and acquiring a page access address of a browser window in real time through a detection unit of a unified browser screen capture prevention expansion module 504; the related information is then transmitted to the unified browser screen capture prevention control module 403 through the transmission unit.
Step S504: the confidential page analysis is performed, by the configuration analysis unit of the unified browser screen capture prevention control module 503, the page access address information received from the unified browser screen capture prevention expansion module 404 is analyzed with the application list acquired by the configuration acquisition unit, and when the page which is currently accessed is matched with the confidential page in the list, the screen capture control unit of the unified browser screen capture prevention control module 403 is notified.
Step S505: and (3) screen capture prevention control, wherein after the screen capture control unit of the unified browser screen capture prevention control module 403 receives the control information transmitted in step S504, the current browser window is set to be in a screen capture prevention mode.
Step S506: after the processing is finished, when the screen capturing tool carries out screen capturing operation on the browser window, the screen capturing cannot be successfully carried out.
It should be noted that, in the above method for preventing screen capturing of a browser, when a single application system is running, and a plurality of application systems are running simultaneously, the control module may perform screen capturing prevention control on the running plurality of application systems. For different brands of browsers, expansion of installing different browsers can be involved, and the corresponding browser anti-screenshot control module needs to be adaptively adjusted according to the brands of browsers.
The beneficial effects brought by the embodiment are as follows: the browser screen capture prevention method solves the problem that each application in the enterprise repeatedly develops the screen capture prevention function, and reduces the application development cost; especially after the operating system is replaced in the enterprise, each application needs to carry out the adaptation development of the browser screen capture prevention scheme aiming at the new operating system. On the other hand, by deploying unified browser screen capture prevention expansion and a local client module at the client, the problem of mutual control conflict caused by non-uniform control of screen capture prevention of each application is avoided.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiment of the application also provides a browser screen capture prevention device for realizing the above-mentioned browser screen capture prevention method. The implementation of the solution provided by the device is similar to the implementation described in the above method, so the specific limitation in the embodiments of one or more browser anti-screenshot devices provided below may be referred to the limitation of the browser anti-screenshot method hereinabove, and will not be repeated herein.
In one embodiment, as shown in fig. 6, there is provided a browser anti-screenshot device, including:
the information obtaining module 601 is configured to obtain an application system identifier of a new application system when the new application system is accessed, and obtain anti-screenshot list information of the new application system.
The information association module 602 is configured to associate the new application system to the anti-screenshot list information base associated with at least one application system according to the application system identifier and the anti-screenshot list information of the new application system.
The comparison and analysis module 603 is configured to compare and analyze the address information of the currently accessed page of the browser with the anti-screenshot list information base.
And the anti-screen capture processing module 604 is used for performing anti-screen capture processing on the window of the browser based on the comparison analysis result.
In one embodiment, the information association module 602 is further configured to mark the anti-screenshot list information according to an application system identifier of the new application system, to obtain marked anti-screenshot list information; the marked anti-screenshot list information is anti-screenshot list information uniquely corresponding to the application system identification of the new application system; and inputting the marked anti-screenshot list information into an anti-screenshot list information base which already contains at least one anti-screenshot list information uniquely corresponding to the corresponding application system.
In one embodiment, the browser screen capture preventing device further comprises an information matching module, which is used for simultaneously detecting the address information of the current access page of a plurality of application systems in the browser; and respectively matching the unique corresponding anti-screenshot list information in the anti-screenshot list information base according to the application system identifiers of the application systems to obtain the anti-screenshot list information uniquely corresponding to the application systems.
In one embodiment, the comparison and analysis module 603 is further configured to compare and analyze the current access page address information of each application system in the browser with the anti-screenshot list information uniquely corresponding to each application system, to obtain a comparison and analysis result corresponding to each application system.
In one embodiment, the anti-screenshot processing module 604 is further configured to identify whether there is a situation that the current access page address information of the application system belongs to the corresponding anti-screenshot list information and marks page information based on the comparison analysis result corresponding to each application system; generating an anti-screen capturing control instruction aiming at the browser under the condition that the current access page address information of any application system is identified to belong to the marked page information; and performing anti-screen capturing processing on the window of the browser according to the anti-screen capturing control instruction.
In one embodiment, the browser anti-screenshot device further comprises an anti-screenshot releasing module, configured to generate a release anti-screenshot control instruction for the browser if it is identified that the application system triggering the anti-screenshot control instruction stops accessing the markup page information; and according to the instruction for removing the screen capture prevention control, removing the screen capture prevention processing of the window of the browser.
In one embodiment, the browser anti-screenshot device further includes a system management module, configured to execute, when receiving a processing instruction for the target application system and executing a corresponding first processing operation for the target application system according to the processing instruction, a second processing operation for corresponding anti-screenshot list information in the anti-screenshot list information base; the second processing operation corresponds to the first processing operation.
The various modules in the browser anti-screenshot device described above may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a terminal, and the internal structure of which may be as shown in fig. 7. The computer device includes a processor, a memory, an input/output interface, a communication interface, a display unit, and an input means. The processor, the memory and the input/output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input/output interface. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The input/output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program when executed by a processor implements a browser anti-screenshot method. The display unit of the computer device is used for forming a visual picture, and can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be a key, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in fig. 7 is merely a block diagram of some of the structures associated with the present application and is not limiting of the computer device to which the present application may be applied, and that a particular computer device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided comprising a memory and a processor, the memory having stored therein a computer program, the processor when executing the computer program performing the steps of:
when a new application system is accessed, an application system identification of the new application system is obtained, and screen capture preventing list information of the new application system is obtained;
according to the application system identification and the anti-screen-capture list information of the new application system, the new application system is related to an anti-screen-capture list information base which is related with at least one application system;
comparing and analyzing the address information of the current access page of the browser with an anti-screenshot list information base;
and performing anti-screen capture processing on the window of the browser based on the comparison analysis result.
In one embodiment, the processor when executing the computer program further performs the steps of: marking the anti-screenshot list information according to the application system identification of the new application system to obtain marked anti-screenshot list information; the marked anti-screenshot list information is anti-screenshot list information uniquely corresponding to the application system identification of the new application system; and inputting the marked anti-screenshot list information into an anti-screenshot list information base which already contains at least one anti-screenshot list information uniquely corresponding to the corresponding application system.
In one embodiment, the processor when executing the computer program further performs the steps of: simultaneously detecting the address information of the current access page of a plurality of application systems in the browser; and respectively matching the unique corresponding anti-screenshot list information in the anti-screenshot list information base according to the application system identifiers of the application systems to obtain the anti-screenshot list information uniquely corresponding to the application systems.
In one embodiment, the processor when executing the computer program further performs the steps of: and comparing and analyzing the address information of the current access page of each application system in the browser with the anti-screenshot list information uniquely corresponding to each application system to obtain a comparison and analysis result corresponding to each application system.
In one embodiment, the processor when executing the computer program further performs the steps of: based on comparison analysis results corresponding to the application systems, identifying whether the situation that the current access page address information of the application system belongs to the corresponding screen capture prevention list information exists or not; generating an anti-screen capturing control instruction aiming at the browser under the condition that the current access page address information of any application system is identified to belong to the marked page information; and performing anti-screen capturing processing on the window of the browser according to the anti-screen capturing control instruction.
In one embodiment, the processor when executing the computer program further performs the steps of: under the condition that the application system triggering the anti-screen capturing control instruction is identified to stop accessing the marked page information, generating an anti-screen capturing control instruction aiming at the browser; and according to the instruction for removing the screen capture prevention control, removing the screen capture prevention processing of the window of the browser.
In one embodiment, the processor when executing the computer program further performs the steps of: under the condition that a processing instruction to a target application system is received, executing a second processing operation to corresponding anti-screenshot list information in an anti-screenshot list information base when executing a corresponding first processing operation to the target application system according to the processing instruction; the second processing operation corresponds to the first processing operation.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when executed by a processor, carries out the steps of the method embodiments described above.
In an embodiment, a computer program product is provided, comprising a computer program which, when executed by a processor, implements the steps of the method embodiments described above.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the various embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magnetic random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (Phase Change Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like. The databases referred to in the various embodiments provided herein may include at least one of relational databases and non-relational databases. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic units, quantum computing-based data processing logic units, etc., without being limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples only represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the present application. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application shall be subject to the appended claims.

Claims (11)

1. A browser anti-screenshot method, the method comprising:
when a new application system is accessed, acquiring an application system identifier of the new application system and acquiring anti-screen capturing list information of the new application system;
according to the application system identification of the new application system and the anti-screenshot list information, the new application system is related to an anti-screenshot list information base which is related with at least one application system;
Comparing and analyzing the address information of the current access page of the browser with the anti-screenshot list information base;
and based on the comparison analysis result, performing anti-screen capture processing on the window of the browser.
2. The method of claim 1, wherein associating the new application system to the anti-screenshot manifest information base to which at least one application system has been associated based on the application system identification of the new application system and the anti-screenshot manifest information, comprises:
marking the anti-screenshot list information according to the application system identification of the new application system to obtain marked anti-screenshot list information; the marked anti-screenshot list information is anti-screenshot list information uniquely corresponding to an application system identifier of the new application system;
and inputting the marked anti-screenshot list information into an anti-screenshot list information base which already contains at least one anti-screenshot list information uniquely corresponding to the corresponding application system.
3. The method of claim 1, wherein prior to comparing the currently accessed page address information of the browser to the anti-screenshot manifest information library, the method further comprises:
Simultaneously detecting the address information of the current access page of a plurality of application systems in the browser;
and respectively matching the unique corresponding anti-screenshot list information in the anti-screenshot list information base according to the application system identifiers of the application systems to obtain the anti-screenshot list information uniquely corresponding to the application systems.
4. The method of claim 3, wherein comparing the currently accessed page address information of the browser with the anti-screenshot manifest information library comprises:
and comparing and analyzing the current access page address information of each application system in the browser with the anti-screenshot list information uniquely corresponding to each application system to obtain a comparison and analysis result corresponding to each application system.
5. The method of claim 4, wherein the performing the anti-screenshot process on the window of the browser based on the comparison analysis result comprises:
based on the comparison analysis results corresponding to the application systems, identifying whether the situation that the current access page address information of the application system belongs to the corresponding marked page information in the anti-screenshot list information exists or not;
Generating an anti-screen capturing control instruction aiming at the browser under the condition that the current access page address information of any application system is identified to belong to the marked page information;
and performing anti-screen capture processing on the window of the browser according to the anti-screen capture control instruction.
6. The method of claim 5, wherein the method further comprises:
under the condition that an application system triggering the anti-screen capturing control instruction is identified to stop accessing the marked page information, generating an anti-screen capturing control instruction for releasing the browser;
and according to the anti-screen capture control instruction, eliminating the anti-screen capture processing of the window of the browser.
7. The method according to any one of claims 1 to 6, further comprising:
under the condition that a processing instruction to a target application system is received, executing a second processing operation on corresponding anti-screenshot list information in the anti-screenshot list information base when executing a corresponding first processing operation on the target application system according to the processing instruction; the second processing operation corresponds to the first processing operation.
8. A browser anti-screenshot device, the device comprising:
The information acquisition module is used for acquiring an application system identifier of a new application system and acquiring screen capture prevention list information of the new application system when the new application system is accessed;
the information association module is used for associating the new application system to an anti-screenshot list information base associated with at least one application system according to the application system identification of the new application system and the anti-screenshot list information;
the comparison analysis module is used for comparing and analyzing the current access page address information of the browser with the anti-screenshot list information base;
and the screen capture prevention processing module is used for carrying out screen capture prevention processing on the window of the browser based on the comparison analysis result.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 7 when the computer program is executed.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 7.
11. A computer program product comprising a computer program, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 7.
CN202310375741.7A 2023-04-10 2023-04-10 Browser screen capture prevention method, device, computer equipment, medium and program product Pending CN116432229A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310375741.7A CN116432229A (en) 2023-04-10 2023-04-10 Browser screen capture prevention method, device, computer equipment, medium and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310375741.7A CN116432229A (en) 2023-04-10 2023-04-10 Browser screen capture prevention method, device, computer equipment, medium and program product

Publications (1)

Publication Number Publication Date
CN116432229A true CN116432229A (en) 2023-07-14

Family

ID=87086815

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310375741.7A Pending CN116432229A (en) 2023-04-10 2023-04-10 Browser screen capture prevention method, device, computer equipment, medium and program product

Country Status (1)

Country Link
CN (1) CN116432229A (en)

Similar Documents

Publication Publication Date Title
WO2020181839A1 (en) Page data testing method, apparatus, computer device, and storage medium
CN111191221B (en) Configuration method and device of authority resources and computer readable storage medium
US10380103B2 (en) Object data updating method and apparatus in an object storage system
CN107688664B (en) Chart generation method and device, computer equipment and storage medium
US9280665B2 (en) Fast and accurate identification of message-based API calls in application binaries
US10754717B2 (en) Fast and accurate identification of message-based API calls in application binaries
KR101977178B1 (en) Method for file forgery check based on block chain and computer readable recording medium applying the same
CN109542764B (en) Webpage automatic testing method and device, computer equipment and storage medium
US20160004850A1 (en) Secure download from internet marketplace
CN110866011B (en) Data table synchronization method and device, computer equipment and storage medium
CN112035471A (en) Transaction processing method and computer equipment
CN115357590A (en) Recording method and device for data change, electronic device and storage medium
CN111753141B (en) Data management method and related equipment
US12063281B2 (en) Methods for controlling tracking elements of a web page and related electronic devices
CN109840250B (en) Method, device, equipment and storage medium for managing access authority of intermediate field
CN116303510A (en) Resource transfer transaction processing method, device, computer equipment and storage medium
CN116432229A (en) Browser screen capture prevention method, device, computer equipment, medium and program product
CN111221817B (en) Service information data storage method, device, computer equipment and storage medium
CN112783969B (en) Request processing method and device, computer system and readable storage medium
CN117033452A (en) Database processing method, device, computer equipment and storage medium
CN116797189A (en) Information processing method, apparatus, computer device, and storage medium
CN116484138A (en) Window processing method, device, computer equipment and storage medium
CN117331477A (en) Storage method and device for annotation data of three-dimensional model and electronic equipment
CN116226187A (en) Data caching method, device, computer equipment and storage medium
CN114510492A (en) Service data processing method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination