Redaction is a type of editing, typically the removal of information from a document before it is published or shared with a larger audience.
Questions tagged [redaction]
59 questions
0
votes
0 answers
how to identify the original word in a PDF which has been marked for Redact?
Assume in a PDF document I redact two different words, This" and "That". using JavaScript in Adobe PDF, I would like to search & find and treat these two Annot objects. But looking at …
0
votes
1 answer
Remove Property dynamically from JSON Object
I have to remove properties from a JSON object. It's like I need to write a framework where I pass an array of location from where the fields needs to be redacted. My JSON request looks like this
{
"name": "Rohit",
"other": [{
"tfn":…

Rohit Goyal
- 425
- 1
- 6
- 13
0
votes
1 answer
iText 7 pdfSweep and JPX encoded composite image (MRC compressed PDF)
I have a MRC compressed PDF (images are JPX encoded) which I can not get redacted with iText 7 pdfSweep as the ImageReadException is thrown.
Caused by: org.apache.commons.imaging.ImageReadException: Can't parse this format.
at…

tomazz
- 145
- 6
0
votes
0 answers
iTextSharp - Cropping with PdfCleanUpProcessor works incorrectly
I want to provide PDF redaction functionality by deleting contents within rectangular area. I use code from here: iTextSharp - Crop PDF File (C#)
static void textsharpie()
{
string file = "C:\\testpdf.pdf";
string oldchar =…

Narek Malkhasyan
- 1,332
- 1
- 12
- 22
0
votes
0 answers
Applying redactions using iTextSharp still results in selectable/parsable text
I'm currently trying to redaction some information from a PDF using the iTextSharp library. The problem I'm running into is the fact that the content within the "redacted" area is still selectable and readable, which is a problem.
I have used two…

Billy Jones
- 1
- 4
0
votes
1 answer
Attempt to apply redactions results in exception
I have followed the steps to create annotations and apply redaction using iText 5.5.9. Here is my code:
using (var stamper = new PdfStamper(pdfReader, new FileStream(newFilePath, FileMode.Create)))
{
// Redact the values.
var pdfAnot1 = new…

John Stroebel
- 33
- 6
0
votes
3 answers
How to redact sensitive substring following a specific substring?
I've inherited this script where some sensitive information is stored in the database...and I'm wanting to replace it with ******** before it gets saved and presented in a log.
I'm using PHP...and the sensitive information is a randomly generated…

m.j.higgins
- 11
- 4
0
votes
1 answer
Update the min values of subsets of data in TSQL
I have a redaction routine that is in need of help. I have redacted values less than 10 into a single row called "details redacted". However there are cases where even the details redacted column is still less than 10 and I must go back and get the…

Jesse Canlett
- 3
- 4
0
votes
2 answers
Ruby redaction program logic?
Okay,
I am doing the codeacademy ruby track and I am not stock with the problem.
I can make it works now, but I don't understand why it works.
instructions for exercise:
Let's start simple: write an .each loop that goes through words and just…

NelDoozy
- 1
- 2
0
votes
1 answer
How to extract text 'marked for redaction' from a PDF using iTextSharp?
This is a follow on from this question
We figured out how to extract text marked for redaction using the code below.
However, there are additional leading and trailing characters captured beyond the text marked for redaction.
For example, if a…

Nick A Miller
- 1,325
- 1
- 13
- 20
-1
votes
1 answer
Redact a JSON response using Python
I am using Cognitive Read API to extract the text from an image. I am getting the response as below:
{
"status": "Succeeded",
"recognitionResult": {
"lines": [
{
"boundingBox": [
2,
52,
65,
…

Shankar
- 1
- 1
-1
votes
2 answers
Password text & toggle without using Input Tag
How do you accomplish displaying text in dots using HTML, like you would see in a password field such as this:
Password: This text looks like dots
Without using an ? I would like to utilize the…

Nimjox
- 1,271
- 5
- 18
- 33
-2
votes
1 answer
Python script to redact keywords in Word document
I am trying to get a Python script to redact a word-document based of a list of words to redact. I found a link with the code but can't seem to get it to work.
Link: https://arccoder.medium.com/redact-word-documents-using-python-7a676fd84d5e
I don't…

Dion
- 15
- 4
-3
votes
1 answer
Redact certain words from PDF-file in Python
As the title suggests, i am looking for a way to read a PDF, redact certain words (make them black) and save the PDF-file. I think its possible, I just don't know how. Any help/tips are highly appreciated!

Dion
- 15
- 4