web page security and accessing it after logon script through mysql

Posted on 2004-10-26
Last Modified: 2013-12-27
With all due respect to all experts here !
I would like to resolve this confusion here.
Basically I am working on to put a logon box on web page like user name and password.
I read few free scripts on internet and most of the time ( as I understand ) it looks like after getting authentication from sql or mysql server the user directs to some page, which is either residing on some other location or simply not listed ( as under any link) on main page or deep down.

My confusion is.... lets say after logon ( as valid user ) if I am passing on the link to other people or even if I am bookmark it, then whats the point of logging on ? because after bookmarking it I don't need next time to log on. What I am after is, to provide a page only to those users who are loged in each time (required)  to see that particular page otherwise redirected to bad logon or vice versa.

Please open my mind here with the full concept over controlling the page security in terms of user's authentication with some practical script ( without assumption in scripting) for mysql server.

I will be very greatfull for that and thanks in advance for all those experts who are not laughing at me here.
Question by:amirniaz
    LVL 14

    Expert Comment

    The pages underneath the login screen need to check that the session is authenticated.
    This can be done in different ways, including:

    o Using a framework such as Netegrity, WebSphere, BroadVision, etc., etc., that does stuff like this automagically

    o Using the access-control mechanisms built into the web server. These are often combined with plugins to let the webserver authenticate against LDAP, mysql, Radius, or some other user-store.

    o Using custom JavaScript on each web page that does the check (such as checking for a signed cookie with the user's credentials)
    LVL 38

    Expert Comment

    > because after bookmarking it I don't need next time to log on
    It's becasue of the cookie stored at your PC.

    > loged in each time (required)  to see that particular page otherwise redirected to bad logon or vice versa.
    HTTPS will do.


    Accepted Solution

    PAQed with no points refunded (of 50)

    Community Support Moderator

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
    A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

    913 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

    16 Experts available now in Live!

    Get 1:1 Help Now