• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 226
  • Last Modified:

web page security and accessing it after logon script through mysql

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.
0
amirniaz
Asked:
amirniaz
1 Solution
 
chris_calabreseCommented:
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)
0
 
wesly_chenCommented:
> 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.

Wesly
0
 
moduloCommented:
PAQed with no points refunded (of 50)

modulo
Community Support Moderator
0

Featured Post

Take Control of Web Hosting For Your Clients

As a web developer or IT admin, successfully managing multiple client accounts can be challenging. In this webinar we will look at the tools provided by Media Temple and Plesk to make managing your clients’ hosting easier.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now