Solved

Cristal reports protect layout

Posted on 2012-03-13
7
391 Views
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.
0
Comment
Question by:rflorencio
  • 4
  • 2
7 Comments
 
LVL 100

Expert Comment

by:mlmcc
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
http://www.milletsoftware.com/DataLink_Viewer.htm


mlmcc
0
 

Author Comment

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

Expert Comment

by:mlmcc
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.

mlmcc
0
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 
LVL 18

Assisted Solution

by:vasto
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 ?
0
 

Author Comment

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

Expert Comment

by:mlmcc
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.

mlmcc
0
 
LVL 100

Accepted Solution

by:
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

http://kenhamady.com/cru/comparisons/crystal-reports-viewers

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.  

mlmcc
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone 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

Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

807 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