Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


web page security and accessing it after logon script through mysql

Posted on 2004-10-26
Medium Priority
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
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
LVL 14

Expert Comment

ID: 12413261
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

ID: 12437927
> 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

modulo earned 0 total points
ID: 12848322
PAQed with no points refunded (of 50)

Community Support Moderator

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
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…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

636 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