The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Hi
Anyone know whether or how secure depending on a viewers IP is to then either get access to a restricted page or not? I have a MYSQL table with up to date member IP's where in a php file I use this code to either enable access or deny it. PHP Code:
However, from a secure PHP point of view, is it possible for someone to fake the users ip, find it out, or just gain access to the restricted page without fufilling the requirement? Thanks for any constructive advice. Matt |
#2
|
||||
|
||||
![]()
Would it be possible to gain access without actually being the user? Yes. One possibility is someone getting assigned the same IP fairly quickly. Most ISPs issue dynamic IPs. Another possibility is that even when the user has logged out, the computer would still have access to the page.
Is there something stopping you from doing a proper session check? |
#3
|
||||
|
||||
![]()
As I thought sadly.
I would do the normal session check however unfortunetly I do not know or cannot find a secure way of doing it. Could you advise please? Thanks Dismounted. |
#4
|
||||
|
||||
![]()
As long as the two sites are on the same server, you can include global.php, this will do all the checking for you.
|
#5
|
|||
|
|||
![]()
It is not hard to spoof an IP address and all it takes to find out someone's IP is social engineering or a file transfer over aim or msn.
|
#6
|
||||
|
||||
![]()
I agree blayke, but for my requirements it would be easier said then done
![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|