0

Hi, I need a little help Please,

I am a Newbie here... I have created a login on my website. After the user logs in he gets directed to his page example: www.abc.com/user1.htm... but if this address is manually entered (without logging in) even then the page shows... i want it to show "Access Denied" if not logged in, how can i do that?? Please Help

Regards,
akampro

3
Contributors
3
Replies
4
Views
11 Years
Discussion Span
Last Post by iamthwee
0

Hi, I need a little help Please,

I am a Newbie here... I have created a login on my website. After the user logs in he gets directed to his page example: www.abc.com/user1.htm... but if this address is manually entered (without logging in) even then the page shows... i want it to show "Access Denied" if not logged in, how can i do that?? Please Help

Regards,
akampro

Try this, u need 2 use the encrypted example...
http://www.javascriptkit.com/script/cutindex6.shtml

:cool:

0

You can also make certain pages/folders access denied using .htaccess.

This is the easiest and most secure way to do it, I would not rely on javascript.

0


This is the easiest and most secure way to do it, I would not rely on javascript.

Actually the language itself has nothing to do with the security aspect.

Rather the type of encryption technique governs how secure something is. ;)

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.