Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Amending encrypted fields using an agent

Status
Not open for further replies.

Hilaryb1

Programmer
Feb 24, 2002
7
0
0
GB
A field on a form is amended using an agent. Another agent uses this field in a @DBLookup action, and then attempts to set the lookup value (using @SetField) into an encrypted field.
The value in the encrypted field remains unchanged after the agent has run. However, if an identical unencrypted field is created and the same agent is run, the change takes place.
Both my PC and the server on which the agent runs have the encryption key.
How can I get the encrypted field to update without physically refreshing the documents?
 
The problem with encrypted fields is the fact that the ID doing the modification must have access to the key used to encrypt/decrypt.
How are you encrypting the field ? With personal keys ? In that case, you should ensure the server ID has a copy of the key and sign the agent with the server ID.
I don't know how to give a server ID a key, other than to copy the server.id file to a local client, upgrade the key list manually and copy it back to the server.
I'm not even sure that would work that way, but its worth a try.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top