We are using ce8.5 to deliver reports to our clients. Each client has a separate folder (named after the client) into which the reports are dropped.
As all the reports are essentially the same, all the data for all the clients are stored in the same SQL table(s). Here is where a problem becomes apparent, it is up to us as the report writers to make sure that we put the correct selection criteria on for each report, so that the client only views their own data.
Is there anyway to put in some kind of failsafe to stop the wrong data going to the wrong client? It is not practical for us to store each clients data in separate table, or to write a view/stored proc for each clients' report.
Is it possible to match the client name in the report, to the name of the CE Folder, and if the 2 don't match fail to produce output?
I look forward to hearing any ideas that may potentially save my job!
mrees
As all the reports are essentially the same, all the data for all the clients are stored in the same SQL table(s). Here is where a problem becomes apparent, it is up to us as the report writers to make sure that we put the correct selection criteria on for each report, so that the client only views their own data.
Is there anyway to put in some kind of failsafe to stop the wrong data going to the wrong client? It is not practical for us to store each clients data in separate table, or to write a view/stored proc for each clients' report.
Is it possible to match the client name in the report, to the name of the CE Folder, and if the 2 don't match fail to produce output?
I look forward to hearing any ideas that may potentially save my job!
mrees