Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming > Web Coding

Reply
 
LinkBack Thread Tools
Old 10-15-09   #1 (permalink)
RAM Fan
 
DjQurt's Avatar
 
intel

Join Date: Jul 2007
Location: Colorado
Posts: 2,351

Rep: 82 DjQurt is acknowledged by some
Unique Rep: 77
Trader Rating: 6
Default Password protecting Downloads

I have some downloads on my site, how would i go about making it so you have to enter in a password to download it? do i need php and sql to do this?
__________________
Quote:
Originally Posted by falven View Post
What if i was gay???

Visit my city!
Increase my industry
Increase my traffic

System: laptop
CPU
Pentium dual core 1.86ghz
Motherboard
dell
Memory
2x1gb's
Graphics Card
x3100
Hard Drive
250gb sata
Power Supply
brick
Case
dell laptop case
CPU cooling
stock
GPU cooling
stock
OS
Windows 7
Monitor
15.4in
DjQurt is offline   Reply With Quote
Old 10-15-09   #2 (permalink)
They see me scratching...
 
Ecchi-BANZAII!!!'s Avatar
 
intel nvidia

Join Date: May 2007
Location: Gensokyo
Posts: 7,684

Rep: 268 Ecchi-BANZAII!!! is a proven memberEcchi-BANZAII!!! is a proven memberEcchi-BANZAII!!! is a proven member
Unique Rep: 204
Trader Rating: 0
Default

RAR passwords FTW
__________________
   __  
 /'´   ヽ     Oh and as for the Man-Erin i was tempted to post that also lol. For some reason i want to call it "Marin"
●lカノノル ピノ●     Marc Rudov FTW                     ತ_ತ
 从 ゚ ヮ゚ノソ         Don't you love when someone
