General Chat
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsGeneralGeneral Chat

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old March 18th, 2007, 08:20 AM
westmatrix99's Avatar
westmatrix99 westmatrix99 is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 288 westmatrix99 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 52 m 42 sec
Reputation Power: 3
LOGIN BLOCKER SYSTEM in PHP

What is the point of blocking access to a website using an IP or cookies for a specific amount of time?
Why block using IP?
Why block using cookies?

Why not block per session?; as I don't know enough about PHP as well as I know ASP.

I don't know how to create a session based LOGIN BLOCKER SYSTEM in PHP(yet).

Don't get me wrong I have created bunch of websites in PHP and have asked a few questions to help me with them but I just don't unserstand.

Reply With Quote
  #2  
Old March 18th, 2007, 10:02 AM
Andrew's Avatar
Andrew Andrew is offline
Moderator
Click here for more information
 
Join Date: Apr 2007
Location: United Kingdom
Posts: 1,948 Andrew User rank is Private First Class (20 - 50 Reputation Level)Andrew User rank is Private First Class (20 - 50 Reputation Level)  Folding Points: 2429 Folding Title: Novice Folder
Time spent in forums: 4 Days 6 h 36 m 39 sec
Reputation Power: 4
RE: LOGIN BLOCKER SYSTEM in PHP

Blocking by cookies is pretty pointless, just clear your cookies and you are unblocked...

Reply With Quote
  #3  
Old March 18th, 2007, 10:41 AM
westmatrix99's Avatar
westmatrix99 westmatrix99 is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 288 westmatrix99 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 52 m 42 sec
Reputation Power: 3
RE: LOGIN BLOCKER SYSTEM in PHP

Blocking by IP also makes no sense then; you have to wait 30 minutes or whatever time you as the coder/owner decides.
But also it blocks all users from same IP address; problem if it's on the same network.

I wouldn't actually know the best option to use.
Maybe captcha is better to utilize but still does not stop cackers from trying to get in.

Cheers
West

Reply With Quote
  #4  
Old March 18th, 2007, 01:00 PM
decodephp decodephp is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 81 decodephp User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 30 m 12 sec
Reputation Power: 3
RE: LOGIN BLOCKER SYSTEM in PHP

i am not really clear what you are trying to do.

are you trying to block a user from logging in or are u trying to block crawlers from crawling your website?

Reply With Quote
  #5  
Old March 18th, 2007, 01:05 PM
westmatrix99's Avatar
westmatrix99 westmatrix99 is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 288 westmatrix99 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 52 m 42 sec
Reputation Power: 3
RE: LOGIN BLOCKER SYSTEM in PHP

No this is the general chat section but if you have code post it.

Cheers
West

Reply With Quote
  #6  
Old March 18th, 2007, 01:09 PM
decodephp decodephp is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 81 decodephp User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 30 m 12 sec
Reputation Power: 3
RE: RE: LOGIN BLOCKER SYSTEM in PHP


Quote:
No this is the general chat section but if you have code post it.

Cheers
West


right. general chat , but still there has to be a definite purpose to the topic in discussion ,no? there are several different methods of going about blocking access to site based on different scenarios. So some pointer would be help as to what are you trying to achieve and on what level are you trying to block access. i can only post code if i know what i am posting it for

Reply With Quote
  #7  
Old March 18th, 2007, 01:14 PM
westmatrix99's Avatar
westmatrix99 westmatrix99 is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 288 westmatrix99 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 52 m 42 sec
Reputation Power: 3
RE: LOGIN BLOCKER SYSTEM in PHP

Ok I looked at an IP blocking system but it only blocks the IP which means that if there are other users on the same network they can't get in.

So how would you propose the blocking to your site if a user logs in more than 3 or 5 times?

Time limit?
Or
Your proposal...

Cheers
west


Reply With Quote
  #8  
Old March 18th, 2007, 01:18 PM
westmatrix99's Avatar
westmatrix99 westmatrix99 is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 288 westmatrix99 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 52 m 42 sec
Reputation Power: 3
RE: RE: LOGIN BLOCKER SYSTEM in PHP

By crawlers; do you mean search engine crawlers?
Quote:
i am not really clear what you are trying to do.

are you trying to block a user from logging in or are u trying to block crawlers from crawling your website?

By crawlers; do you mean search engine crawlers?

Cheers
West

Reply With Quote
  #9  
Old March 18th, 2007, 01:19 PM
decodephp decodephp is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 81 decodephp User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 30 m 12 sec
Reputation Power: 3
RE: LOGIN BLOCKER SYSTEM in PHP

