Welcome Guest, Not a member yet? Register   Sign In
protect a folder with a password
#1

[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
#2

[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 =]
#3

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

InsiteFX
#4

[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?
#5

[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.
#6

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

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

[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>




Theme © iAndrew 2016 - Forum software by © MyBB