•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Site Layout and Usability section within the Web Development category of DaniWeb, a massive community of 361,912 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,554 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Site Layout and Usability advertiser:
Views: 1682 | Replies: 3
![]() |
•
•
Join Date: Jan 2006
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 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
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
•
•
Join Date: Aug 2005
Location: Trailer trash caravan park, just down the road from loserville
Posts: 4,549
Reputation:
Rep Power: 15
Solved Threads: 284
•
•
•
•
Originally Posted by akampro
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
Member of: F-ugly code club
Join today don't delay!
Join today don't delay!
•
•
Join Date: Jan 2006
Posts: 10
Reputation:
Rep Power: 3
Solved Threads: 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.
This is the easiest and most secure way to do it, I would not rely on javascript.
•
•
Join Date: Aug 2005
Location: Trailer trash caravan park, just down the road from loserville
Posts: 4,549
Reputation:
Rep Power: 15
Solved Threads: 284
•
•
•
•
Originally Posted by ergorest
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.
Member of: F-ugly code club
Join today don't delay!
Join today don't delay!
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb Site Layout and Usability Marketplace
Similar Threads
- Updated : Simple ASP.Net Login Page (ASP.NET)
- password protect folder on a network (Network Security)
- Password protection (Visual Basic 4 / 5 / 6)
- HTML question (JavaScript / DHTML / AJAX)
- Access Sub switchboard password protection (Visual Basic 4 / 5 / 6)
Other Threads in the Site Layout and Usability Forum
- Previous Thread: Dreamweaver Image Moving Problem
- Next Thread: Picture Usage...



Linear Mode