CF to authenticate against Linux HTACCESS

Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default CF to authenticate against Linux HTACCESS

    I have a page that we want to link to other webservers.

    Some of these webservers (Linux) have implemented security via HTACCESS. We
    have the usernames/passwords in a db table, and would like to pass these
    credentials along to the destination site.

    How do I do this? Is there a CF tag that will accomplish this? (I've attempted
    CFHTTP, and it gets me to the page, but then all the graphics call up the login
    box...) Is there a CFC that would accomplish this?

    Thanks in advance,

    bw

    Gakusei Guest

  2. Similar Questions and Discussions

    1. Use CF to authenticate against HTACCESS
      I have a page that we want to link to other webservers. Some of these webservers (Linux) have implemented security via HTACCESS. We have the...
    2. authenticate except one page
      i use form based authenticatiżon. But in my project only one file must use anonymous access. how can i do that? thanks bg
    3. Authenticate with a webservice
      I know how to authenticate to a webservice using either of these ways(Assuming that rService represents the webservice): 1) rService.Credentials...
    4. How to authenticate HttpWebRequest?
      Hi, i have a protected part of application ("security" subdirectory is protected by authentication mode="Forms"). i'd like to give a user a...
    5. authenticate module
      Hi, I like to use WWW::Mechanize to scrape a website. However the website has a authentication page. Is there a perl module I can use to perform...
  3. #2

    Default Re: CF to authenticate against Linux HTACCESS

    If the authenication type is DIGEST then neither CFHTTP nor any other built
    language component will work with it.

    CFHTTP and CFINVOKE will work against target URIs protected by BASIC
    authentication when using the username/password tag attributes.

    serat Guest

  4. #3

    Default Re: CF to authenticate against Linux HTACCESS

    do you have an example of the syntax I would use? I want to be able to have a
    link on my page launch a new window and go to a page on the remote server...
    but I want the user to then be able to click on links on the remote page to
    "surf" their site... so I'm not sure if CFHTTP would do the trick...

    Thanks again in advance,

    bw

    Gakusei Guest

  5. #4

    Default Re: CF to authenticate against Linux HTACCESS

    For HTTP operations such as GET/POST/HEAD to target URIs where the URI is
    protected by BASIC Authentication (not DIGEST/NTLM), then the CFHTTP tag can be
    used with the username=/password= attributes.

    For more see:
    [url]http://livedocs.macromedia.com/coldfusion/7/htmldocs/00000272.htm#1632966[/url]

    serat Guest

  6. #5

    Default Re: CF to authenticate against Linux HTACCESS

    If you under Windows, this tag can be used instead of CFHTTP with any authentication supported under Windows:

    [url]http://www.cftagstore.com/tags/cfxhttp5.cfm[/url]

    Mr Black 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