Skip to main content
Participating Frequently
November 24, 2006
Question

Browser asking for username and password.

  • November 24, 2006
  • 2 replies
  • 421 views
Greetings

I have an interesting problem. When I browse certain section of my website I am asked to enter my username and password. When clicked "cancel" twice the person is let throught to the page. This seems to be related to the cfform tage. If I remove the tag, I am no longer asked for the username and password. This happens in IE 6 and 7, Netscape 7.1 but not in Firefox 1.5 or Mozilla 1.5.

But here is where it gets really interesting, If I log onto the web server, every page asks for the username and password. Any thoughts?

Thanks
Ray

The Specs
CFMX 7.02
Windows 2003
IIS 6
    This topic has been closed for replies.

    2 replies

    November 27, 2006
    It is a permissions problem, but doing the connector reinstall isn't going to fix your problem. If anything, it'll make it worse.

    Make sure you've got a CFIDE mapping to match your CFIDE folder. Also, make sure ColdFusion and IIS both have permissions to those folders.

    I have two trains of thought on setting permissions. The easiest but not as secure method is to grant everyone read privs (including your CFIDE folder's scripts directory). The other way to do it is to not grant anyone privs and grant the IUSR user (and ColdFusion read only privs to your web sites and CFIDE\scripts folder. You're not running ColdFusion as system are you?

    I usually do the everyone thing on intranet servers where I'm not quite as concerned with their security as I am an internet server, though I'm starting to ponder a shift away from everyone even on the intranet servers.

    In IIS, also make sure your anonymous browsing is on and that there are no restrictions on who can see the pages.
    Inspiring
    November 25, 2006
    ray,

    Sounds like a permission problem.

    Try running these.

    ColdFusionDirectory\bin\connectors\Remove_ALL_connectors.bat

    ColdFusionDirectory\bin\connectors\IIS_connector.bat

    --
    Ken Ford
    Adobe Community Expert
    Fordwebs, LLC
    http://www.fordwebs.com


    "RayBees" <rbakker@thunderbay.ca> wrote in message
    news:ek727f$bnq$1@forums.macromedia.com...
    > Greetings
    >
    > I have an interesting problem. When I browse certain section of my website
    > I
    > am asked to enter my username and password. When clicked "cancel" twice
    > the
    > person is let throught to the page. This seems to be related to the cfform
    > tage. If I remove the tag, I am no longer asked for the username and
    > password.
    > This happens in IE 6 and 7, Netscape 7.1 but not in Firefox 1.5 or Mozilla
    > 1.5.
    >
    > But here is where it gets really interesting, If I log onto the web
    > server,
    > every page asks for the username and password. Any thoughts?
    >
    > Thanks
    > Ray
    >
    > The Specs
    > CFMX 7.02
    > Windows 2003
    > IIS 6
    >