[iText-questions] pdf decryption using user password

2010-11-08 Thread dgiscool

Hello,

In itext, can we decrypt a pdf file using the user password that was used to
encrypt the file?

I know decryption can be done using owner password. What I want to achieve
is:

In my web application, keep pdf files in encrypted form. When the authorized
user requests for a pdf file, then depending on the permissions (user's
role), I send them a file with appropriate permissions - ALLOW_PRINTING,
ALLOW_COPY etc.

What I am doing right now is I encrypt a file using OWNER and USER passwords
and then decrypt it using OWNER password but then that file allows all
actions - print, copy etc.

thanks,
deep
-- 
View this message in context: 
http://itext-general.2136553.n4.nabble.com/pdf-decryption-using-user-password-tp3031879p3031879.html
Sent from the iText - General mailing list archive at Nabble.com.

--
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book Blueprint to a 
Billion shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php


[iText-questions] iTextSharp Library Question

2010-11-08 Thread Marco . Rodrigues
Good morning,

I am currently developing an application for the company where I work, 
where I need to edit PDF documents. iTextSharp library seems to achieve 
the desired results. This project is built and designed only to be used by 
the company as internal project.
My question is if in this case is considered personal use or is already 
considered commercial use?

Regards,


Marco Rodrigues 
Applications Programmer 
Atrium Saldanha 
Praça Duque de Saldanha, 1 – 10º E 
1050-094 Lisboa 
Tel.: + 351 21 330 10 20 
Fax: + 351 21 330 10 21 
everis.com 
 

melhor consultora 
melhor empresa para executivos 
4ª melhor empresa para trabalhar 
 

 

AVISO DE CONFIDENCIALIDADE. Esta mensagem e os seus conteúdos ou anexos 
são privados e confidenciais e dirigidos exclusivamente ao seu 
destinatário. A everis informa a quem possa ter recebido esta mensagem por 
engano, que a mesma contém informação confidencial, cujo uso, cópia, 
reprodução ou distribuição é expressamente proibido. Caso não seja o 
destinatário desta mensagem, pedimos-lhe que informe o remetente, o mais 
breve possível, e a elimine sem ler, copiar, duplicar, imprimir ou fazer 
qualquer outro uso do seu conteúdo.

CONFIDENTIALITY WARNING. This message and the information contained in or 
attached to it are private and confidential and intended exclusively for 
the addressee. everis informs to whom it may receive it in error that it 
contains privileged information and its use, copy, reproduction or 
distribution is prohibited. If you are not an intended recipient of this 
E-mail, please notify the sender, delete it and do not read, act upon, 
print, disclose, copy, retain or redistribute any portion of this E-mail.

image/gifimage/gif--
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book Blueprint to a 
Billion shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Re: [iText-questions] pdf decryption using user password

2010-11-08 Thread 1T3XT info
On 8/11/2010 13:28, dgiscool wrote:

 Hello,

 In itext, can we decrypt a pdf file using the user password that was used to
 encrypt the file?

Technically, you can decrypt a password-protected PDF
without knowing any password, but iText deliberately
disallows decrypting the PDF if you don't have the
owner password.
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

--
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book Blueprint to a 
Billion shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php


[iText-questions] Use library for set sucerity in the especific content on the pdf

2010-11-08 Thread Marie Diaz

Hi, I need information, about, if i used this library for configure security in 
the especific content in he pdf, for example:
 
 I have a pdf with 10 pages, and i want set that especific user can't see the 
content of  the page 5. Can I do this library?
 
Regards, Marielina Munoz  --
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book Blueprint to a 
Billion shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Re: [iText-questions] Use library for set sucerity in the especific content on the pdf

2010-11-08 Thread Leonard Rosenthol
Selective encryption of page ranges is not part of the PDF standard.  It 
requires the use of enterprise-level DRM solutions such as Adobe's own 
LiveCycle Rights Management.

From: Marie Diaz [mailto:muno...@hotmail.com]
Sent: Monday, November 08, 2010 12:16 PM
To: itext-questions@lists.sourceforge.net
Subject: [iText-questions] Use library for set sucerity in the especific 
content on the pdf

Hi, I need information, about, if i used this library for configure security in 
the especific content in he pdf, for example:

 I have a pdf with 10 pages, and i want set that especific user can't see the 
content of  the page 5. Can I do this library?

Regards, Marielina Munoz
--
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book Blueprint to a 
Billion shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

[iText-questions] Font issue

2010-11-08 Thread Bill Bolek
Hello,

 I am using Pentaho which in turn uses jFreeChart and itext to display
charts.   I have installed my Pentaho solution on several CentOS
platforms with no problem.  However, when I tried to install my solution
on a Red Hat Linux system my jFreeChart is not rendering properly.   Can
anyone point me to what may be missing in the Red Hat environment.
Screen shot below that illustrate problem.

 

 

 

