Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
How do I create password-protected page
Old 03-17-2005, 08:42 PM How do I create password-protected page
jtmoney77's Avatar
Skilled Talker

Posts: 95
Location: Tampa, Florida
Trades: 0
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..
jtmoney77 is offline
Reply With Quote
View Public Profile Visit jtmoney77's homepage!
 
 
Register now for full access!
Old 03-18-2005, 03:07 AM
paid2surf's Avatar
Skilled Talker

Posts: 59
Location: WI
Trades: 0
www.phpfreaks.com has a tutorial for it.
paid2surf is offline
Reply With Quote
View Public Profile Visit paid2surf's homepage!
 
Old 03-18-2005, 03:10 AM
Gaffer Sports's Avatar
Ultra Talker

Posts: 397
Name: Steve
Location: Scotland
Trades: 1
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.
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
Gaffer Sports is offline
Reply With Quote
View Public Profile Visit Gaffer Sports's homepage!
 
Old 03-18-2005, 04:21 AM
Minaki's Avatar
Defies a Status

Posts: 1,626
Location: Guildford, UK
Trades: 0
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
Minaki is offline
Reply With Quote
View Public Profile Visit Minaki's homepage!
 
Old 03-18-2005, 06:50 AM
Gaffer Sports's Avatar
Ultra Talker

Posts: 397
Name: Steve
Location: Scotland
Trades: 1
Quote:
Originally Posted by Minaki
Don't forget there are other scripting languages, ASP, ASP.NET...
Are they for Adults?

__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
Gaffer Sports is offline
Reply With Quote
View Public Profile Visit Gaffer Sports's homepage!
 
Old 03-18-2005, 08:25 AM
Minaki's Avatar
Defies a Status

Posts: 1,626
Location: Guildford, UK
Trades: 0
Quote:
Are they for Adults?
???
__________________
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
Minaki is offline
Reply With Quote
View Public Profile Visit Minaki's homepage!
 
Old 03-18-2005, 09:05 AM
0beron's Avatar
Defies a Status

Posts: 1,832
Location: Somewhere else entirely
Trades: 0
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)
0beron is offline
Reply With Quote
View Public Profile Visit 0beron's homepage!
 
Old 03-18-2005, 10:51 AM
Gaffer Sports's Avatar
Ultra Talker

Posts: 397
Name: Steve
Location: Scotland
Trades: 1
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.

__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
Gaffer Sports is offline
Reply With Quote
View Public Profile Visit Gaffer Sports's homepage!
 
Old 03-18-2005, 10:57 AM
Minaki's Avatar
Defies a Status

Posts: 1,626
Location: Guildford, UK
Trades: 0
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
Minaki is offline
Reply With Quote
View Public Profile Visit Minaki's homepage!
 
Old 03-18-2005, 12:09 PM
jtmoney77's Avatar
Skilled Talker

Posts: 95
Location: Tampa, Florida
Trades: 0
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..
jtmoney77 is offline
Reply With Quote
View Public Profile Visit jtmoney77's homepage!
 
Old 03-18-2005, 12:48 PM
paid2surf's Avatar
Skilled Talker

Posts: 59
Location: WI
Trades: 0
Is your server a linux server or a windows server?
paid2surf is offline
Reply With Quote
View Public Profile Visit paid2surf's homepage!
 
Old 03-19-2005, 09:49 AM
jtmoney77's Avatar
Skilled Talker

Posts: 95
Location: Tampa, Florida
Trades: 0
I am using a Windows server.

Jeremy
jtmoney77 is offline
Reply With Quote
View Public Profile Visit jtmoney77's homepage!
 
Old 03-21-2005, 05:57 PM
dan245's Avatar
Skilled Talker

Posts: 59
Location: Massachusetts, USA
Trades: 0
You could always use PHP and HTTP authetication function!
dan245 is offline
Reply With Quote
View Public Profile
 
Old 03-21-2005, 06:34 PM
angele803's Avatar
Perfectly Imperfect

Posts: 1,772
Name: Stephanie
Location: Oklahoma
Trades: 2
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.
angele803 is offline
Reply With Quote
View Public Profile
 
Old 03-22-2005, 12:36 PM
CasaPages's Avatar
SillyPhilly

Posts: 758
Location: between here an somewhere else
Trades: 0
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
__________________
It Happens

Please login or register to view this content. Registration is FREE
CasaPages is offline
Reply With Quote
View Public Profile Visit CasaPages's homepage!
 
Old 03-22-2005, 03:38 PM
Kaiman's Avatar
Extreme Talker

Posts: 237
Trades: 0
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!");
}

?>
Kaiman is offline
Reply With Quote
View Public Profile
 
Old 03-22-2005, 04:05 PM
Minaki's Avatar
Defies a Status

Posts: 1,626
Location: Guildford, UK
Trades: 0
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
Minaki is offline
Reply With Quote
View Public Profile Visit Minaki's homepage!
 
Old 03-23-2005, 12:31 PM
simptech's Avatar
Skilled Talker

Posts: 81
Location: Cape Coral, Florida, United States
Trades: 0
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!
simptech is offline
Reply With Quote
View Public Profile
 
Old 03-25-2005, 09:34 AM
jtmoney77's Avatar
Skilled Talker

Posts: 95
Location: Tampa, Florida
Trades: 0
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
jtmoney77 is offline
Reply With Quote
View Public Profile Visit jtmoney77's homepage!
 
Old 03-25-2005, 09:54 AM
simptech's Avatar
Skilled Talker

Posts: 81
Location: Cape Coral, Florida, United States
Trades: 0
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!
simptech is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to How do I create password-protected page

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.99401 seconds with 12 queries