• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How to Encrypt URL Variable from remote site to CF Page?

Explorer ,
Aug 29, 2006 Aug 29, 2006

Copy link to clipboard

Copied

Is there a way I can encrypt a username on a URL from a remote site, and then decrypt it on the CF login page on my server? I want to allow them to seamlessly login in, but don't want to show their real data on the url line. Is there a way to do this?
TOPICS
Advanced techniques

Views

342

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Aug 29, 2006 Aug 29, 2006

Copy link to clipboard

Copied

LATEST
You can create an encrypted string this way: Encrypt('myusername', 'seed123')

With that string, your URL would be something like this: login.cfm?uID=)68>3OYV;aZ99V,

And your login.cfm program would get the real ID this way: Decrypt(URL.uid,'seed123')

But I'm not sure what that gets you. Anyone clicking the link would go to the page that decrypts the username and presumably displays it in order to prompt for a password.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation