Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Security & Convenience

Posted on 1999-07-14
Medium Priority
Last Modified: 2013-12-25
I am creating a web interface to a database, which I want to add user level access. Im using Xitami web server for windows.

I have a login html form which gets a username and password. My cgi prog. (written in MS visual Basic 5.0) takes these and checks they match an entry in my users database (MS Access). If they do match, my cgi prog. creates a welcome page.

The welcome page has further forms. I want to be sure that  people can't link directly to the cgi progs that create the later pages without loggiing in.

Currently I am making the login cgi output the username and password (hidden) so they can be re-submitted to go on to further pages, but this is a pain.

I would be very grateful if anyone has any ideas on other solutions to this problem that have reasonable security.

Thanks in advance

PS how does this experts exchange web site let me link without having to re-enter my login? is it using cookies that allows this?
Question by:andyknott
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
1 Comment
LVL 11

Accepted Solution

mouatts earned 400 total points
ID: 1835073
Last question first. Yep a cookie is being used for EE.

The only solution that you have to you problem is that you need to have a bit of information sent with every request from the client of stored locally. I don't know you Web Server so I'm not sure what features are available certainly some like IIS allow variables to be stored for each session so you can track whatever you like for a user including that they have logged in. However the way that the sessions are established is by the creation of a cookie so we are back to square one again.

Apart from a cookie and hidden fields this is the limit to your options (unless you fancy writing servlets).


Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction This tutorial will give you a fast look what you can do with WhizBase. I expect you already know how to work with HTML at least, and that you understand the basics of the internet and how the internet works. WhizBase is a server-s…
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
The viewer will learn how to dynamically set the form action using jQuery.

715 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