Sherzod Posted May 24, 2013 Posted May 24, 2013 Hi Farshad.Can you add in the next version or future, list of allowed IP, including with the ability to specify a range of IP addresses.Thank you.
Sherzod Posted October 22, 2013 Author Posted October 22, 2013 HI All! Do you think, this approach is correct? procedure TUniMainModule.UniGUIMainModuleCreate(Sender: TObject); begin if RemoteAddress <> '111.111.111.111' then begin UniSession.Terminate(RemoteAddress + ' is not allowed...'); end; end; Sincerely ...
IRWANTO82 Posted November 23, 2013 Posted November 23, 2013 Hi Farshad. Can you add in the next version or future, list of allowed IP, including with the ability to specify a range of IP addresses. Thank you. i need this too, only specified ip could access it
IRWANTO82 Posted November 23, 2013 Posted November 23, 2013 HI All! Do you think, this approach is correct? procedure TUniMainModule.UniGUIMainModuleCreate(Sender: TObject); begin if RemoteAddress <> '111.111.111.111' then begin UniSession.Terminate(RemoteAddress + ' is not allowed...'); end; end; Sincerely ... nice info, for dynamic IP maybe we can use inifiles myini := TInifiles.Create('config.ini'); ip := myini.ReadString('general', 'validip', ''); myini.free; but new feature request is possible
Recommended Posts