 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
dk_sz Guest
|
Posted: Thu Dec 01, 2005 4:02 pm Post subject: Indy 10 (BDS 2005) / Basic Auth ... failure??? |
|
|
In OnAuthorization I set
Username/Password + Handled to True...
(anything else I need to do? I think not?)
Yet, in my tests, I seem to get rejected
(wrong username/password). This seems odd
as when I am using e.g. FireFox it works fine.
I know the fault is probably my own...
But any ideas of what might be wrong?
The Page I try to access if Apache/protected like this:
AuthType Basic
AuthName "Pictures"
AuthGroupFile /dev/null
AuthUserFile /i/am/not/telling/the/file/path
<Limit GET>
require valid-user
</Limit>
best regards
Thomas Schulz
|
|
| Back to top |
|
 |
dk_sz Guest
|
Posted: Thu Dec 01, 2005 7:07 pm Post subject: Re: Indy 10 (BDS 2005) / Basic Auth ... failure??? |
|
|
However, doing this:
if (FAuthUsername <> '') then
begin
FHttp.Request.BasicAuthentication := True;
FHTTP.Request.Username := FAuthUsername;
FHTTP.Request.Password := FAuthPassword;
end;
before Get seems to work.
best regards
Thomas
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|