|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Password Protected Folders
How can I password protect a folder using PHP?
|
|
#2
|
|||
|
|||
|
If you want to password protect folders then you have two options. The first is to implement your own permission system using PHP in combination with MySQL or something to hold usernames and passwords. By far the better alternative is to use .htaccess files to limit the access people have to the folders.
I don't know of a good tutorial on this off hand but there are loads out there so I'm sure a googly search will turn up the stuff you need. If you've got any further questions though do come back and ask, -KM- |
|
#3
|
|||
|
|||
|
Here are two tutorials that should do the trick:
http://bignosebird.com/passwd.shtml http://www.sitedeveloper.ws/tutorials/htaccess.htm Good Luck
__________________
__________________________________________________ _ Wil Moore III, MCP | Integrations Specialist | Senior Consultant Are You Listed...? | DigitallySmooth Inc. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > PHP Development > Password Protected Folders |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|