Sherzod Posted May 24, 2013 Share 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. Link to comment Share on other sites More sharing options...
Sherzod Posted October 22, 2013 Author Share 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 ... Link to comment Share on other sites More sharing options...
IRWANTO82 Posted November 23, 2013 Share 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 Link to comment Share on other sites More sharing options...
IRWANTO82 Posted November 23, 2013 Share 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 Link to comment Share on other sites More sharing options...
Recommended Posts