[Typo3-dev] For Kasper: ses_iplock and alternativeauthenticacion extensions

Jan-Hendrik Heuing jh at netfielders.de
Thu Apr 8 23:43:47 CEST 2004


"Kasper Skårhøj" <kasper at typo3.com> schrieb im Newsbeitrag
news:mailman.124.1081418469.241.typo3-dev at lists.netfielders.de...
>
>
> > So some configuration options are highly appreciated:
> >
> > - IP-locking enabled
> > - IP-locking disabled
> > - IP-locking per login *)
>
> - enable / disable in TYPO3_CONF_VARS; FE is disabled by default, BE is
> enabled.
> - per-user; For backend users you can disable the lock per-user (I don't
> know if this got into CVS yet, but I think so).
>
> An easy modification would be to store only the first X parts of the IP
> address and check for only the first part as well. For instance if the
> user is logged in from "192.168.1.10" we store and check for only
> "192.168" and nothing more.
>
> Any suggestions? There is one rule; We have varchar field of 15 chars
> and thats it. Registering and Storing multiple IP adresses is not an
> option in my opinion. Too much work.

As far as I can see, it's not much work beside change 1-2 lines of code: You
already got cmpIP (or similar) to compare a certain IP against some IP
filter which contains ip1-ip2 and stuff like 192.168.* at the same time.
Could you not just use what you already implemented ? In that case, it could
just work with multiple IPs. Maybe I am wrong, but it looks like it'll work
like this...


>
>






More information about the TYPO3-dev mailing list