function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
tonante27tonante27 

Question Regarding Remote Access using Ajax Tool Kit and Query

Hi,

 

I have a remote HTML page that uses a link to pass a parameter to an Apex controller in order for that controller to run a SOQL query using the parameter which will then display the list of returned values to a Visual Force Page. I researched this scenario and I discovered that I could use either a WSDL or Ajax Toolkit to allow the remote HTML to login to Sales Force using the JQuery login() and sf.connect().  I decided to use Ajax Toolkit. (If there is an easier way to go about this procedure please let me know)

 

My Question is this:

 

1) How can I go about encrypting the login parameters within my JQuery library file? I thinking the password and userid are going to be exposed and that could be risky.

 

Thanks much for your help.