Jump to content
xisto Community
ikkeugh

Allot Of Passwords

Recommended Posts

hello , would it be difficult to let someone download a file if he enteres password (in total there are 5 random codes (numbers and letters))or on specific password ( for exemple : ldplozdfkopzd213213 (just my hand laying on the keyboard))when there always are 5 passwords and they regenerate themselves.and i could get one by entering another password .and if i called them , they should be good until someone enters it to download .I tought PHP , but it isn't that safe ...(so enything is possible)thanks

Share this post


Link to post
Share on other sites

hello , would it be difficult to let someone download a file if he enteres password (in total there are 5 random codes (numbers and letters))
or on specific password ( for exemple : ldplozdfkopzd213213 (just my hand laying on the keyboard))
when there always are 5 passwords and they regenerate themselves.
and i could get one by entering another password .
and if i called them , they should be good until someone enters it to download .

I tought PHP , but it isn't that safe ...(so enything is possible)

thanks

Can you elaborate a bit more? Maybe use steps 1,2,3 to explain do you actually want. And also how you want the password to be prompted? HTML?

Share this post


Link to post
Share on other sites

I think I see what he's getting at. Maybe he's writing an antileech download script to prevent offsite linking? In that case, this is pretty easy to do...just keep the files outside of the web root, have a script just fopen the file on the server and return it to the browser with the proper content-type set.

Share this post


Link to post
Share on other sites

one page (several files) with black background and white color font . As in the image , all should be in the center of the page.

Posted Image

5 (or with generated code : 6 ) lines (color : white , background : black) everything is seen , (not orange things)

 

first line : Requested file : 12345678912345_7.exe (always stays the same)

second line : Download code : (and box to fill in)

third line : Generate key : (centered)

forth line : Admins code : (and box to fill in )

fith line: Download file ! / generate code ! (2 buttons )

(sixth line : Generated key ( and box with 17 symbols ) directly underneath the 2 buttons )

 

 

When the admin clicks generate code : there should be a code (17 symbols)generated into a file and saved .

That code stays active untill somebody uses it .So if the admin clicks on the button if the code isn't used yet , this should also be saved into the file . Also untill somebody uses this .

 

And I don't want that somebody could download the file simply by putting the good name into the browser. <_<

thats why I tought Java

 

thanks

Edited by ikkeugh (see edit history)

Share this post


Link to post
Share on other sites

You could just use the first 17 letters of md5 of the file name?What is the link between the file and the random code?edit: Oh, the file is the same, then loads of random 17-long strings in a file, which any can be matched by the second box?

Edited by toby (see edit history)

Share this post


Link to post
Share on other sites

edit: Oh, the file is the same, then loads of random 17-long strings in a file, which any can be matched by the second box?

Yes , when the admin generates a download code , this one is saved somewhere (in one file)
this one is useable untill someone uses it . but there can be several download codes .
when someone enters a correct download key , the file can be downloaded

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.