Programming question for PALM

<<Background & Problem>>
I am a project planner who working on Insurance company. And I am planning an PALM application.
Currently, our company agent check their client's information and policy information through our company's intranet. And I am propose to my boss let agent download the information to their PALM, but my boss concern if the agent terminate, they will hold the data on their PALM.

<<My high level idea>>
Since the agent need the user id and password to access our company intranet, I want to plan there are time setting on the palm application, say when agent download all the data and then convert to the PALM application, they can see such information within 1 days. After the day, they cannot see the data, they need access to Intranet to generate the activation key, then input to the Palm application, then they can see the data again.

So, if the agent's termination, our company will block their Intranet accout, they cannot generate the activation key and cannot see the data on PALM application.

<<There are Problem>>
But in my experience, programmer will using the date to generate activation key, say if today (12.9.2003), the activation key is 0998877, the agent's termination on next day (13.9.2003), Although he or she cannot generate the up-to-date activation key, but he or she can set their palm date back to 12.9.2003, and input the old activation key.....then, he or she can see the data again.....so, how can I do??

let the data be there on the palm but to view the data in your application you can store the agent's expiry if the agent has expired then dont let him view the data. also store the current date/time so

let the data be there on the palm but to view the data in your application you can store the agent's expiry if the agent has expired then dont let him view the data. also store the current date/time so if the agent tries to backdate check if the time is before the last stored time if yes delete the data or dont allow him to view the data.

The easiest (although, not extremely efficient) is to allow the palm to create a request for data. The server then creates a text file (encrypted perhaps) with the current date stamp. That file is what is read and displayed on the palm. Palms are only allowed to read a file with the same date stamp on it that their palm has.

And of course, if the data is on a server somewhere you can obviously clean up after yourself. Run a utility every night that deletes all files in a specified directory (where your palm records are kept)

0

Featured Post

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.

An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …

In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…