|
How do I create password-protected page
03-17-2005, 08:42 PM
|
How do I create password-protected page
|
Posts: 95
Location: Tampa, Florida
|
I want to add a password-protected page to my website. I have created a subweb, but do not know what to do from here. I am using a shared server with godaddy. I asked them, but they had no clue what to do. I am using Front Page 2003.
Thank you for your time,
Jeremy
Last edited by chrishirst; 05-18-2008 at 08:05 AM..
|
|
|
|
03-18-2005, 03:10 AM
|
|
Posts: 397
Name: Steve
Location: Scotland
|
Two options:
.htaccess or sessions.
My opinion is that sessions are far better, but this will only be possible if you can use php.
Steve.
|
|
|
|
03-18-2005, 04:21 AM
|
|
Posts: 1,626
Location: Guildford, UK
|
Don't forget there are other scripting languages, ASP, ASP.NET...
__________________
Minaki Serinde MCP
"Wow, Linux is nearly on-par with Windows ME!"
Please login or register to view this content. Registration is FREE | Please login or register to view this content. Registration is FREE
|
|
|
|
03-18-2005, 06:50 AM
|
|
Posts: 397
Name: Steve
Location: Scotland
|
Quote:
|
Originally Posted by Minaki
Don't forget there are other scripting languages, ASP, ASP.NET...
|
Are they for Adults?

|
|
|
|
03-18-2005, 08:25 AM
|
|
Posts: 1,626
Location: Guildford, UK
|
__________________
Minaki Serinde MCP
"Wow, Linux is nearly on-par with Windows ME!"
Please login or register to view this content. Registration is FREE | Please login or register to view this content. Registration is FREE
|
|
|
|
03-18-2005, 09:05 AM
|
|
Posts: 1,832
Location: Somewhere else entirely
|
jtmoney - how you do this will depend on what scripting languages you have available, and which you are most comfortable with. If you don't have a scripting language available you can still do it ifyour web host supports .htaccess.
__________________
UPDATE 0beron SET talkupation = talkupation + lots WHERE post = 'helpful';
Please login or register to view this content. Registration is FREE (aka MSN handwriting for forums)
|
|
|
|
03-18-2005, 10:51 AM
|
|
Posts: 397
Name: Steve
Location: Scotland
|
Quote:
|
Originally Posted by Minaki
???
|
It was a joke, bud. Implying that ASP is a kiddies language, but not funny when you have to explain it.

|
|
|
|
03-18-2005, 10:57 AM
|
|
Posts: 1,626
Location: Guildford, UK
|
It's not funny anyway. IMO, ASP (and ASP.NET far more) are business orientated languages, PHP is a script-kiddies language  But let's not start a flame war... in the real world, either could be used for both...
__________________
Minaki Serinde MCP
"Wow, Linux is nearly on-par with Windows ME!"
Please login or register to view this content. Registration is FREE | Please login or register to view this content. Registration is FREE
|
|
|
|
03-18-2005, 12:09 PM
|
|
Posts: 95
Location: Tampa, Florida
|
I tried out a software called html password lock by Mtop. It seems very easy and seems to work pretty well. The only thing is it costs around $45 but I believe it will save me some time. Hoping someone has it cheaper.
Thanks everyone,
Jeremy
Last edited by chrishirst; 05-18-2008 at 08:05 AM..
|
|
|
|
03-18-2005, 12:48 PM
|
|
Posts: 59
Location: WI
|
Is your server a linux server or a windows server?
|
|
|
|
03-19-2005, 09:49 AM
|
|
Posts: 95
Location: Tampa, Florida
|
I am using a Windows server.
Jeremy
|
|
|
|
03-21-2005, 05:57 PM
|
|
Posts: 59
Location: Massachusetts, USA
|
You could always use PHP and HTTP authetication function! 
|
|
|
|
03-21-2005, 06:34 PM
|
|
Posts: 1,772
Name: Stephanie
Location: Oklahoma
|
www.bravenet.net has a free password service. The only drawback is the lack of customization. You might use it until you find one that can be customized better. Bravenet has a lot of cool webmaster tools.
|
|
|
|
03-22-2005, 12:36 PM
|
|
Posts: 758
Location: between here an somewhere else
|
wait your running windows...so basically you cant protect a page you just give yourself the illusion of protecting it......lol
MS such a love hate relationship 
|
|
|
|
03-22-2005, 03:38 PM
|
|
Posts: 237
|
If you are just trying to protect one page you could use a simple PHP script like the one below. Just change your user info and it will pop-up a login box when you click on the link to the page. Note: This is not a real secure method however and can be hacked. If you are trying to protect more than one page or make things more secure on a Windows box then you might consider using ASP and a SQL database, unless you want to mess around with PHP and MySQL which can be tricky sometimes on a Windows box - long live UNIX/LINUX!
Kaiman
Storm King Design
<?
// Change the login information for your username and password to access the page.
$login = "username";
$password = "password";
function error ($error_message) {
echo $error_message."<BR>";
exit;
}
if ( (!isset($PHP_AUTH_USER)) || ! (($PHP_AUTH_USER == $login) && ( $PHP_AUTH_PW == "$password" )) ) {
header("WWW-Authenticate: Basic enter=\"Secured Area\"");
header("HTTP/1.0 401 Unauthorized");
error("You are not authorized!");
}
?>
|
|
|
|
03-22-2005, 04:05 PM
|
|
Posts: 1,626
Location: Guildford, UK
|
If you're on a windows server, stay away from PHP and MySQL if you want to avoid real headaches.
Contrary to popular beleif, Windows is secure as long as you don't let it lapse. It's not hard. If it's a hosted server it should be pretty secure anyway.
If you run the server yourself, you can set basic NTFS Security permissions on the files/folders you want to protect. If not, check if ASP.NET is supported - then look up how to do forms authentication. It's simple to do. If you need any help, ask.
__________________
Minaki Serinde MCP
"Wow, Linux is nearly on-par with Windows ME!"
Please login or register to view this content. Registration is FREE | Please login or register to view this content. Registration is FREE
|
|
|
|
03-23-2005, 12:31 PM
|
|
Posts: 81
Location: Cape Coral, Florida, United States
|
If you are using Microsoft FrontPage 2003, I assume you are using a server that has FP Extensions installed right?
If so, you can use the internal user management features provided by FrontPage
You must be connected to the server using FrontPage to access the menus.
Tools > Server > Administration home...
Navigating to that item should take you to the online FrontPage administration utility available on servers that run FrontPage extensions.
From there, add a subweb. Then disable anonymous access for the subweb and start adding users to allow resitricted access to only those you want in the folder/subweb.
__________________
Please login or register to view this content. Registration is FREE
FREE PHP scripts for your website!
|
|
|
|
03-25-2005, 09:34 AM
|
|
Posts: 95
Location: Tampa, Florida
|
I am using a sample of a software caleed MTop to protect my page currently. Go to www.peddlerpost.com/lv.htm and check it out if you would like.
Thanks for your input everyone,
Jeremy
|
|
|
|
03-25-2005, 09:54 AM
|
|
Posts: 81
Location: Cape Coral, Florida, United States
|
If your server utilizes FP Extensions, and you publish your web using FrontPage (live or edit-offline), it would be in your best interest to use the built-in functionality of FrontPage.
Otherwise you run the risk of breaking FrontPage extensions by using another program to modify htaccess files
Though, if you are well-versed in syntax used for htaccess, it is not that much of a concern.
__________________
Please login or register to view this content. Registration is FREE
FREE PHP scripts for your website!
|
|
|
|
|
« Reply to How do I create password-protected page
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|