Encrypting the ConnectionString in the MRT file

Stimulsoft Reports.NET discussion
Post Reply
jshankar
Posts: 7
Joined: Wed Sep 16, 2009 2:59 pm
Location: Dubai, UAE

Encrypting the ConnectionString in the MRT file

Post by jshankar »

Hi!

I know there has been several posts on this topic and want to know ::

1) Can the ConnectionString be encrypted as of the latest build?

2) If not, why it is so difficult to encrypt & Base64 encode it?

This is important as a smart user can get the connection details from examining the MRT file in a text editor.

Regards
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Encrypting the ConnectionString in the MRT file

Post by Alex K. »

Hello,

You can subscribe on the event of saving a report and save it as packed or encrypted.

Thank you.
jshankar
Posts: 7
Joined: Wed Sep 16, 2009 2:59 pm
Location: Dubai, UAE

Encrypting the ConnectionString in the MRT file

Post by jshankar »

Hi!

To clarify, I am using the Report class in a Win32 non .NET application via a wrapper DLL. I am already storing the MRT file contents in a database. So, can I use the LoadEncryptedReport()/SaveEncryptedReport() OR LoadEncryptedReportFromString()/SaveEncryptedReportToString() method combinations to achieve what I want? Any particular issues to be careful about?

Regards
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

Encrypting the ConnectionString in the MRT file

Post by Andrew »

Hello,

These methods encrypt a report and provide access to the report after the correct password in inserted.

Thank you.
jshankar
Posts: 7
Joined: Wed Sep 16, 2009 2:59 pm
Location: Dubai, UAE

Encrypting the ConnectionString in the MRT file

Post by jshankar »

Hi!

Just to confirm, with SaveEncryptedReport() the MRT file will be encrypted and hence the ConnectionString in it will not be visible.

Regards
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

Encrypting the ConnectionString in the MRT file

Post by Ivan »

Hello,

Let us know if you need any additional help.

Thank you.
Post Reply