Solved

password protect a Crystal Reports file

Posted on 2004-04-27
7
492 Views
Last Modified: 2008-03-06
From what I can ascertain, there is no way to password protect a Crystal Reports file. However I have seen suggestions to uncencrypt a file at runtime. Would anybody have any suggestions as to an encryption specialist might be available for OEM packaging in this area. Any thoughts would be appreciated.
0
Comment
Question by:txbtech
  • 2
  • 2
7 Comments
 
LVL 100

Expert Comment

by:mlmcc
ID: 10931664
What is your concern?
What are you trying to protect?

A user will change the report file?
A user will change a report after it is produced?

mlmcc
0
 
LVL 42

Expert Comment

by:frodoman
ID: 10931705
Have you followed this discussion: http://www.experts-exchange.com/Databases/Crystal_Reports/Q_20945659.html

In it I've given my suggestions but there's no way I know of to protect the .rpt file itself.  By the way, ignore the last posting in this thread - it's not relevant for recent versions of Crystal any longer.

frodoman
0
 

Author Comment

by:txbtech
ID: 10931783
Because we are using a proprietary ODBC driver with its own quirks, the Crystal Report programming involves a lot of "thinking around the box"; the original data is flatfile in nature.

I would like to protect the program methods we have used to produce some of the reports. Some of it is quite involved.

I have researched the post above. thank you for your resonse.
0
 
LVL 42

Accepted Solution

by:
frodoman earned 125 total points
ID: 10932004
I've seen your other post related to the odbc driver fields.  

With that issue and this one combined, you may want to consider writing an application that can handle the field determination tasks and at the same time either embed the report in the .exe file or simply create it dynamically from the application.  I'm of the belief that your requirements exceed what Crystal is capable of handling and you are going to have to write some custom code to deal with it.

Good luck!

frodoman
0
 
LVL 100

Assisted Solution

by:mlmcc
mlmcc earned 125 total points
ID: 10935423
I agree.  Your best bet for protecting "proprietary" algorithms is to build them into an application and compile it.

I agree that what you are trying to do is probably beyond the capabilities of Crystal itself.

It might be possible to encapsulate the formulas you need in a User Function Library which is really a dll thus that part of the logic would at least seem to reside completely in the report.

mlmcc
0

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

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
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…
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…

790 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