# Disabled save button when pdf generated

**URL:** <https://www.ruby-forum.com/t/disabled-save-button-when-pdf-generated/143416>\
**Category:** Rails\
**Created:** [July 18, 2008, 10:17am UTC](https://www.ruby-forum.com/t/disabled-save-button-when-pdf-generated/143416 "2008-07-18T10:17:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kundan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/34f0e0/32.png) [@kundan](https://www.ruby-forum.com/u/kundan)\
**Post date:** [July 18, 2008, 10:17am UTC](https://www.ruby-forum.com/t/disabled-save-button-when-pdf-generated/143416/1 "2008-07-18T10:17:47Z")

</div>

Hi  
I m new in Ireport, I want to dasabled the save button for generated  
PDF file and also not allowed to copy past.

can any body help me.

Thanks and Regards  
Kundan

---

<div class="post-metadata">

**Author:** ![kundan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/34f0e0/32.png) [@kundan](https://www.ruby-forum.com/u/kundan)\
**Post date:** [July 18, 2008, 8:08pm UTC](https://www.ruby-forum.com/t/disabled-save-button-when-pdf-generated/143416/2 "2008-07-18T20:08:52Z")

</div>

You are trying to impose a technical restriction that is useless.  
Anyone can right-click on a link and say “save link as” – or just  
fetch the URL directly using wget or any other tool. That makes it  
always possible to save the PDF.

There are also PDF viewers which will ignore restrictions like “no  
copy and paste”.

–Michael

---

<div class="post-metadata">

**Author:** ![kundan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/34f0e0/32.png) [@kundan](https://www.ruby-forum.com/u/kundan)\
**Post date:** [July 19, 2008, 3:57am UTC](https://www.ruby-forum.com/t/disabled-save-button-when-pdf-generated/143416/3 "2008-07-19T03:57:26Z")

</div>

thnx Michael
