Page 1 of 2

Disable some file types when save

Posted: Sun Oct 09, 2011 11:59 pm
by JohnnySo
Our team is evaluating Reports.Fx for Flex, we have to implement password protection when save into excel or pdf. Three questions how to implement the followings

1) Disable save menu of other file types except excel and pdf.
2) Enforce users to save with password.
3) Enforce 128 bit Encryption Key Length

Any suggestions?

Disable some file types when save

Posted: Tue Oct 11, 2011 8:56 am
by Vladimir
Hello,

1. You can disable unneeded exports using the following options:
StiOptions.viewer.exports.showExportToCsv = false;
StiOptions.viewer.exports.showExportToText = false;
StiOptions.viewer.exports.showExportToRtf = false;
StiOptions.viewer.exports.showExportToWord2007 = false;
StiOptions.viewer.exports.showExportToHtml = false;
2., 3. You can export a report using code (please see the attached example) and save it as you want. Unfortunately, currently embedded encryption is not supported.

Thank you.


Disable some file types when save

Posted: Wed Oct 12, 2011 10:42 am
by JohnnySo
I am drafting a report on the evaluation. Thank you on the quick reply.

I had seen the samples that you attached. I had done it and pdf was generated. I used the following in order to set password to the pdf but failed.

var settings: StiPdfExportSettings = new StiPdfExportSettings();
settings.passwordInputOwner = "1";
settings.passwordInputUser = "2";

// Create a buffer for report exporting
var buffer: ByteArray = new ByteArray();
// Export report to ByteArray
service.exportPdf(report, buffer, settings);

Please help.

You quoted "Unfortunately, currently embedded encryption is not supported." Any plan to do it in the coming future?

Regards.

Disable some file types when save

Posted: Thu Oct 13, 2011 6:19 am
by HighAley
Hello.
JohnnySo wrote:I am drafting a report on the evaluation. Thank you on the quick reply.

I had seen the samples that you attached. I had done it and pdf was generated. I used the following in order to set password to the pdf but failed.

Code: Select all

				var settings: StiPdfExportSettings = new StiPdfExportSettings();
				settings.passwordInputOwner = "1";
				settings.passwordInputUser = "2";
				
				// Create a buffer for report exporting
				var buffer: ByteArray = new ByteArray();
				// Export report to ByteArray
				service.exportPdf(report, buffer, settings);
Please help.

You quoted "Unfortunately, currently embedded encryption is not supported." Any plan to do it in the coming future?
Stimulsoft Reports.Net uses Windows system assemblies for encryption.
Unfortunately, system assemblies can't be used in Flex. Therefore encryption algorithms (RC4, MD5) must be ported to Flex engine.
It is very difficult and this functionality is not enough demand.
And this task has very low priority and we could say when it will be available.

Thank you.

Disable some file types when save

Posted: Fri Oct 14, 2011 3:38 am
by JohnnySo
This morning I presented a demo with evaluation report to the management. The management would like to know if it is possible to develop the encryption feature for a price. If yes, please give a email (shown in my profile) to me on how many and take how long.

We have to provide a function to generate sensitive data that users can save for further usage. The data must be encrypted with password.

Disable some file types when save

Posted: Mon Oct 17, 2011 2:55 am
by HighAley
Hello.

We don't have solution development service. But we can develop some features for our customers by request. It depends of what encryption do you need and if it is possible to do.
Please, specify what encryption and where do you need in details.

Thank you.

Disable some file types when save

Posted: Mon Oct 17, 2011 10:25 am
by JohnnySo
Thanks on the reply. I will comply the specification in a few days for you. Do I post the specification here or email to you?

Disable some file types when save

Posted: Tue Oct 18, 2011 1:56 am
by HighAley
Hello.
JohnnySo wrote:Thanks on the reply. I will comply the specification in a few days for you. Do I post the specification here or email to you?
Please, send the specification to support@stimulsoft.com.

Waiting for your reply.

Thank you.

Disable some file types when save

Posted: Thu Oct 27, 2011 5:23 am
by JohnnySo
Hi,

The specification "ReportFx for Flex Encryption Support.docx" mailed to support@stimulsoft.com .

Please check. Nice to hear from you for more details. Thanks.

Disable some file types when save

Posted: Fri Oct 28, 2011 3:43 am
by HighAley
Hello.
JohnnySo wrote:The specification "ReportFx for Flex Encryption Support.docx" mailed to support@stimulsoft.com .

Please check. Nice to hear from you for more details. Thanks.
We received your mail and we are preparing answer for you.

Thank you.