Solved

using cookie to authenticate ... ???

Posted on 1997-08-16
3
213 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
  • 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 50 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How do disable only TLSv1.0 in Oracle Sun One 7.1 Server 9 74
text on slider doesn't resize nicely 5 39
Firebug on Firefox 50 2 75
If-Then-Else ASP problem 6 50
Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

867 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now