Does any body knows how to use authorization handlers
BYTE HTTPCheckAuth(BYTE* cUser, BYTE* cPass)
if(strcmp((char *)cUser,(char *)"admin") == 0
&& strcmp((char *)cPass, (char *)"flyport") == 0)
return 0x80; // We accept this combination
return 0x00; // Provided user/pass is invalid
If there is some sample code please post it!!!
I need to protect application from not authorised users