Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jul 7th, 2006, 4:07 PM   #11
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Location: Waterloo, Ontario
Posts: 1,835
Rep Power: 5 Sane will become famous soon enough
Send a message via MSN to Sane
And to add some salt to what King is saying, just add a security code image. That way people can't script their way in to seeing the page. However, the security code would have to be generated using PHP or something, but there'd be way around that too.
Sane is offline   Reply With Quote
Old Jul 8th, 2006, 8:09 AM   #12
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
I would advise trying .htaccess/.htpasswd files. You've got nowt to lose by doing so.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old Jul 8th, 2006, 10:01 AM   #13
Agent 47
Hobbyist Programmer
 
Agent 47's Avatar
 
Join Date: Nov 2005
Posts: 122
Rep Power: 3 Agent 47 is on a distinguished road
Quote:
Originally Posted by Sane
And to add some salt to what King is saying, just add a security code image. That way people can't script their way in to seeing the page. However, the security code would have to be generated using PHP or something, but there'd be way around that too.
Captchas are over-rated. They are not too hard to get by.
__________________
"I'm going to become rich and famous when I invent a device that allows you to stab people in the face over the internet"
Agent 47 is offline   Reply With Quote
Old Jul 8th, 2006, 10:57 AM   #14
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Location: Waterloo, Ontario
Posts: 1,835
Rep Power: 5 Sane will become famous soon enough
Send a message via MSN to Sane
How so...? Do you mean getting by, by analyzing the image's pixels? Or some other way?
Sane is offline   Reply With Quote
Old Jul 8th, 2006, 1:01 PM   #15
Prm753
Professional Programmer
 
Prm753's Avatar
 
Join Date: Oct 2005
Location: United States
Posts: 447
Rep Power: 3 Prm753 is on a distinguished road
Send a message via AIM to Prm753 Send a message via MSN to Prm753
So I tried .htaccess and .htpasswd files, but I think they've been disabled, just like php and asp and all that good stuff. I'll see what else I can try, but I might have to go back to my old not-so-secure method of naming a folder randomly and and hoping no one finds it.
__________________
The world's first athletic computer geek!
The home of PrProgramsStudios
How not to post a question: <-- Please don't reply
Prm753 is offline   Reply With Quote
Old Jul 8th, 2006, 1:31 PM   #16
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Location: Waterloo, Ontario
Posts: 1,835
Rep Power: 5 Sane will become famous soon enough
Send a message via MSN to Sane
I thought that method is actually very secure, as long as it's a very random folder name, and there are no links to it from anywhere (which may include an index that your hosting provider has access to).

May be wrong though.
Sane is offline   Reply With Quote
Old Jul 8th, 2006, 1:32 PM   #17
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
If your free server has a control panel, you should be able to start from there, read the FAQ, and determine what capabilities you are given. If you have .htaccess or similar, it will (should) tell you how to set it up.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Jul 8th, 2006, 1:57 PM   #18
titaniumdecoy
Expert Programmer
 
titaniumdecoy's Avatar
 
Join Date: Nov 2005
Posts: 843
Rep Power: 3 titaniumdecoy is on a distinguished road
Send a message via AIM to titaniumdecoy
If you go for the randomly-named directory, there are a few things you can do to decrease other people's chances of finding it, including not linking to it from any web pages, and placing it in nested directories and excluding the first from search engine crawlers with a robots.txt file.
titaniumdecoy is offline   Reply With Quote
Old Jul 8th, 2006, 2:21 PM   #19
Prm753
Professional Programmer
 
Prm753's Avatar
 
Join Date: Oct 2005
Location: United States
Posts: 447
Rep Power: 3 Prm753 is on a distinguished road
Send a message via AIM to Prm753 Send a message via MSN to Prm753
That sounds good, I'll try that. Although, when I do use one, I never keep it more than a couple of days, and then I'll either change the name or delete it and make a new one.

@DaWei:The control panel for the server is one of the worst I've ever seen. It gives me unhelpful options (do I want to allow a photobook for my site, and can visitors add links to my site, etc). The FAQ for FTP sites (that's what mine is, as opposed to using a sitebuilder) is crummy, (and I read it until I was blue in the face) and says nothing about securing directories.

Oh well, at least they don't show ads on my site and give me all of 10mb of storage space...
__________________
The world's first athletic computer geek!
The home of PrProgramsStudios
How not to post a question: <-- Please don't reply
Prm753 is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 9:05 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC