![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Sep 2005
Posts: 4
Rep Power: 0
![]() |
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. |
|
|
|
|
|
#2 |
|
Programming Guru
![]() Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5
![]() |
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? |
|
|
|
|
|
#3 |
|
Programming Guru
![]() ![]() ![]() |
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." |
|
|
|
|
|
#4 |
|
Newbie
Join Date: Sep 2005
Posts: 4
Rep Power: 0
![]() |
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. |
|
|
|
|
|
#5 |
|
Programming Guru
![]() Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5
![]() |
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?
|
|
|
|
|
|
#6 |
|
Programming Guru
![]() ![]() ![]() |
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." |
|
|
|
|
|
#7 |
|
Professional Programmer
|
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;} |
|
|
|
|
|
#8 |
|
Newbie
Join Date: Sep 2005
Posts: 4
Rep Power: 0
![]() |
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?
|
|
|
|
|
|
#9 | |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Quote:
__________________
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 |
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|