1
mike1980
ip address auto login
  • 2004/3/22 23:23

  • mike1980

  • Just popping in

  • Posts: 2

  • Since: 2004/3/22


Is it possible to configure XOOPS to allow certain ip address to login automatically? In other words the opposite of the ip address reject option.

I'd like certain people to be recognised by ip address.

thanks

Mike

2
kevinv
Re: ip address auto login
  • 2004/3/23 4:09

  • kevinv

  • Friend of XOOPS

  • Posts: 44

  • Since: 2003/1/4 1


there is no configuration option for this.

I assume you still want people with particular ip's to log in with a password, but only people from those certain ip's can turn on the auto-login option.

Easiest way I can think of is to modify the autologin code (see the wiki for how to enable this code) and add some code to only show the auto-login check box for particular ip addresses.

I'd probably add code to the cookie saving part to ensure only particular ip's get the auto-save cookie create (prevents problem with people hacking in the auto-login info from outside the form).

If you're looking to have people from particular ip's automatically logged in without having a password I highly recommend against this. IP's are easily spoofed.

Login

Who's Online

96 user(s) are online (66 user(s) are browsing Support Forums)


Members: 0


Guests: 96


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits