This is a discussion on "password enabled page" within the Starting Out section. This forum, and the thread "password enabled page are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
password enabled page
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
how to add a password enabled page to a site?
|
|
|
|
|||
|
Re: password enabled page
What language are you using? ASP? PHP?
It it happen's to be ASP, I am here to the rescue.. ASP-MySQL: Advance Login Page [Step-By-Step Tutorial] If it is PHP, then here is a complete tutorial!
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
Last edited by Monie; Nov 1st, 2007 at 07:16. |
|
||||
|
Re: password enabled page
You can do this with .htaccess as well. This link might help you some.
|
|
|||
|
Re: password enabled page
no just a simple java code that wen a visitor opens a page shuld hav to first enter a password...can it happen...?
|
|
||||
|
Re: password enabled page
Do you mean JavaScript or Java? They are two completely different things.
If you are looking for a Javascript one, have a peek here: http://javascript.internet.com/passwords/prompt-in.html. PLEASE BEAR IN MIND THAT PEOPLE CAN LOOK AT YOUR JAVASCRIPT CODE AND THEY CAN ALSO DISABLE JAVASCRIPT ON THEIR BROWSER! I WOULD SUGGEST THAT YOU LOOK AT JACOB'S VERSION UNLESS YOU ARE ABLE TO USE PHP!! |
|
||||
|
Re: password enabled page
This is better to be done with htaccess.
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
|||
|
Re: password enabled page
Quote:
You can code then using ASP or PHP. Using thie link that I gave you, you can do that, provided you know the language as well as any database (MSSQL / MySQL) If you got any problem to start, let me know..
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
|||
|
Re: password enabled page
i donno bout php or asp... my web site is simple html....no such databases...
so i need just a simple code or some thing that can protect my certain page or pages from un wanted users... i want that only some of users who know the passsword can view the page.... |
|
||||
|
Re: password enabled page
Use PHP or ASP ... no Javascript or it won't be a password protected site at all.
Follow the links posted by monie in his first reply. |
|
||||
|
Re: password enabled page
If you have cpanel you can password protect directories with a little prompt.
If you don't you can do this, but you will have to do it manually with htaccess.
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
|||
|
Re: password enabled page
If you are talking about basic HTML, you can't password protect you site!
You could do that using simple javacscript with encripted password embeded in your code but it is still not secure compare if you use ASP or PHP. Cheers..
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
|||
|
Re: password enabled page
Use .htaccess. However, you need an Apache server. If none of the above mentioned work, or you just don't have the technology available, then it will be close to impossible to password protect your site...
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
|
|
|||
|
Re: password enabled page
A simple ASP page and Access Database will just make your day!
I could teach you how if you want
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
|||
|
Re: password enabled page
sure monie tell me....
|
|
|||
|
Re: password enabled page
First, try out my complete tutorial that I have posted HERE The tutorial will show you all that you need to create the login page using ASP-ACCESS or MySQL!
If you don't understand them, then I will come to your help Cheers..
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
|||
|
asp tutorial
i donno mysql database ..can i make a database in ms access and than use it in asp page....
and wat to do with that asp coding...save it in my html page orsave it as name.asp |
|
|||
|
Re: password enabled page
Hai, sorry that I could not reply to you this few days coz I am having my first baby (my wife, by the way hehehe..)
I promise to you I will help you as soon as my situation is in control Regarding your question, you can use ACCESS with ASP. They are much more easy compare when you use ASP with MySQL. Every page in my Tutorial there, if you want to use them, save them in .asp extention not .htm or .html! You could see the file name from the working example HERE!
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
|||
|
Re: password enabled page
very very congratulations.....
its ok... am trying to understand ur tutorials dnt wry i will do it one day |
|
||||
|
Re: password enabled page
There are millions of pre-built solutions. But, we can't really make any suggestions until we know what type of server you are working with. Is it a Linux server, or a Windows server? Is it running Apache? Do you have MySQL or some sort of database installed?
Regardless, you can do this though PHP (Linux) with or without the use of databases (MySQL). Just depends on how in depth you are wanting go. You can also do this though ASP (Windows), I honestly have no idea about this option, so I will leave this one for monie. Or finally you can do this though .htaccess. This is a super simple way of adding a password on your website, but you must be using an Apache server. Let me show you some examples... .htaccess login... http://creativecoding.webforumz.com/development/ PHP Login with MySQL... http://www.ldstroop21.org/ ASP Login... http://www.hotmail.com/ So, first tell us the stats about what you have with your hosting account. Then we will give you the best solution to your issue. Looking forward to your reply, Jacob! |
|
|||
|
Re: password enabled page
nice link there Jacob.
Hey Saadi, If you have problem with my tutorial, just inform me, ok!
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to password encript a page | acrikey | Web Page Design | 7 | Aug 22nd, 2007 14:39 |
| password protecting just one page | catalystmediastudios | Web Page Design | 2 | Mar 31st, 2007 03:46 |
| Password protecting a page | paddywhack | Web Page Design | 10 | Feb 7th, 2007 19:13 |
| password protect a page | snappy | JavaScript Forum | 3 | Mar 7th, 2006 22:09 |
| Delete file in password protected page. | SweetLou | Classic ASP | 4 | Jan 7th, 2006 21:15 |