More about Fastreport Report Removing database connection information Enhancing system security

Source: Internet
Author: User
General Design Fastreport report can be directly stored in the database connection information to the report, but there is a serious security problem, that is, how to use the designer to reopen the report when the client can see the database account and password, so that the database system is very insecure, So here we do some setup to remove the account information from the report.

Open Report Designer, locate the data connection item, and delete the connection information stored in Conncetionstring in the property. Of course, this deletion, the report will not find the data, so we also need to send the database connection information in the program to the report.


In the program we are directly from the database read data stored in the dataset, and then pay the report, so that we do not have to pass the data connection information, in the earlier version of the transfer connection information such as the settings, but the experiment has not been found to be useful, rather than directly push the dataset simple. The data table stored in the dataset is named "Table", and if not, you can export the view because you need to set the same name in the report so that the two sides correspond.



Here we will need to display the data table name changed to table, and the program corresponds to the same, otherwise the error can not read the data.


After the above settings can display the report, but it is likely to appear only one data, if so, you need to follow the following method to set up the report.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.