?
Solved

using cookie to authenticate ... ???

Posted on 1997-08-16
3
Medium Priority
?
217 Views
Last Modified: 2013-12-25
Hi, I was assigned a task to design user authentication on our web site.  The brief explaination of this authentication is as following.

1. everytime a user want to access our web site should provide their legal user name and password.

2. the administrator can manage the user-name-password database, such as adding a user, delete a user, change the user priority ...

I have read some stuff.  And it seems like cookie can do user authentication.  but I don't know how to do it exactly.  I hope we can use C to implement so that we can seamlessly integrate with our other program like cgi bins.  Do you have any idea about that?  Or do you know where on the web I can find some more info. about cookie authentication?  Thank you for your time.

Gang
0
Comment
Question by:feng042497
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 5

Expert Comment

by:icd
ID: 1854734
Cookies are not reliable in that many people either don't have browsers that support them, or they do and they have turned cookies off. There is a bit of a backlash against cookies due to some sites using them to track users and obtain information about them.

If your server is UNIX then consider the .htaccess method which is not so dependent upon the type of browser.

0
 

Author Comment

by:feng042497
ID: 1854735
Hi, thank you for your help.  I know .htaccess is another solution to this problem.  But it is very hard to do user management, isn't it?
0
 
LVL 5

Accepted Solution

by:
icd earned 200 total points
ID: 1854736
There are cgi scripts that allow you to do user management from the web. So long as these scripts are themselves in a secured directory then it should be secure enough for your purposes.

A good resource to look at for several scripts is:-

http://www.cgi-resources.com/Programs_and_Scripts/Perl/Password_Protection/

There are several here that use .htaccess and you may even find one that uses cookies.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.
Suggested Courses
Course of the Month8 days, 6 hours left to enroll

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question