Hi, I have a password protected folder in my webserver. Can I pass the password while calling a file from that folder through http? Operating system. windows2000 Thanks Nazer
oh yes, cant remember exactly, but you need base64 encode the username and password and stick a colon ':' between the two. Then set a header field with this value. Can't remember the header name? you know google don't you??
GET /MyPages/MySecret/file.txt HTTP/1.0\r\n Authenticate: base64-encoded-string\r\n where base64-encoded-string = "user:pass" encoded as base64 (no quotes) [ September 13, 2002: Message edited by: Simon Lee ]