Solved

Cristal reports protect layout

Posted on 2012-03-13
7
388 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
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.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

863 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now