Using CR 10 Advanced Developer, but not using Crystal Enterprise.
Want to be able to secure/lock down/password protect my .rpt files. Any way to do this? I see the READ ONLY options, but those options can be turned back off by the user.
Assuming that you me3an that you have files within a directory/folder in a Windows environment, I think that your question is whether you can make the reports read only.
If a user does NOT have the rights to change the attributes of a folder or it's files, then you can mark them as read only, or lock out people from seeing the folder or the contents.
This isn't a Crystal question, this is a Windows question, and your sys admin should be able to give you permissions to do this and teach you how to use Windows file security. It's fairly straight forward, you just need to allow which users you want in (or roles), and then set each of their security levels.
Other than folder protection, there is no such option in Crystal, but you can work your way around it.
In my DataLink Viewer software I allow report developers to generate an rpz file from the rpt file. The rpz file can't be opened in Crystal, but can run just like a regule rpt file in the viewer. One extra level of protection is to block exports of rpz files into rpt files or into report specification format. The combined effect is total protection of your intellectual property in terms of report designs.
You can use the same approach in developing your own application.
Cheers,
- Ido
CUT, Visual CUT, and DataLink Viewer:
view, e-mail, export, burst, distribute, and schedule Crystal Reports.
We use Crystal and the JRC embeddeded as part of a larger application that we deliver to outside clients. The application itself does in fact export the reports to PDF once they are run.
But what I want to prevent though is ability for our clients to pull the report files themselves (.rpt) from the guts of the application and modify them.
Remember that if you provide ALL of the Export DLLS then they will be able to export to RPT format which gives them the source of the report.
Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Expert's Guide to Formulas / Tips and Tricks / Guide to Crystal in VB
To answer plarson3's question, no rpz files can only be viewed in DataLink Viewer but, assuming you wish to develop your own solution rather than call my viewer from your application, I suggest you follow the same design approach.
Ken is absolutely correct about the export to rpt files. That's why I indicated above that "one extra level of protection is to block exports of rpz files into rpt files or into report specification format"
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.