⊂ [] 二[]つ        deletes your post without noticing you.     
  /  V \          You end up searching for that post in vain and anger...
 /____ \           I hate Autotunes
  (/ (/             Smiley of the year:

System: TERA
CPU
Lapped Q6600 2.4GHz B3 1.325VID
Motherboard
EVGA 750i FTW *vdroop pencil mod
Memory
2x2GB+2x1GB Dominator 1066Mhz
Graphics Card
XFX 8800GTX 630M XXX
Hard Drive
Seagate 1TB 7200.12
Sound Card
Creative SB X-Fi Platinum CE - Fatal1ty FPS
Power Supply
Corsair HX1000W
Case
Antec P182
CPU cooling
Lapped TRUE 120 w/ AS5 + Antec BB 38mm
GPU cooling
Accelero Xtreme 8800
OS
Windows 7 RC 7100 x64
Monitor
Samsung Syncmaster 245B 24'
Ecchi-BANZAII!!! is offline Overclocked Account Ecchi-BANZAII!!!'s Gallery   Reply With Quote
Old 10-15-09   #3 (permalink)
RAM Fan
 
DjQurt's Avatar
 
intel

Join Date: Jul 2007
Location: Colorado
Posts: 2,351

Rep: 82 DjQurt is acknowledged by some
Unique Rep: 77
Trader Rating: 6
Default

o sweet i never thought of that thanks!
__________________
Quote:
Originally Posted by falven View Post
What if i was gay???

Visit my city!
Increase my industry
Increase my traffic

System: laptop
CPU
Pentium dual core 1.86ghz
Motherboard
dell
Memory
2x1gb's
Graphics Card
x3100
Hard Drive
250gb sata
Power Supply
brick
Case
dell laptop case
CPU cooling
stock
GPU cooling
stock
OS
Windows 7
Monitor
15.4in
DjQurt is offline   Reply With Quote
Old 10-16-09   #4 (permalink)
PC Gamer
 
kneeki's Avatar
 
amd nvidia

Join Date: May 2007
Posts: 720

Rep: 36 kneeki is acknowledged by some
Unique Rep: 31
Trader Rating: 0
Default

.rar passwords are easily brute forcible by any script kiddie with the interwebs. But to answer your question, yes, you can use <?php ?> and MySQL to setup password protected downloads.
__________________
System: kneeki-desktop
CPU
Q6600 @ 3.4Ghz
Motherboard
eVGA 780i SLI FTW
Memory
Black Dragon 8GB
Graphics Card
GeForce 8800GT
Hard Drive
WD Caviar 80gb
Power Supply
650 Watt Antec NeoPOWER
Case
CMStacker
CPU cooling
D-TEK FuZion
GPU cooling
Swiftech MCW60-R
OS
Windows 7 x64
Monitor
2 x Acer 22"
kneeki is offline kneeki's Gallery   Reply With Quote
Old 10-16-09   #5 (permalink)
WaterCooler
 
intel nvidia

Join Date: Nov 2008
Posts: 734

Rep: 48 MrDeodorant is acknowledged by some
Unique Rep: 39
Trader Rating: 0
Default

Couldn't you set it up as an FTP server?
__________________
Quote:
Originally Posted by RayvinAzn View Post
Give me physics, not PhysX.

System: Unicorn
CPU
i7 C0 @ 4.0 GHz
Motherboard
Asus P6T Deluxe V1
Memory
6 GB Patriot
Graphics Card
8800GTS 640MB @ 660/960
Hard Drive
WD Caviar Black 1 TB
Sound Card
Onboard
Power Supply
750 Watt OCZ
Case
Modded CM 690
CPU cooling
Apogee GT
GPU cooling
Swiftech full-cover block
OS
Windows 7 / XP Pro
Monitor
Samsung 2443
MrDeodorant is offline   Reply With Quote
Old 10-16-09   #6 (permalink)
Fear the penguin
 
mortimersnerd's Avatar
 
intel ati

Join Date: Mar 2008
Location: Michigan, United States
Posts: 7,344

Hardware Reviews: 4
Trader Rating: 49
Default

Just password protect the directory. Take a look at this guide, or set it in cpanel.
Overclock.net - 2009 Chimp Challenge Champions 6 Million+ Folding at Home points
mortimersnerd is offline Overclocked Account   Reply With Quote
Old 10-16-09   #7 (permalink)
4.0ghz
 
Enigma8750's Avatar
 
amd ati

Join Date: Mar 2008
Location: Alabama
Posts: 4,891

Rep: 374 Enigma8750 is a proven memberEnigma8750 is a proven memberEnigma8750 is a proven memberEnigma8750 is a proven member
Unique Rep: 280
Trader Rating: 0
Default

Roboform.com
__________________
There is only One Way Up.
Meus Vires est ex Crux crucis di Sarcalogos

Proud Phenom1st



System: HAL940
CPU
Phenom II 940 BE
Motherboard
ASUS M3A32-MVP DELUXE Wifi
Memory
8 Gb. of G.Skill 5-5-5-15 1066
Graphics Card
Sapphire 4870X2
Hard Drive
Seagate 500GB + 300 GB VelociRaptor 10000 rpm
Sound Card
X-fi Titanium (Refurbished)
Power Supply
HX1000 Watt Corsair modular
Case
Lian Li X500B copy/my custom Mod
CPU cooling
Rosewill RCX-Z5 92mm with High speed fan
GPU cooling
Heat pipe with a quiet fan
OS
XP Pro/Windows 7 Pro dual boot
Monitor
Samsung 920bw
Enigma8750 is offline Overclocked Account Enigma8750's Gallery   Reply With Quote
Old 4 Weeks Ago   #8 (permalink)
Overclocker in Training
 
darius_m5's Avatar
 
intel ati

Join Date: Sep 2008
Location: Toronto, Ontario
Posts: 103

Rep: 19 darius_m5 Unknown
Unique Rep: 16
Trader Rating: 0
Default

An htaccess would be the simplest way, but it's not really easy managing users and their permissions.

A database system with PHP would allow for more control of the whole process:
PHP and MySQL Login

If you don't have access to a database, this seems like a good alternative:
PHP and XML Login
__________________
System: CM HAF 932
CPU
E8400
Motherboard
P5Q-Pro
Memory
OCZ 2x2GB PC2-8500
Graphics Card
Sapphire 4850
Hard Drive
2xWD 320GB Caviar
Power Supply
Enermax Infiniti 720W
Case
CM HAF 932
CPU cooling
OCZ Vendetta 2
GPU cooling
Accerlero S1
OS
Vista 64bit
Monitor
Samsung T200
darius_m5 is offline   Reply With Quote
Old 4 Weeks Ago   #9 (permalink)
Overclocker in Training
 
NITRO1250's Avatar
 
intel nvidia

Join Date: Sep 2008
Location: Western New York
Posts: 1,045
Blog Entries: 1

Rep: 90 NITRO1250 is acknowledged by some
Unique Rep: 74
Trader Rating: 0
Default

Quote:
Originally Posted by darius_m5 View Post
An htaccess would be the simplest way, but it's not really easy managing users and their permissions.

A database system with PHP would allow for more control of the whole process:
PHP and MySQL Login

If you don't have access to a database, this seems like a good alternative:
PHP and XML Login
I was just going to say .htaccess, but alas, I was beaten to it. Yes, you can password block a directory.
__________________
HARDER STYLEZ OF OCN CLUB

Quote:
Originally Posted by Russkiy
Do we have any rich kids here?
Hey fellas, I would like to know if we have any rich kids at OCN who noticed that their daddy had a rack HTPC + home Automation sytems installed? I want to know if anyone has system components made by Via!Music, PANJA, AMX, Arrakis, etc. I accuired several thousand dollars worth of equipment that needs repair and would like to have a little more info on it. TIA...

System: Ultimate Rig
CPU
QX 6700
Motherboard
ASUS Striker Extreme
Memory
GSkill DDR2 800mhz 4GB
Graphics Card
eVGA GeForce 8800 GTX Superclock Edition
Hard Drive
3x 320GB (Raid5), 2x 1TB, 1x 320GB IDE
Sound Card
Sound Max HD
Power Supply
Corsair 750W
Case
CM 810 Stacker
CPU cooling
Stock
GPU cooling
Stock
OS
Windows Vista Ultimate 64-bit
Monitor
SAMSUNG 32" 1080p 120Hz LCD HDTV LN32B650
NITRO1250 is online now   Reply With Quote
Old 4 Weeks Ago   #10 (permalink)
PC Gamer
 
kneeki's Avatar
 
amd nvidia

Join Date: May 2007
Posts: 720

Rep: 36 kneeki is acknowledged by some
Unique Rep: 31
Trader Rating: 0
Default

Using php and a single table and row entry into MySQL would do this for you. Use the links above
__________________
System: kneeki-desktop
CPU
Q6600 @ 3.4Ghz
Motherboard
eVGA 780i SLI FTW
Memory
Black Dragon 8GB
Graphics Card
GeForce 8800GT
Hard Drive
WD Caviar 80gb
Power Supply
650 Watt Antec NeoPOWER
Case
CMStacker
CPU cooling
D-TEK FuZion
GPU cooling
Swiftech MCW60-R
OS
Windows 7 x64
Monitor
2 x Acer 22"
kneeki is offline kneeki's Gallery   Reply With Quote
Reply


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



All times are GMT -5. The time now is 07:45 AM.


Overclock.net is a Carbon Neutral Site Creative Commons License

Terms of Service / Forum Rules | Privacy Policy | DMCA Info | Advertising | Become an Official Vendor
Copyright © 2009 Shogun Interactive Development. Most rights reserved.
Page generated in 0.14144 seconds with 8 queries