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

Test if a user is authenticated before sending them to an authenticated site

Community Beginner ,
Aug 09, 2010 Aug 09, 2010

Copy link to clipboard

Copied

Hi All,

I am developing an application for my company in ColdFusion mx 7.

They want a site that has anonymous access to be main site.

From this main site they want the user to try to use his windows authentication to get to an authorized site by a button click.

My goal is to set it up so that the user clicks a button from the anonymous site and gets sent to the authorized site only if they have access.

If they don't have access they get sent somewhere else in the anonymous site.

How can I test if the user is authorized before I send them to the site?

Any help would be greatly appreciated

Thanks

-Adesh

TOPICS
Advanced techniques

Views

622

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
Enthusiast ,
Aug 09, 2010 Aug 09, 2010

Copy link to clipboard

Copied

This may help you.
http://go.adobe.com/kb/ts_tn_18516_en-us

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
Community Beginner ,
Aug 09, 2010 Aug 09, 2010

Copy link to clipboard

Copied

Thanks for the reply,

I was actually looking for a way that the clients browser would be able to tell them if they were authenticated or not.

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
LEGEND ,
Aug 09, 2010 Aug 09, 2010

Copy link to clipboard

Copied

The client's browser won't know.

The first thing you have to do is find out what the criteria is for authorization.  Then you have to convert that criteria to cold fusion code.

Is the first thing done yet?

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
Community Beginner ,
Aug 10, 2010 Aug 10, 2010

Copy link to clipboard

Copied

The criteria for authorization would be that if the client is already autehnticated show the site if they are not kick them to a site them to another site they will be able to see.

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
LEGEND ,
Aug 10, 2010 Aug 10, 2010

Copy link to clipboard

Copied

LATEST

I don't think your solution lies with Cold Fusion.  The most effective way to do it is to put the site behind your company's firewall.

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