Cristal reports protect layout

Posted on 2012-03-13
Last Modified: 2012-06-21
Had placed a post regarding this subject, however it was not feasible solution. I have a report (Crystal Reports. Rpt file) in standalone, which is loaded from an external file whenever it is printed. I Want the layout of this report could only be edited for me. Is there any way to protect (encrypt or any other form, put it as read only ...) this file so that it can only be edited by its maker.
Question by:rflorencio
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
LVL 100

Expert Comment

ID: 37714568
If you upgrade to CR 2011 you can save report files as RPTR files.  These cannot be editted or changed by anyone (including you) and can only be opened in specialized viewing programs.  They also cannot be saved or exported from the viewer to RPT files.

The DataLink viewer from Millet Software also can protect report files


Author Comment

ID: 37715286
RPTR is not option, because i need protect layout content, prevent any user can edit it.
LVL 100

Expert Comment

ID: 37715421
That is the puirpose of the RPTR format.  No one not even you can edit it.  You do changes in the original rpt file (which is not distributed or available to anyone except the developers).  

When it is ready you create an RPTR file from it and distribute that with the application and the appropriate viewer.

Even with Crystal on the user's machine, they cannot open the RPTR file to even look at it.

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 18

Assisted Solution

vasto earned 250 total points
ID: 37715731
RPTR is a static report. Nobody can edit it even you. The user may be able to refresh it but not to change it (even the connection to the database).  All this was already mentioned by mlmcc  ...

As of now there are no other ways to protect crystal report files. The viewer mentioned by mlmcc cannot protect reports. Don't fall in that trap with RPZ files, you will get in trouble.

What do you want to hide ? Do you have business logic or you want to be able to deploy the report to a client but to keep the exclusive rights to change it ?

Author Comment

ID: 37741464
I want deploy a report to a client but keep exclusive rigths to change it.
LVL 100

Expert Comment

ID: 37741903
We have given you the method.  The RPTR format available in CR 2011 is the onlyway you can deploy a report file and have it protected from being changed.

Other than saving it as RPTR and using that file in the applicaiton, there is no difference n how you deploy the application and report files.

LVL 100

Accepted Solution

mlmcc earned 250 total points
ID: 37762929
According to Ken Hamady, the DataLink viewer is now one  of a few viewers that can use the RPTR format

If your concern is preventing a customer from using the report in several environments or machines or trying to sell/give the report to other potential customers then as far as I know the changing of the format to RPTR (CR2011) or RPZ (DataLink) does not prevent that.

Also, if you were to use the DataLink method, you would have to provide licenses for the viewer to all the users thus increasing the cost of the solution.

PLease note, regardless of the method you choose to protect a report, there is always somebody, who given the right incentive and enough time and computing power, who will try and eventually break through the protection scheme.  If it is lucrative enough someone will try to steal it.

Vasto has pointed out that the DataLink viewer has a weakness in the protection scheme.  I am unaware of the issue and don't know if the statement is true or not.  I see no reason why he would say something that is not true.  The RPZ is a password protected compressed file.  


Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question