Access to page with web authentication

Ask a Question related to Coldfusion - Getting Started, Design and Development.

  1. #1

    Default Access to page with web authentication

    Hi,

    I want to automatically access the data on a web page that is protected by
    basic web authentication.

    I have tried <cfinvoke> with a password and username but I don't know what to
    use as the method... what is a method?

    I have also tried CFhttp with username and password but it just returns an
    error.

    My username and password work fine when I enter them manually.

    Any help is appreciated.
    Regards,
    Chris.


    <cfhttp method="post" url="#xmlPath#" charset="iso-8859-1">
    <cfhttpparam type="formfield" name="username" value="removed">
    <cfhttpparam type="formfield" name="password" value="removed">
    </cfhttp>

    cjdunkerley Guest

  2. Similar Questions and Discussions

    1. Access Authentication
      Hi, I have an ASP.Net Application, This application is accessed based on user identiy authorization. This application is hosed on server locted on...
    2. an "access denied" page for unauthorised page access
      I would like to show an "access denied" page when an authenticated user tries to access a page for which they are not authorised (role-based). ...
    3. Access Denied using Windows Authentication. WSE 2.0
      Subject: Access Denied using Windows Authentication. WSE 2.0 When using custom authentication (using the UsernameTokenManager interface.) I...
    4. asp.net, basic authentication, file access
      I have a asp.net application that is configured to use "basic authentication". The application needs to have access to delete a file in let's say...
    5. Basic Access Authentication
      I found this article http://www.dotnet247.com/247reference/msgs/22/113795.aspx, but unfortunatly it no longer exists here, so I'm re-opening it. ...
  3. #2

    Default Re: Access to page with web authentication

    The http basic auth popup box isn't a form, so your method of passing the
    username and password is incorrect.

    [url]http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/tags-p58.htm#wp1632966[/url]

    <cfhttp method="post" url="#xmlPath#" charset="iso-8859-1" username="blah"
    password="blah" />

    Kronin555 Guest

  4. #3

    Default Re: Access to page with web authentication

    Thanks for the reply. I realise the mistake now... however I am still getting
    errors and beleive it is something to do with this:
    [url]http://support.microsoft.com/kb/834489[/url]

    So the data provider is now looking at securig the data in another way.

    Regards,
    Chris.

    cjdunkerley Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139