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

Allow both authenicated users AND anonymous access for intranet setup

Explorer ,
Oct 19, 2009 Oct 19, 2009

Hi,

I have a intranet setup using coldfusion, I use windows authentication to log people in using CFLDAP, application.cfm checks for the logged in session variable, if its blank it triggers cfldap to log the user in. So as it stand users need to be logged in to access any page of the intranet.

My intranet works by including pages passed in the url to the index page ie index.cfm?page=welcome.

Is there anyway I could modify this to give access to anonymous users?

Thanks in advance

775
Translate
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 ,
Oct 19, 2009 Oct 19, 2009

Yes.

The details depend on whether you want to continue to make your internal users log in.

Translate
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
Explorer ,
Oct 19, 2009 Oct 19, 2009

Thanks for your reply.

Yes thats not a problem, I can change things around.

The only way i can give access to users not on the domain is by pointing them to a AA copy of the site in IIS.

Which works, but we have to give out 2 url's inc ommunications which isn't ideal.


Any advice much appreciated

Translate
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 ,
Oct 19, 2009 Oct 19, 2009

The cgi.auth_user variable might come in handy.

Translate
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
Explorer ,
Oct 19, 2009 Oct 19, 2009
LATEST

Hi Dan,

I can't even get that far.

The whole site is IWA so when a user without an account tries to browse to the site, a username and password prompt appears.

To get around this, I've setup a copy of the site in IIS and set this to AA. a seperate url then points to this site, and it lets them in fine.

However, I would like to use one url.

Somehow I need to tell if a user is on the domain before they get to IIS, unless there is another way?

Or bypass cfldap somehow?

thanks again

Translate
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