CodeIgniter Forums
protect a folder with a password - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: protect a folder with a password (/showthread.php?tid=40074)



protect a folder with a password - El Forum - 03-29-2011

[eluser]Tud[/eluser]
Hello,

I need to manage a "private area" with codeigniter
Visitors with a (fixed) password can access this area and download files inside a folder
The server is windows with iis and I cannot use .htaccess file
any idea how can I manage this private area?

Thanks
.Stefano


protect a folder with a password - El Forum - 03-30-2011

[eluser]Gerep[/eluser]
Hi Tud,

I don't use Window but I think the solution is to save the files on your database.
I think you can just right click on the directory in Explorer and change the permissions. Your user will get a login screen when trying to access the folder, just give them the user and password.


I hope that helps =]


protect a folder with a password - El Forum - 03-30-2011

[eluser]InsiteFX[/eluser]
He would need to share the folder with a username and password!

InsiteFX


protect a folder with a password - El Forum - 03-30-2011

[eluser]Tud[/eluser]
thanks but I have 2 problems:
- the server is a windows shared server, customer bought this hosting package years ago. For example it has php 4....
- I don't have a db Sad

any other idea?


protect a folder with a password - El Forum - 03-30-2011

[eluser]Gerep[/eluser]
Do as we said, set a username and password on your folder, I think you'll do that on IIS Explorer

When a user try to access it, a window will popup asking for username and password.


protect a folder with a password - El Forum - 03-30-2011

[eluser]CroNiX[/eluser]
http://php.net/manual/en/features.http-auth.php


protect a folder with a password - El Forum - 03-31-2011

[eluser]Tud[/eluser]
The problem is I cannot access/configure IIS because it's on a shared server provider. Sad


protect a folder with a password - El Forum - 04-01-2011

[eluser]Unknown[/eluser]
Try Folder Password Expert, the software program to password protect folders on your hard drive, external and removable drives.

Click here to download

<a href="http://www.printingray.com/folder-printing.html">http://www.folder-password-expert.com/download/folder-password.exe</a>