How to mask sensitive information in a pdf file?
I have a pdf file and want to mask some sensitive information in it such as social security numbers. Can this be done, without having to use paid tools? Better yet, without having to download anything?
add a comment |
I have a pdf file and want to mask some sensitive information in it such as social security numbers. Can this be done, without having to use paid tools? Better yet, without having to download anything?
2
Adobe Acobat has a tool for this.
– Martin Schröder
Jul 26 '12 at 23:01
add a comment |
I have a pdf file and want to mask some sensitive information in it such as social security numbers. Can this be done, without having to use paid tools? Better yet, without having to download anything?
I have a pdf file and want to mask some sensitive information in it such as social security numbers. Can this be done, without having to use paid tools? Better yet, without having to download anything?
asked Jul 26 '12 at 19:26
morpheusmorpheus
131119
131119
2
Adobe Acobat has a tool for this.
– Martin Schröder
Jul 26 '12 at 23:01
add a comment |
2
Adobe Acobat has a tool for this.
– Martin Schröder
Jul 26 '12 at 23:01
2
2
Adobe Acobat has a tool for this.
– Martin Schröder
Jul 26 '12 at 23:01
Adobe Acobat has a tool for this.
– Martin Schröder
Jul 26 '12 at 23:01
add a comment |
2 Answers
2
active
oldest
votes
You could open it with gimp
, paint over the sensitive information and then print/save to pdf again.
Or do the same thing with inkscape
- however as mentioned in the comments this is less safe as the information may still be present in the saved file (even if you can't see it on the pdf).
Both are free tools and available on a variety of platforms.
More pdf editing options are covered in this question
6
Be very careful, depending on the tool, redaction may or may not be complete. Some of the PDF editing tools that offer redaction do cover up the information, but they do it in a layered fashion. So if you open the file in an editor again, even though you cannot see the redacted text, you can use the text selection tool to copy the text to the clipboard.
– EBGreen
Jul 26 '12 at 19:36
1
@EBGreen- Good point - from that point of viewgimp
would be preferred as the text is transformed into an image first, avoiding that caveat.
– jmetz
Jul 26 '12 at 19:42
@EBGreen Haha, I remember opening files with redacted text on a slow computer many years ago...you could briefly see the redacted text before the black bars were rendered.
– rob
Nov 23 '13 at 18:25
2
There was a scandal in Britain when somebody in a government department 'redacted' a sensitive MS Word document by highlighting in black all the text that they wanted to 'hide'. I think they said it 'identified a training need'.
– Michael Harvey
Jan 25 at 18:29
add a comment |
Source: I worked at a major multinational law firm as tech support.
If security is your goal and you need to complete erase any chance of the redacted information being retrieved, the only valid way to process any document for this goal is to either:
A. Black out the text and then print it.
-or-
B. Print the text and then black it out using a black marker.
-then-
Scan the blacked out document back into digital format, inspecting the document to confirm the scanned images will not reveal the hidden text through adjustments in color or contrast or brightness.
Any other method leaves the chance that metadata or other embedded information may still contain the redacted information.
Only by converting to an entirely non-digital media (physical print) and then back will you end up with a digital file guaranteed to be free of any chance the redacted information is still attached to the document somehow.
1
Absolutely right. Can't believe it took almost 7 years before this got posted. It's a good thing a spammer brought this thread to people's attention. Who says that spam isn't useful?
– fixer1234
Jan 25 at 22:56
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f454073%2fhow-to-mask-sensitive-information-in-a-pdf-file%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
You could open it with gimp
, paint over the sensitive information and then print/save to pdf again.
Or do the same thing with inkscape
- however as mentioned in the comments this is less safe as the information may still be present in the saved file (even if you can't see it on the pdf).
Both are free tools and available on a variety of platforms.
More pdf editing options are covered in this question
6
Be very careful, depending on the tool, redaction may or may not be complete. Some of the PDF editing tools that offer redaction do cover up the information, but they do it in a layered fashion. So if you open the file in an editor again, even though you cannot see the redacted text, you can use the text selection tool to copy the text to the clipboard.
– EBGreen
Jul 26 '12 at 19:36
1
@EBGreen- Good point - from that point of viewgimp
would be preferred as the text is transformed into an image first, avoiding that caveat.
– jmetz
Jul 26 '12 at 19:42
@EBGreen Haha, I remember opening files with redacted text on a slow computer many years ago...you could briefly see the redacted text before the black bars were rendered.
– rob
Nov 23 '13 at 18:25
2
There was a scandal in Britain when somebody in a government department 'redacted' a sensitive MS Word document by highlighting in black all the text that they wanted to 'hide'. I think they said it 'identified a training need'.
– Michael Harvey
Jan 25 at 18:29
add a comment |
You could open it with gimp
, paint over the sensitive information and then print/save to pdf again.
Or do the same thing with inkscape
- however as mentioned in the comments this is less safe as the information may still be present in the saved file (even if you can't see it on the pdf).
Both are free tools and available on a variety of platforms.
More pdf editing options are covered in this question
6
Be very careful, depending on the tool, redaction may or may not be complete. Some of the PDF editing tools that offer redaction do cover up the information, but they do it in a layered fashion. So if you open the file in an editor again, even though you cannot see the redacted text, you can use the text selection tool to copy the text to the clipboard.
– EBGreen
Jul 26 '12 at 19:36
1
@EBGreen- Good point - from that point of viewgimp
would be preferred as the text is transformed into an image first, avoiding that caveat.
– jmetz
Jul 26 '12 at 19:42
@EBGreen Haha, I remember opening files with redacted text on a slow computer many years ago...you could briefly see the redacted text before the black bars were rendered.
– rob
Nov 23 '13 at 18:25
2
There was a scandal in Britain when somebody in a government department 'redacted' a sensitive MS Word document by highlighting in black all the text that they wanted to 'hide'. I think they said it 'identified a training need'.
– Michael Harvey
Jan 25 at 18:29
add a comment |
You could open it with gimp
, paint over the sensitive information and then print/save to pdf again.
Or do the same thing with inkscape
- however as mentioned in the comments this is less safe as the information may still be present in the saved file (even if you can't see it on the pdf).
Both are free tools and available on a variety of platforms.
More pdf editing options are covered in this question
You could open it with gimp
, paint over the sensitive information and then print/save to pdf again.
Or do the same thing with inkscape
- however as mentioned in the comments this is less safe as the information may still be present in the saved file (even if you can't see it on the pdf).
Both are free tools and available on a variety of platforms.
More pdf editing options are covered in this question
edited Mar 20 '17 at 10:17
Community♦
1
1
answered Jul 26 '12 at 19:28
jmetzjmetz
79237
79237
6
Be very careful, depending on the tool, redaction may or may not be complete. Some of the PDF editing tools that offer redaction do cover up the information, but they do it in a layered fashion. So if you open the file in an editor again, even though you cannot see the redacted text, you can use the text selection tool to copy the text to the clipboard.
– EBGreen
Jul 26 '12 at 19:36
1
@EBGreen- Good point - from that point of viewgimp
would be preferred as the text is transformed into an image first, avoiding that caveat.
– jmetz
Jul 26 '12 at 19:42
@EBGreen Haha, I remember opening files with redacted text on a slow computer many years ago...you could briefly see the redacted text before the black bars were rendered.
– rob
Nov 23 '13 at 18:25
2
There was a scandal in Britain when somebody in a government department 'redacted' a sensitive MS Word document by highlighting in black all the text that they wanted to 'hide'. I think they said it 'identified a training need'.
– Michael Harvey
Jan 25 at 18:29
add a comment |
6
Be very careful, depending on the tool, redaction may or may not be complete. Some of the PDF editing tools that offer redaction do cover up the information, but they do it in a layered fashion. So if you open the file in an editor again, even though you cannot see the redacted text, you can use the text selection tool to copy the text to the clipboard.
– EBGreen
Jul 26 '12 at 19:36
1
@EBGreen- Good point - from that point of viewgimp
would be preferred as the text is transformed into an image first, avoiding that caveat.
– jmetz
Jul 26 '12 at 19:42
@EBGreen Haha, I remember opening files with redacted text on a slow computer many years ago...you could briefly see the redacted text before the black bars were rendered.
– rob
Nov 23 '13 at 18:25
2
There was a scandal in Britain when somebody in a government department 'redacted' a sensitive MS Word document by highlighting in black all the text that they wanted to 'hide'. I think they said it 'identified a training need'.
– Michael Harvey
Jan 25 at 18:29
6
6
Be very careful, depending on the tool, redaction may or may not be complete. Some of the PDF editing tools that offer redaction do cover up the information, but they do it in a layered fashion. So if you open the file in an editor again, even though you cannot see the redacted text, you can use the text selection tool to copy the text to the clipboard.
– EBGreen
Jul 26 '12 at 19:36
Be very careful, depending on the tool, redaction may or may not be complete. Some of the PDF editing tools that offer redaction do cover up the information, but they do it in a layered fashion. So if you open the file in an editor again, even though you cannot see the redacted text, you can use the text selection tool to copy the text to the clipboard.
– EBGreen
Jul 26 '12 at 19:36
1
1
@EBGreen- Good point - from that point of view
gimp
would be preferred as the text is transformed into an image first, avoiding that caveat.– jmetz
Jul 26 '12 at 19:42
@EBGreen- Good point - from that point of view
gimp
would be preferred as the text is transformed into an image first, avoiding that caveat.– jmetz
Jul 26 '12 at 19:42
@EBGreen Haha, I remember opening files with redacted text on a slow computer many years ago...you could briefly see the redacted text before the black bars were rendered.
– rob
Nov 23 '13 at 18:25
@EBGreen Haha, I remember opening files with redacted text on a slow computer many years ago...you could briefly see the redacted text before the black bars were rendered.
– rob
Nov 23 '13 at 18:25
2
2
There was a scandal in Britain when somebody in a government department 'redacted' a sensitive MS Word document by highlighting in black all the text that they wanted to 'hide'. I think they said it 'identified a training need'.
– Michael Harvey
Jan 25 at 18:29
There was a scandal in Britain when somebody in a government department 'redacted' a sensitive MS Word document by highlighting in black all the text that they wanted to 'hide'. I think they said it 'identified a training need'.
– Michael Harvey
Jan 25 at 18:29
add a comment |
Source: I worked at a major multinational law firm as tech support.
If security is your goal and you need to complete erase any chance of the redacted information being retrieved, the only valid way to process any document for this goal is to either:
A. Black out the text and then print it.
-or-
B. Print the text and then black it out using a black marker.
-then-
Scan the blacked out document back into digital format, inspecting the document to confirm the scanned images will not reveal the hidden text through adjustments in color or contrast or brightness.
Any other method leaves the chance that metadata or other embedded information may still contain the redacted information.
Only by converting to an entirely non-digital media (physical print) and then back will you end up with a digital file guaranteed to be free of any chance the redacted information is still attached to the document somehow.
1
Absolutely right. Can't believe it took almost 7 years before this got posted. It's a good thing a spammer brought this thread to people's attention. Who says that spam isn't useful?
– fixer1234
Jan 25 at 22:56
add a comment |
Source: I worked at a major multinational law firm as tech support.
If security is your goal and you need to complete erase any chance of the redacted information being retrieved, the only valid way to process any document for this goal is to either:
A. Black out the text and then print it.
-or-
B. Print the text and then black it out using a black marker.
-then-
Scan the blacked out document back into digital format, inspecting the document to confirm the scanned images will not reveal the hidden text through adjustments in color or contrast or brightness.
Any other method leaves the chance that metadata or other embedded information may still contain the redacted information.
Only by converting to an entirely non-digital media (physical print) and then back will you end up with a digital file guaranteed to be free of any chance the redacted information is still attached to the document somehow.
1
Absolutely right. Can't believe it took almost 7 years before this got posted. It's a good thing a spammer brought this thread to people's attention. Who says that spam isn't useful?
– fixer1234
Jan 25 at 22:56
add a comment |
Source: I worked at a major multinational law firm as tech support.
If security is your goal and you need to complete erase any chance of the redacted information being retrieved, the only valid way to process any document for this goal is to either:
A. Black out the text and then print it.
-or-
B. Print the text and then black it out using a black marker.
-then-
Scan the blacked out document back into digital format, inspecting the document to confirm the scanned images will not reveal the hidden text through adjustments in color or contrast or brightness.
Any other method leaves the chance that metadata or other embedded information may still contain the redacted information.
Only by converting to an entirely non-digital media (physical print) and then back will you end up with a digital file guaranteed to be free of any chance the redacted information is still attached to the document somehow.
Source: I worked at a major multinational law firm as tech support.
If security is your goal and you need to complete erase any chance of the redacted information being retrieved, the only valid way to process any document for this goal is to either:
A. Black out the text and then print it.
-or-
B. Print the text and then black it out using a black marker.
-then-
Scan the blacked out document back into digital format, inspecting the document to confirm the scanned images will not reveal the hidden text through adjustments in color or contrast or brightness.
Any other method leaves the chance that metadata or other embedded information may still contain the redacted information.
Only by converting to an entirely non-digital media (physical print) and then back will you end up with a digital file guaranteed to be free of any chance the redacted information is still attached to the document somehow.
answered Jan 25 at 18:52
music2myearmusic2myear
31.7k858101
31.7k858101
1
Absolutely right. Can't believe it took almost 7 years before this got posted. It's a good thing a spammer brought this thread to people's attention. Who says that spam isn't useful?
– fixer1234
Jan 25 at 22:56
add a comment |
1
Absolutely right. Can't believe it took almost 7 years before this got posted. It's a good thing a spammer brought this thread to people's attention. Who says that spam isn't useful?
– fixer1234
Jan 25 at 22:56
1
1
Absolutely right. Can't believe it took almost 7 years before this got posted. It's a good thing a spammer brought this thread to people's attention. Who says that spam isn't useful?
– fixer1234
Jan 25 at 22:56
Absolutely right. Can't believe it took almost 7 years before this got posted. It's a good thing a spammer brought this thread to people's attention. Who says that spam isn't useful?
– fixer1234
Jan 25 at 22:56
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f454073%2fhow-to-mask-sensitive-information-in-a-pdf-file%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
2
Adobe Acobat has a tool for this.
– Martin Schröder
Jul 26 '12 at 23:01