Archived discussions are read-only. Learn more about SAP Q&A

Password Protect rpt files for Crystal Report

Dear All,

I have an requirement in Crystal Report viewing rights for .rpt files. The scenerio is such that I have a system admin and he has access to the folders where rpt files are saved. Now I want to password protect all the confidential rpt files of crystal report as such that if he tries to open the rpt file in the first screen a password is asked.

Is it possible to password protect or encrypt an rpt file.

Please help and advise in this regard.




You have an option in file>report options>save lock report design where you can protect .rpt with password. But I think this will work only when you open the report in report designer but not at server after publishing. So you can try an alternate work around by creating a static parameter in the report like this

create a static parameter named Password and use this parameter in the record selection like this

if {?Password}="Crystal" then

where your password is "Crystal" so now if you enter Crystal then you will be able to see the records if you enter other than Crystal then you will note get any records and you can only see the headers and footers.



0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question