Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

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 Dev Shed Forums Sponsor:
  #1  
Old February 7th, 2001, 02:19 AM
Shtirlitz Shtirlitz is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Posts: 1 Shtirlitz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I'd like to protect the site, so the user enters the site only through main page. I was able to solve this problem with mod_rewrite. But I;d like to try another method. I'd like to use cookies.
Can someone help me to find the information, regarding using cookies to protect the site. As I understand it should work in the following way:
On the main page the client receives the cookie and stores it in the memory.
To access any other page apache server will check for a valid cookie in the client's memory if there is no such cookie - the client should be transferred to main page.
So, I'd like to use cookies and some server side verification method (I don't want to use perl,php,asp or any other languages which I need to insert on every page, because I have some ZIP file son the site and I want to protect them too).

Thanx in advance.

Reply With Quote
  #2  
Old February 16th, 2001, 07:27 PM
carlos carlos is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2000
Posts: 11 carlos User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
There are several Apache modules that might help you implement a cookie based authentication/authorization scheme.

Try:

http://search.cpan.org/search?dist=Apache-AuthCookie
http://search.cpan.org/search?dist=Apache-AuthTicket

But be ware, not everyone surfs with their cookies on, unless your require it explicitly from your user base.


Carlos

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > How to protect site with cookies


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


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





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT