Programming Forums
User Name Password Register
 

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

Reply
 
Thread Tools Display Modes
Old Sep 7th, 2005, 4:16 AM   #1
TonyPro
Newbie
 
Join Date: Sep 2005
Posts: 4
Rep Power: 0 TonyPro is on a distinguished road
Need Help with a web functional design

Hi,

I am not a technical person. I am creating a website which i need some techincal help. I want to have a website where it is password secure.

Let's say. you need a password to log in to www.tttabcz.com. If this guy will to send the same link to his friend and his friend will not be able to go in. The password changes every hour. Even his friend want to log in using his fren new password, he can only log in within that hour. The former guy who has the password, will have to get new password if he want to log in again.

all the sub link and main link of www.tttabcz.com will be out of bound.

I would like to know is it possible to create such operation or system or watever you might call it. If so, where can i find resources that i can use it or at least learn it and apply it myself. Or is there anywhere i can find a programmer who can help me with this.

Thanks for any advices in advance.

Tonypro

Ps: i want to know such questions, section will be more suitable to be posted. thks.
TonyPro is offline   Reply With Quote
Old Sep 7th, 2005, 6:34 AM   #2
Arevos
Programming Guru
 
Arevos's Avatar
 
Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5 Arevos is on a distinguished road
What's the purpose of this? There may be a better way to achieve what you want to do.

For instance, if you want a page that can only be viewed for an hour after, say, someone pays an amount of money, you could create a unique URL that expires after 60 minutes. The person pays, gets a link that looks something like "http://www.tttabcz.com/paidforcontent/9e107d9d372bb6826bd81d3542a419d6", which can be viewed for an hour. After that time, the visitor gets a 404 error when they try to visit that page.

This approach may be more convinient than having a password which expires every hour. Would an expiring random URL solve your problem as well as an expiring random password?
Arevos is offline   Reply With Quote
Old Sep 7th, 2005, 8:25 AM   #3
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,467
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
I kinda agree with Arevos on this...

But if you still wanted to go the password route, have a PHP script to login with authenticating to a MySQL database table of login info or a flat file (since this isn't wide spread). Have a function in the script or create another program on the side to change the password value in the table/file. Seed the randomizer with the current time so it will not generate duplicates because it is not truely random.
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote
Old Sep 7th, 2005, 9:20 AM   #4
TonyPro
Newbie
 
Join Date: Sep 2005
Posts: 4
Rep Power: 0 TonyPro is on a distinguished road
The secret site is on a long term basis. And i expect many " Paid" visitors to log in. it would be great to have a password generator to generate password automatically, rather than me doing it maunally, maybe not really every hour, can be every 5 hours.

On the page ( www.tttabcz.com) they will see a account number and email log in. after they submit it, the new password with a link will be sent to thier email.

I am not a techincal person or a programmer, but a marketing person. I do not know much about programming. Is there a way that i can find someone to help me. or are there any site or place that i can get this standard script and i just pass it on to some one else to do it for me.
TonyPro is offline   Reply With Quote
Old Sep 7th, 2005, 9:41 AM   #5
Arevos
Programming Guru
 
Arevos's Avatar
 
Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5 Arevos is on a distinguished road
I must confess to being a little confused. Do you want a site that automatically changes users passwords every 5 hours? So, for instance, if I were a member of this site for a week, would I have 31 password changing emails sent to me?
Arevos is offline   Reply With Quote
Old Sep 7th, 2005, 10:21 AM   #6
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,467
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
hotscripts.com normally has some good scripts.

I kinda agree with Arevos, 31 password changing emails would suck if they were sitting in my Inbox.
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote
Old Sep 7th, 2005, 3:14 PM   #7
iignotus
Professional Programmer
 
iignotus's Avatar
 
Join Date: Apr 2005
Location: Nowhere Special
Posts: 466
Rep Power: 4 iignotus is on a distinguished road
Send a message via AIM to iignotus
It seems like your idea could be implemented with cookies and php as soon as it is thought out a lot better. Post your original idea in better English if possible, as clearly as you can. Also, I can do the coding if you'd like to propose any kind of compensation.
__________________
% rc4 hexkey < input > output
#define S ,t=s[i],s[i]=s[j],s[j]=t /* rc4 hexkey <file */
unsigned char k[256],s[256],i,j,t;main(c,v,e)char**v;{++v;while(++i)s[ 
i]=i;for(c=0;*(*v)++;k[c++]=e)sscanf((*v)++-1,"%2x",&e);while(j+=s[i]
+k[i%c]S,++i);for(j=0;c=~getchar();putchar(~c^s[t+=s[i]]))j+=s[++i]S;}
iignotus is offline   Reply With Quote
Old Sep 8th, 2005, 7:53 AM   #8
TonyPro
Newbie
 
Join Date: Sep 2005
Posts: 4
Rep Power: 0 TonyPro is on a distinguished road
YOu mean you don't understand my English? Not 31 new password sent to ur email. You will received email password when you want to log in. Is my english really that bad?
TonyPro is offline   Reply With Quote
Old Sep 8th, 2005, 10:27 AM   #9
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Quote:
If this guy will to send the same link to his friend and his friend will not be able to go in.
Well...that isn't even a complete sentence. It isn't to be insulting, or anything, it's just that clarity of requirements is absolutely critical when developing a software application. As you can see by the "31 emails" question, it isn't really all that clear what you want or need to do.
__________________
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 Sep 8th, 2005, 11:48 AM   #10
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
Quote:
Originally Posted by TonyPro
You will received email password when you want to log in.
A new password every single time? Why?
__________________
Me :: You :: Them
Ooble 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:40 AM.

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