JFreeChart on CentOS system...correct:

 

 

 

 

JFreeChart on  Red Hat system..fonts are superscript  (raised) and
non-readable.

 

 

 

 

Thanks,

 Bill

 

 

 

image001.jpgimage002.jpg--
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book Blueprint to a 
Billion shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Re: [iText-questions] Font issue

2010-11-08 Thread 1T3XT info
On 8/11/2010 23:22, Bill Bolek wrote:
 Hello,

 I am using Pentaho which in turn uses jFreeChart and itext to display
 charts. I have installed my Pentaho solution on several CentOS platforms
 with no problem. However, when I tried to install my solution on a Red
 Hat Linux system my jFreeChart is not rendering properly. Can anyone
 point me to what may be missing in the Red Hat environment. Screen shot
 below that illustrate problem.

Professional reaction: don't ask us, ask Pentaho, because Pentaho 
doesn't have a business relationship with iText Software Corp. and 
Pentaho has far more resources to help you.

Developer's reaction: I'm 99% sure that Pentaho/jFreeChart uses 
PdfGraphics2D to render the PDF (as opposed to using native PDF 
instructions, such as lineTo, moveTo, fill, stroke,...).
This means that your application depends on plenty of java.awt classes, 
and if you're using a JVM different from the one from SUN (now Oracle), 
then you may experience quirks that are inherent to that other JVM. I 
didn't see this kind of behavior yet, but I've experienced similar 
problems in the AWT area with JDKs that were not from SUN.
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

--
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book Blueprint to a 
Billion shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php


Re: [iText-questions] tutorials

2010-11-08 Thread 1T3XT info
On 9/11/2010 8:30, George Pearson wrote:
 Is it possible to find any good itext tutorials out there?

No tutorial will teach you as much as the brand new second edition of 
iText in Action: http://itextpdf.com/book/
All other tutorials were removed because they were hopelessly outdated.
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

--
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book Blueprint to a 
Billion shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php


Re: [iText-questions] pdf decryption using user password

2010-11-08 Thread DDT
Hello,

As a security guy I following your iText-trail concerning, because of a
specific interest in PDF Signature (CAdES, PAdES, etc). I read that you say
that it is technical possible to decrypt a password-protected PDF without
knowning any passwords. How is this possible ? I haven't investigated the
PDF standard concerning encryption, but this statement realy scares me.

Greetings,

DDT

2010/11/8 1T3XT info i...@1t3xt.info

 On 8/11/2010 13:28, dgiscool wrote:
 
  Hello,
 
  In itext, can we decrypt a pdf file using the user password that was used
 to
  encrypt the file?

 Technically, you can decrypt a password-protected PDF
 without knowing any password, but iText deliberately
 disallows decrypting the PDF if you don't have the
 owner password.
 --
 This answer is provided by 1T3XT BVBA
 http://www.1t3xt.com/ - http://www.1t3xt.info


 --
 The Next 800 Companies to Lead America's Growth: New Video Whitepaper
 David G. Thomson, author of the best-selling book Blueprint to a
 Billion shares his insights and actions to help propel your
 business during the next growth cycle. Listen Now!
 http://p.sf.net/sfu/SAP-dev2dev
 ___
 iText-questions mailing list
 iText-questions@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/itext-questions

 Many questions posted to this list can (and will) be answered with a
 reference to the iText book: http://www.itextpdf.com/book/
 Please check the keywords list before you ask for examples:
 http://itextpdf.com/themes/keywords.php

--
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book Blueprint to a 
Billion shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Re: [iText-questions] tutorials

2010-11-08 Thread 1T3XT info
Hello,
you've answered off-list. Please stay on the list:
itext-questions@lists.sourceforge.net
Do not mail to other e-mail addresses.

On 9/11/2010 8:44, George Pearson wrote:

 That's great and will definitely look into it,
 but being in this country shipping a book like
 that could take a few weeks, and I don't really have that time.

The eBook is available almost immediately, so that's not a valid excuse.

 I do have a project that I need completed can I ask you perhaps for help?

If you're looking to pay for consultancy, please use the consultancy 
address: consulta...@itextpdf.com
Explain your requirements and you'll get an offer with a quote.
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

--
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book Blueprint to a 
Billion shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php


Re: [iText-questions] pdf decryption using user password

2010-11-08 Thread 1T3XT info
On 9/11/2010 8:47, DDT wrote:
 Hello,

 As a security guy I following your iText-trail concerning, because of a
 specific interest in PDF Signature (CAdES, PAdES, etc). I read that you
 say that it is technical possible to decrypt a password-protected PDF
 without knowning any passwords. How is this possible ? I haven't
 investigated the PDF standard concerning encryption, but this statement
 realy scares me.

I assumed that this was a public secret.
http://en.wikipedia.org/wiki/United_States_v._ElcomSoft_and_Sklyarov
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

--
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book Blueprint to a 
Billion shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php