ok if i were to suggest i solution , i would go about doing it like this...

in the users table , i will have a field for instance "tempblock".by default this field is set to 0.. When user logs in for the third time , i set something like this in the that field for that user like mktime()+3600 .When login in all users check user, password,tempblock .. if tempblock is 0 or mktime in the field is greater than current mktime let him go ahead and set the tempblock field again to zero. otherwise tell him to wait for the remaining time indicated by the field data.

Reply With Quote
  #10  
Old March 18th, 2007, 01:21 PM
decodephp decodephp is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 81 decodephp User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 30 m 12 sec
Reputation Power: 3
RE: RE: RE: LOGIN BLOCKER SYSTEM in PHP


Quote:
By crawlers; do you mean search engine crawlers?


SEs and other leechers , taking data from your site and showing on their own etc

Reply With Quote
  #11  
Old March 18th, 2007, 01:24 PM
westmatrix99's Avatar
westmatrix99 westmatrix99 is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 288 westmatrix99 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 52 m 42 sec
Reputation Power: 3
RE: LOGIN BLOCKER SYSTEM in PHP

Not a bad idea?
Will try it, not now too tired will do later.
Anyways what time is it by you?
I am South Africa and it is 16h:00

Cheers
West

Reply With Quote
  #12  
Old March 18th, 2007, 01:25 PM
westmatrix99's Avatar
westmatrix99 westmatrix99 is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 288 westmatrix99 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 52 m 42 sec
Reputation Power: 3
RE: RE: RE: RE: LOGIN BLOCKER SYSTEM in PHP

How do you block those?

Quote:
SEs and other leechers , taking data from your site and showing on their own etc


I think you know too much. HA HA just kidding but really how do you.

Cheers
West

Reply With Quote
  #13  
Old March 18th, 2007, 01:25 PM
decodephp decodephp is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 81 decodephp User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 30 m 12 sec
Reputation Power: 3
RE: LOGIN BLOCKER SYSTEM in PHP

Hope your adventure goes well.

its 7:30PM i am GMT +5

Reply With Quote
  #14  
Old March 18th, 2007, 01:27 PM
westmatrix99's Avatar
westmatrix99 westmatrix99 is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 288 westmatrix99 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 52 m 42 sec
Reputation Power: 3
RE: LOGIN BLOCKER SYSTEM in PHP

I have to go drink(not coffee) and eat.

Cheers
West

Reply With Quote
  #15  
Old March 18th, 2007, 01:27 PM
decodephp decodephp is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 81 decodephp User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 30 m 12 sec
Reputation Power: 3
RE: RE: RE: RE: RE: LOGIN BLOCKER SYSTEM in PHP

Quote:
I think you know too much. HA HA just kidding but really how do you.


well 6 years in web development ought to be enough to know alot but not all ofcourse

Reply With Quote
Reply

Viewing: Codewalkers ForumsGeneralGeneral Chat > LOGIN BLOCKER SYSTEM in PHP


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump




 Free IT White Papers!
 
Create the Optimal Architecture for your Critical Applications
Warburton's the largest independently owned bakery in the UK faced a number of difficult challenges in providing the most robust yet efficient IT infrastructure for their organization's success. IBM's services combined with their xSeries servers created the perfect platform for their SAP environment with sufficient flexibility, and did so in very time effective fashion.

Request Your Free Technology Downloads!
 
Five Best Practices for Deploying a Successful Service-Oriented Architecture
This white paper describes the benefits you can expect with SOA, and how IBM can help take your business there.

Request Your Free Technology Downloads!
 
Gartner Magic Quadrant for Application Delivery Controllers
Gartner summarizes its view on Application Delivery Controllers, evaluates strengths and weaknesses of solutions, and provides Magic Quadrant reporting for a quick comparison across all vendors. Learn from Gartner how you can benefit from an all-in-one device like Citrix NetScaler that delivers the highest levels of availability, performance and security.

Request Your Free Technology Downloads!
 
Knowledge is Power
What you don't know can hurt you, and is likely costing you money and increasing your security risks during an era of scarce resources. This white paper proposes six key strategies that enterprise security managers can use to improve their network defense posture.

Request Your Free Technology Downloads!
 
Rationalizing the Multi-Tool Environment
The rationalized multi-tool approach is flexible, scalable and cost effective. It provides the necessary input to the IT service management business processes. It preserves prior investments in monitoring tools, empowers technologists to select the best tools with which to do their jobs, and enhances effective response to incidents.

Request Your Free Technology Downloads!
 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 




© 2003-2010 by Developer Shed. All rights reserved. DS Cluster 4 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek