How to add "User Authentication" to Synapse HTTP Proxy Server ? lazarus / 38-Networking and Web Programming ---------------------------------------------------------------------- yahoo000 · 2020-06-16 19:04 Hey, I have demo example of Synapse HTTP Proxy Server which is available in Synapse Source Code http://www.ararat.cz/synapse/doku.php/download all works fine, but I dont have any idea how to add user authentication to this code, can someone help me ? thanks I have tried to add Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i  sock.SocksUsername:='user';  sock.SocksPassword:='pass1234'; to this procedure but I can still use this proxy server without authentication.. Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i procedure TServiceThread.Execute;var  sock: TTCPBlockSocket;  ClientSock: TSocket;begin  sock := TTCPBlockSocket.Create;  try    sock.bind('0.0.0.0','3130');    sock.SocksUsername:='user';      sock.SocksPassword:='pass1234';     if sock.LastError <> 0 then    begin      WriteLog('!!! BIND failed !!!');      Exit;    end;    sock.setLinger(true,10000);    sock.listen;    repeat      if terminated then        break;      if sock.canread(1000) then      begin        //new connection... launch TTCPHttpThrd        ClientSock := sock.accept;        if sock.lastError = 0 then          TTCPHttpThrd.create(ClientSock);      end;    until false;  finally  sock.free;  end;end;