CN107967412B - Method for controlling limited access of PDF file - Google Patents

Method for controlling limited access of PDF file Download PDF

Info

Publication number
CN107967412B
CN107967412B CN201711205104.6A CN201711205104A CN107967412B CN 107967412 B CN107967412 B CN 107967412B CN 201711205104 A CN201711205104 A CN 201711205104A CN 107967412 B CN107967412 B CN 107967412B
Authority
CN
China
Prior art keywords
authority
file
pdf file
pdf
network server
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.)
Active
Application number
CN201711205104.6A
Other languages
Chinese (zh)
Other versions
CN107967412A (en
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.)
Wuhan Steel Engineering Technology Group Communication Co., Ltd.
Original Assignee
Baoxin Software Wuhan Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Baoxin Software Wuhan Co ltd filed Critical Baoxin Software Wuhan Co ltd
Priority to CN201711205104.6A priority Critical patent/CN107967412B/en
Publication of CN107967412A publication Critical patent/CN107967412A/en
Application granted granted Critical
Publication of CN107967412B publication Critical patent/CN107967412B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Technology Law (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Storage Device Security (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to the field of computer software application, and provides a method for controlling limited access of a PDF file, which comprises a network client, a network server and an authority control module for distributing a plurality of different authorities; uploading a PDF file to be set with authority to the network server side in the network client side for authority setting; then the network client side acquires the PDF file after the authority setting is finished; the network client comprises a browser for a text control person to obtain a PDF file, and the authority control module receives the PDF file which is transmitted by the network server and is subjected to authority setting and then allocates the PDF file to different access addresses of the browser according to different authorities. According to the method for controlling the limited access of the PDF file, different authorities are distributed through the authority control module, and a series of problems that in the past, the PDF file distribution efficiency is low, different types of user authorities are difficult to control, version errors are easy to occur and the like are effectively solved.

Description

Method for controlling limited access of PDF file
Technical Field
The invention relates to the field of computer software application, in particular to a method for controlling limited access of a PDF file.
Background
PDF is a Portable Document Format, which is an electronic file Format. It has many advantages over other electronic document formats, such as file format independence from the operating system platform, i.e., PDF files are common whether in the Windows or Unix operating systems. This feature makes it an ideal document format for electronic document distribution and digital information dissemination over the Internet.
The limited control of the PDF file is generally realized in a file encryption mode, and the encrypted file can be authorized one by one machine, and the copying and printing are prohibited. The realization needs to set a password for each PDF file, the password is bound with computer hardware of a user, the setting is complex, and the operation is inconvenient. Therefore, the issuing efficiency of the PDF files cannot be guaranteed, and the text control personnel are often busy and burnt, but cannot ensure that each process technician uses the files with correct versions, which directly affects the product quality index.
Disclosure of Invention
The invention aims to provide a method for controlling the limited access of a PDF file, which can at least solve part of defects in the prior art.
In order to achieve the above purpose, the embodiments of the present invention provide the following technical solutions: a method for controlling PDF file limited access includes network client end and network server end,
the system also comprises an authority control module used for distributing a plurality of different authorities;
uploading a PDF file to be set with authority to the network server side in the network client side for authority setting;
then the network client side acquires the PDF file after the authority setting is finished;
the network client comprises a browser for a text control person to obtain a PDF file, and the authority control module receives the PDF file which is transmitted by the network server and is subjected to authority setting and then allocates the PDF file to different access addresses of the browser according to different authorities.
Further, before uploading the PDF with the authority to be set, registering different authority information of the PDF file with the authority to be set through an information registration module; the information registration module sends out an instruction that the network client uploads a PDF file to be set with authority to the network server according to different registered authority information, and sends out an instruction that the authority control module needs to distribute different authorities.
Furthermore, the plurality of different authorities distributed by the authority control module comprise an no-authority instruction, a download authority instruction and a browse authority instruction; and the no-permission instruction, the downloading permission instruction and the browsing permission instruction are respectively distributed to different access addresses of the browser.
Further, setting the authority at the network server side specifically includes: and setting a download file matched with the download permission instruction and setting a browsing file matched with the browsing permission instruction.
Further, the step of obtaining the download file includes: s1, storing the uploaded PDF file to be set with authority in the network server; s2, decomposing the PDF file to be set with authority at the network server end; s3, writing the data into the database after decomposition; and S4, adding the watermark in the database and providing a download address.
Further, the information registered by the information registration module is a path, a file name, an uploading user and uploading time of the file, and the path, the file name, the uploading user and the uploading time of the file are stored in a database.
Further, a SWFTOOLS tool is adopted for converting the PDF file into the SWF file.
Further, the step of acquiring the browsing file includes: s10, converting the uploaded PDF file to be set with authority into an SWF file at the network server; s20, the conversion is completed and then the conversion is stored in the network server; s30, decomposing the SWF file at the network server end; and S40, writing the data into the database after the decomposition is finished, and providing a browsing address.
Further, in the step S10, the conversion method specifically includes: and the PDF file to be set with the authority is clicked by the control personnel and then converted, or the conversion is started after the timing time is reached at the network server side.
Further, the virtual printer is adopted to access the address of the browser allocated by the download authority instruction.
Compared with the prior art, the invention has the beneficial effects that:
1. different authorities are distributed through the authority control module, and a series of problems that PDF file distribution efficiency is low, different types of user authorities are difficult to control, version errors are easy to occur and the like in the past are effectively solved.
2. The method saves human resources, reduces communication links, reduces cost, avoids version errors and provides guarantee for the safety of the files.
Drawings
Fig. 1 is a work flow diagram of a method for controlling a PDF file to have limited access according to an embodiment of the present invention;
fig. 2 is a flowchart of a step of acquiring a download file of a method for controlling a PDF file to have limited access according to an embodiment of the present invention;
fig. 3 is a flowchart of a step of fetching a browsing file of a method for controlling restricted access to a PDF file according to an embodiment of the present invention;
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, an embodiment of the present invention provides a method for controlling a PDF file to have a limited access, including a network client, a network server, and an authority control module for allocating a plurality of different authorities; uploading a PDF file to be set with authority to the network server side in the network client side for authority setting; then the network client side acquires the PDF file after the authority setting is finished; the network client comprises a browser for a text control person to obtain a PDF file, and the authority control module receives the PDF file which is transmitted by the network server and is subjected to authority setting and then allocates the PDF file to different access addresses of the browser according to different authorities. In the method, different authorities are distributed through the authority control module, so that a series of problems that the conventional PDF file distribution efficiency is low, different types of user authorities are difficult to control, version errors are easy to occur and the like are effectively solved, and employees can download the PDF files with correct authorities through a browser.
The following are specific examples:
as an optimization scheme of the embodiment of the invention, before the PDF of the authority to be set is uploaded, different authority information of the PDF file of the authority to be set is registered through an information registration module; the information registration module sends out an instruction that the network client uploads a PDF file to be set with authority to the network server according to different registered authority information, and sends out an instruction that the authority control module needs to distribute different authorities. The method comprises the steps that a control manager registers information of a publishable technical file, rule types, product types and the like are required to be registered, the rule types and the product types form two-level pull-down menus, each menu corresponds to two groups, one is a management group, the authority is set to be downloadable, the other is an operation group, the authority is set to be browseable on line, the functions of the groups can be cancelled, and the authority setting is increased according to actual requirements.
As an optimization scheme of the embodiment of the invention, a plurality of different authorities distributed by the authority control module comprise an no-authority instruction, a download authority instruction and a browse authority instruction; and the no-permission instruction, the downloading permission instruction and the browsing permission instruction are respectively distributed to different access addresses of the browser. All employees can access the PDF file on the browser according to the different authority instructions according to the own authority. For example, if the command is an unauthorized command, no relevant content can be obtained, if the command is a download permission command, the download can be performed, and if the command is a browse permission command, the user can only read on the internet.
Further optimizing the above scheme, performing permission setting at the network server side specifically includes: and setting a download file matched with the download permission instruction and setting a browsing file matched with the browsing permission instruction. Each different instruction corresponds to a different authority file.
Further optimizing the above scheme, referring to fig. 2, the step of obtaining the download file includes: s1, storing the uploaded PDF file to be set with authority in the network server; s2, decomposing the PDF file to be set with authority at the network server end; s3, writing the data into the database after decomposition; and S4, adding the watermark in the database and providing a download address. When a controller clicks a PDF file link or the PDF file link is not clicked, after the PDF file link is timed for 10 minutes, the PDF file is converted into an SWF format file on a server, the file can display vector graphics in a webpage with a small resource occupation amount, if the PDF file has pictures or special fonts, rendering multiples are set to ensure that the picture of the converted file is not distorted, the converted SWF format file is named again according to a conversion timestamp and placed under another path of the server, and the path is a downloading address.
According to the scheme, the information registered by the information registration module is the path, the file name, the uploading user and the uploading time of the file, and the path, the file name, the uploading user and the uploading time of the file are stored in a database. The file handle is set for the file by the system for uniquely identifying the PDF file, and information such as a path, a file name, an uploading user, uploading time and the like of the PDF file is recorded.
Further optimizing the scheme, the PDF file is converted into the SWF file by adopting a SWFTOOLS tool. And the webpage loaded with the SWF file at the network server side is directly accessed by online browsing without setting a designated page number flash.
As an optimization scheme of the embodiment of the present invention, please refer to fig. 3, where the step of obtaining the browsing file includes: s10, converting the uploaded PDF file to be set with authority into an SWF file at the network server; s20, the conversion is completed and then the conversion is stored in the network server; s30, decomposing the SWF file at the network server end; and S40, writing the data into the database after the decomposition is finished, and providing a browsing address. If the user does not have the right to browse the document, no document path is provided for the user, and the user is prompted to have no right to browse the information; if the user has online browsing authority, the browser is used for directly loading the SWF format document, and the file path of the file cannot be disclosed because the SWF document is on the network server, so that the downloading of the user is controlled; if the user has the downloading authority, reading information such as a file path and the like from the database, finding the uploaded PDF file, watermarking the file, carrying information such as an IP address, a user name, current time and the like of a user client, and providing the address of the processed PDF file to the client for the user to download.
As the optimization scheme of the embodiment of the invention, the virtual printer can be adopted to access the address of the browser distributed by the download permission instruction, and the operation is convenient and quick.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

Claims (9)

1. A method for controlling PDF file limited access includes network client and network server, and is characterized by:
the system also comprises an authority control module used for distributing a plurality of different authorities;
uploading a PDF file to be set with authority to the network server side in the network client side for authority setting;
then the network client side acquires the PDF file after the authority setting is finished;
the network client comprises a browser for a text control person to obtain a PDF file, and the authority control module receives the PDF file which is transmitted by the network server and is subjected to authority setting and then allocates the PDF file to different access addresses of the browser according to different authorities;
before uploading the PDF to which the right is to be set,
registering different authority information of the PDF file to be set with the authority through an information registration module;
the information registration module sends out an instruction that the network client uploads a PDF file to be set with authority to the network server according to different registered authority information,
sending out instructions of different authorities to be distributed by the authority control module;
the method comprises the steps that a control manager registers information of a publishable technical file, procedure types and product types are required to be registered, the procedure types and the product types form two-level pull-down menus, each menu corresponds to two groups, one is a management group, the authority is set to be downloadable, the other is an operation group, and the authority is set to be browseable on line.
2. A method of controlling restricted access to a PDF file according to claim 1, wherein: the plurality of different authorities distributed by the authority control module comprise an no-authority instruction, a downloading authority instruction and a browsing authority instruction; and the no-permission instruction, the downloading permission instruction and the browsing permission instruction are respectively distributed to different access addresses of the browser.
3. The method for controlling the limited access of the PDF file according to claim 2, wherein the setting of the right is performed at the network server, specifically: and setting a download file matched with the download permission instruction and setting a browsing file matched with the browsing permission instruction.
4. A method of controlling restricted access to PDF files according to claim 3, wherein: the step of obtaining the download file comprises:
s1, storing the uploaded PDF file to be set with authority in the network server;
s2, decomposing the PDF file to be set with authority at the network server end;
s3, writing the data into the database after decomposition;
and S4, adding the watermark in the database and providing a download address.
5. A method of controlling restricted access to PDF files according to claim 4, wherein: the information registered by the information registration module is a path, a file name, an uploading user and uploading time of a file, and the path, the file name, the uploading user and the uploading time of the file are stored in a database.
6. The method of claim 5, wherein converting the PDF file into the SWF file uses SWFTOOLS tool.
7. A method of controlling restricted access to PDF files according to claim 3, wherein: the step of acquiring the browsing file comprises the following steps:
s10, converting the uploaded PDF file to be set with authority into an SWF file at the network server;
s20, the conversion is completed and then the conversion is stored in the network server;
s30, decomposing the SWF file at the network server end;
and S40, writing the data into the database after the decomposition is finished, and providing a browsing address.
8. The method for controlling limited access to a PDF file according to claim 7, wherein in the step S10, the conversion method is specifically: and the PDF file to be set with the authority is clicked by the control personnel and then converted, or the conversion is started after the timing time is reached at the network server side.
9. The method of claim 2, wherein the virtual printer is used to access the address of the browser assigned by the download authority instruction.
CN201711205104.6A 2017-11-27 2017-11-27 Method for controlling limited access of PDF file Active CN107967412B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711205104.6A CN107967412B (en) 2017-11-27 2017-11-27 Method for controlling limited access of PDF file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711205104.6A CN107967412B (en) 2017-11-27 2017-11-27 Method for controlling limited access of PDF file

Publications (2)

Publication Number Publication Date
CN107967412A CN107967412A (en) 2018-04-27
CN107967412B true CN107967412B (en) 2020-06-26

Family

ID=61997982

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711205104.6A Active CN107967412B (en) 2017-11-27 2017-11-27 Method for controlling limited access of PDF file

Country Status (1)

Country Link
CN (1) CN107967412B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110837648A (en) * 2019-10-23 2020-02-25 云深互联(北京)科技有限公司 Document processing method, device and equipment
CN112818177A (en) * 2020-12-31 2021-05-18 厦门市七星通联科技有限公司 Method, device and equipment for dynamically generating PDF (Portable document Format) and readable storage medium
CN116992173B (en) * 2023-09-28 2023-12-15 中孚信息股份有限公司 Method and system for opening encrypted file by browser based on MV3

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7987357B2 (en) * 2007-11-28 2011-07-26 Red Hat, Inc. Disabling remote logins without passwords
CN102662983A (en) * 2012-03-14 2012-09-12 南京新与力文化传播有限公司 A method for previewing PDF files on a remote server
CN104394176A (en) * 2014-12-17 2015-03-04 中国人民解放军国防科学技术大学 Webshell prevention method based on mandatory access control mechanism
CN104426898A (en) * 2013-09-11 2015-03-18 北大方正集团有限公司 Server, terminal, digital rights management system and digital rights management method
CN104471918A (en) * 2014-03-24 2015-03-25 华为技术有限公司 Method of downloading files, device and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7987357B2 (en) * 2007-11-28 2011-07-26 Red Hat, Inc. Disabling remote logins without passwords
CN102662983A (en) * 2012-03-14 2012-09-12 南京新与力文化传播有限公司 A method for previewing PDF files on a remote server
CN104426898A (en) * 2013-09-11 2015-03-18 北大方正集团有限公司 Server, terminal, digital rights management system and digital rights management method
CN104471918A (en) * 2014-03-24 2015-03-25 华为技术有限公司 Method of downloading files, device and system
CN104394176A (en) * 2014-12-17 2015-03-04 中国人民解放军国防科学技术大学 Webshell prevention method based on mandatory access control mechanism

Also Published As

Publication number Publication date
CN107967412A (en) 2018-04-27

Similar Documents

Publication Publication Date Title
US10454906B1 (en) Systems and methods for encryption and authentication
US11038677B2 (en) Systems and methods for encryption and authentication
CN109784922B (en) Electronic contract signing method, electronic contract signing device, computer equipment and storage medium
US10764139B2 (en) Information processing system and report creation method
US20120117629A1 (en) Relay apparatus, communication apparatus and relay method
US20140244455A1 (en) Presentation of image of source of tax data through tax preparation application
CN107967412B (en) Method for controlling limited access of PDF file
CN107992759B (en) Apparatus, method and computer readable storage medium for implementing electronic seal
CN110730208A (en) Local device calling method and device, storage medium and device
US20150040187A1 (en) Service provision system, service provision method, and computer program product
CN110839014B (en) Authentication method, authentication device, computer equipment and readable storage medium
WO2016025756A1 (en) Form filling method and related terminal
CN103793221A (en) Setting support apparatus, setting support system and setting support method
US11695756B2 (en) Display system, display method, and recording medium
CN109902095B (en) Policy information updating method, device, terminal and computer readable storage medium
CN113064562A (en) Man-machine interaction printing method and system based on block chain
US9665732B2 (en) Secure Download from internet marketplace
CN113204747A (en) Account management method, account management device, server and storage medium
US10902019B2 (en) Extensible file synchronization
KR101334589B1 (en) Font processing method for maintaining document layout, and computer-readable recording medium for the same
US11418484B2 (en) Document management system
CN112100685A (en) Encryption and tamper-proof processing method for checking and detecting electronic report
CN111506551A (en) Conference file extraction method and system and computer equipment
CN111078630A (en) Signature system and method
CN113064563A (en) Printing method based on block chain

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20190308

Address after: 430060 No. 16 Guanshan Road, Donghu High-tech Zone, Hongshan District, Wuhan City, Hubei Province

Applicant after: Wuhan Steel Engineering Technology Group Communication Co., Ltd.

Address before: 430000 East Lake New Technology Development Zone, Wuhan City, Hubei Province, north of the Central Line and west of Guanshan Avenue

Applicant before: Wuhan Wugang Information System Co., Ltd.

CB02 Change of applicant information
CB02 Change of applicant information

Address after: 430080 floor 15-22, building 4, Wuhan International Steel Logistics Service Center (Ganggu), Qingshan Town, Qingshan District, Wuhan City, Hubei Province

Applicant after: Baoxin software (Wuhan) Co., Ltd

Address before: 430060 Guan Shan Road, East Lake Hi-tech Zone, Hongshan District, Wuhan, Hubei Province, No. 16

Applicant before: Wuhan Steel Engineering Technology Group Communication Co., Ltd.

GR01 Patent grant
GR01 Patent grant