-
-
Notifications
You must be signed in to change notification settings - Fork 668
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] API to sanitize documents #433
Comments
Hello @MarcGodard! I think an API like this could belong in pdf-lib, if it's just a matter of removing scripts, links, etc... That being said, I don't personally have time to work on this right now. But I'd be happy to accept a PR for it, and answer any questions you (or others) might have about implementing it. Please also see #375 and #536. They have some additional information/examples about removing scripts and links. |
@Hopding Great, I will do a deep dive into this and the auth stuff that you mentioned a similar response to. Just lately work has been crazy. |
This issue is stale because it has been open 2 weeks with no activity. It will be closed in 2 days unless there is new activity. See MAINTAINERSHIP.md#issues for details. |
This isn't an issue, it is a feature-request. |
@MarcGodard please see #177 (comment) |
Added this to the roadmap for tracking: #998. |
I am looking for a function that will open a pdf, and remove harmful script tags and other harmful elements in the meta data.
Usually a security scan finds these, but I would like to prevent them without having to do a scan.
I would also like to preserve the remaining pdf, unlike just scanning and deny the file.
The text was updated successfully, but these errors were encountered: