Hiding Ip in JavaScript WebSocket -
i'm having javascript websocket variables -
var server = new websocket('ws://xxx.xxx.xxx.xxx:9300'); var server2 = new websocket('ws://xxx.xxx.xxx.xxx:9301');
("xxx.xxx.xxx.xxx" ips. )
problem that, ips viewable in "view source" browser option. don't want them vissible security reasons(ddos attacks , on...). there possible way can hide or crypt ips aren't usable or vissible @ client side(not in "view source" option)?
i tempted downvote , joke, because question quite silly way put it. can't hide identity of server you're connecting to. if encrypt in source, trivial log connection (necessarily decrypted) ip.
except if you're connecting through proxy. though doesn't solve problem. proxy attacked, or servers through it.
there ways mitigate attacks such ddos nothing foolproof. i'm sure can find more @ serverfault asking right questions.
Comments
Post a Comment