Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2004-06-22, 11:43 AM   #1
lassiter
I'm normally not a praying man, but if you're up there, please save me Superman!
 
lassiter's Avatar
 
Join Date: Aug 2003
Location: Austin, TX
Posts: 473
Send a message via ICQ to lassiter Send a message via Yahoo to lassiter
How do I make a 401 trap?

Hi -

As a paysite owner, I often get surfers attempting random username/password combinations to try to get access to my members areas. They end up on a generic 401 "unauthorized user" error page.

I'd like to have something else come up for that 401 instead - a hub page, an FPA, etc. How do I set up a file or files to do that? It's clearly not as simple as just naming a page "401.html" since I've tried that already. |badidea|

Thanks!
lassiter is offline   Reply With Quote
Old 2004-06-22, 05:01 PM   #2
DangerDave
Bonged
 
DangerDave's Avatar
 
Join Date: Mar 2003
Location: BrisVegas, AUSTRALIA
Posts: 4,882
Don't "TRAP" them... remember half of them are your own members entering their PW incorrectly..

Give them a nice page that says they made a mistake.. or they need to signup for full access..

Create a page called 401.html

In your htaccess put


ErrorDocument 401 /401.html


Test it.. and your done

DD
__________________
Old Dollars >>>> Now with over 90 Hosted Free Sites <<<<
DangerDave.com.au - Adult Links to Free Porn
DangerDave is offline   Reply With Quote
Old 2004-06-22, 07:45 PM   #3
lassiter
I'm normally not a praying man, but if you're up there, please save me Superman!
 
lassiter's Avatar
 
Join Date: Aug 2003
Location: Austin, TX
Posts: 473
Send a message via ICQ to lassiter Send a message via Yahoo to lassiter
Quote:
Originally posted by DangerDave
Don't "TRAP" them... remember half of them are your own members entering their PW incorrectly..
I've inspected my error logs repeatedly over the past year, and not even counting the automated distributed brute-force hacking attempts, I'd say about 98 out of 100 are not my users making mistakes, but people seeing if any given user/pass combo will magically work to unlock the gates of paradise.

You certainly bring up a very good point though - no sense pissing off any paying customers. I'll make a page with a polite suggestion to check their typing and try again, but give a whole bunch of links to other sites/sponsors/FPAs as well.

Thank you, DangerDave!
lassiter is offline   Reply With Quote
Old 2004-06-22, 07:59 PM   #4
Cleo
Subversive filth of the hedonistic decadent West
 
Cleo's Avatar
 
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
What DD said about your 401 page.

If it is hacking that is a problem then have Strongbox installed. I just did on the site that I'm managing and it instantly put an end to this bullshit.
__________________
Free Rides on Uber and Lyft
Uber Car: uberTzTerri
Lyft Car: TZ896289
Cleo is offline   Reply With Quote
Old 2004-06-22, 08:07 PM   #5
DangerDave
Bonged
 
DangerDave's Avatar
 
Join Date: Mar 2003
Location: BrisVegas, AUSTRALIA
Posts: 4,882
.

The "take-home message"

Quote:
it instantly put an end to this bullshit.
Without question StrongBox rocks...

Now where is that Wm affiliate program...? Ray?!

DD
__________________
Old Dollars >>>> Now with over 90 Hosted Free Sites <<<<
DangerDave.com.au - Adult Links to Free Porn
DangerDave is offline   Reply With Quote
Reply


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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:03 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc