LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-05-2009, 03:00 AM   #1
bhavyakm
LQ Newbie
 
Registered: Jan 2009
Posts: 7

Rep: Reputation: 0
ValidatePassword for secure pdf file


Hi,

I am facing problem while validating password for a secured pdf file.
I am parsing encrypt object in a pdf file to get the O and U entry and then make use of Algorithm for validating.
This is success for some pdf file but the same fails for some pdf files where OEntry contains special character like '{'.
I dont know how to parse this OEntry.
Does this character considered as some character with special meaning?

Please could i get any answer or link for the mentioned problem.

Thanks in advance
 
Old 06-05-2009, 08:04 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 122Reputation: 122
What language are programming in? That will be a big part of the answer. Can you post the code you have so far?
 
Old 06-07-2009, 11:38 PM   #3
bhavyakm
LQ Newbie
 
Registered: Jan 2009
Posts: 7

Original Poster
Rep: Reputation: 0
Smile

I am programming in c++.
No i cant post the code.
 
Old 06-07-2009, 11:46 PM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
The friendly thing would be to say WHY you can't post the code.....

More generally, I think you will need to provide more information before anyone can help you. First, I do not know what it means to validate the password for a file. Applications that have this feature would have the password validaion built in--would they not?

Also, I'm sure I am not the only one who has NO CLUE about "O and U entry".
 
Old 06-08-2009, 12:21 AM   #5
bhavyakm
LQ Newbie
 
Registered: Jan 2009
Posts: 7

Original Poster
Rep: Reputation: 0
Unhappy

Let me tell briefly the problem i am facing.
the main aim of my application is to verify whether the user entered password to open a encrypted pdf file(secure pdf file) is valid or not?

For that i have to parse the pdf to read UEntry and OEntry.
These OEntry and UEntry contains the password in encrypted format.
I made used of Adobe algorithms to do the job.
But i am not able to do the task for all pdf file.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What would cause text-to-file and PDF to file printers on a cups system to stop? slinx Linux - Software 2 12-02-2008 10:32 AM
LXer: University of Michigan Selects SSH Tectia for Secure System Administration and Secure File Transfers LXer Syndicated Linux News 0 04-25-2006 01:54 AM
Some .pdf file cannot open....:( kenshinji Linux - Software 12 12-06-2005 08:37 PM
Convert Open Office file to PDF file. liguorir Linux - Software 1 01-13-2004 01:44 PM
Program to Create Secure PDF Files? smc_one Linux - Software 1 10-08-2003 09:30 AM


All times are GMT -5. The time now is 02:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration