Copy link to clipboard
Copied
quote:
https://www.zft.adp.com/dock/
quote:
<cfhttp url="https://www.zft.adp.com/dock/" method="GET" port="443" username="igottheusername" password="andgotpass" resolveurl="Yes" />
quote:
Forbidden You don't have permission to access /dock/ on this server.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
quote:
Originally posted by: Vashuu
How do i know if a site use basic authentication or windows authentication
i mean both use windows popup for login/pass right ?
Copy link to clipboard
Copied
Copy link to clipboard
Copied
quote:
Originally posted by: Vashuu
Thanks for your quick answer!
1- yes i can acces with firefox, with a popup for log/pass
2- HTTP/1.1 401 Authorization Required
Date: Tue, 26 Feb 2008 20:17:17 GMT
WWW-authenticate: basic realm="root [21:17:17:824]"
Set-Cookie: SMCHALLENGE=YES; path=/; domain=.adp.com; secure
Content-Length: 467
Connection: close
Content-Type: text/html; charset=iso-8859-1
So the site use basic authentication.
So normaly i can use
<cfhttp url="https://www.zft.adp.com/dock/" method="GET" port="443" username="igottheusername" password="andgotpass" resolveurl="Yes" />
with username and password, i guess
but i have this response from the site :
Forbidden You don't have permission to access /dock/ on this server.
On one side i can acces the site with log/pass when i use any browser, but on the other site,when i use a cfm page with cfhttp, i got a error message telling i don't have the permission.
Is there a certain kind of privilege the /dock/ need to have to be access by CF
Copy link to clipboard
Copied