There is a site with a registered user area, all of them have their own user / pass.
The problem is that some of them are trying to share authentication information with others to help them finish the job.
There is no way to restrict by ip-address, because for each dynamic ip is provided.
What could be the best solution? store sessions in a database? how to recover if they do not exit the system properly?
thank
-: session_save_handler, , (session_id char, session_data blob, session_user int or char). / , , DELETE , - , "" , , //, - , , , , - , / .
session_id char, session_data blob, session_user int or char
DELETE
- ilogin/, .
, - , , .
Loïc Février , , .
, 2 , - / , .
. , IP-, , ping DB X IP- IP-, , ..
IP-, , . ( ), , /. , , .
-
, . , .
a) , , : . → . → .
b) . , . → . → .
(IP-?) , . , reset . , . , - . - . 5 . , - , , .
Source: https://habr.com/ru/post/1766769/More articles:PHP преобразует одномерный массив в многомерную - phpHashing sets of integers - algorithmWhat is the best way to store a Time Series in MySQL? - mysqlUsing regex in python - pythonWhich table stores constraint information in SQL Server 2008? - sql-serverDjango Comment Submission Notice - djangoreading a large file from a remote server using php script - php"device not ready" when using File.Copy () in C # - c #Why is this C # code not compiling? - c #Difference between type casting and parsing? - castingAll Articles