swethajain
Well-known member
- Joined
- Feb 1, 2010
- Messages
- 48
- Programming Experience
- Beginner
Hi,
I have an application creted in .net using vb.net,ms access database. Application is used to create reports using crystal reports. In vb.net i wrote a line of code for button_click as
cryRpt.Load("C:\Copy of Report\Reports\Reports\report_Res_crtb.rpt")
which loads the report when button is clicked. And the report_res_crtb.rpt is in the project folder itsef.
The problem is , now if i place the exe in server, the .rpt file also should be there in the server for the .exe to run. So, if any one in the network downloads crystal report software and change the .rpt file then the file changes. The databse has a password and i gave the connection & password in the vb.net code itself, so when the application runs the crystal report wont be asking for password. How to provide security to this type of problem?
Thanks,
Swetha.
I have an application creted in .net using vb.net,ms access database. Application is used to create reports using crystal reports. In vb.net i wrote a line of code for button_click as
cryRpt.Load("C:\Copy of Report\Reports\Reports\report_Res_crtb.rpt")
which loads the report when button is clicked. And the report_res_crtb.rpt is in the project folder itsef.
The problem is , now if i place the exe in server, the .rpt file also should be there in the server for the .exe to run. So, if any one in the network downloads crystal report software and change the .rpt file then the file changes. The databse has a password and i gave the connection & password in the vb.net code itself, so when the application runs the crystal report wont be asking for password. How to provide security to this type of problem?
Thanks,
Swetha.