secure document : solution wanted
| From: | Charles Hamel | Date: | Wed, 06 Apr 2005 15:23:38 +0000 |
| Subject: | secure document : solution wanted | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-212425@lists.php.net to get a copy of this message | ||
Hi
I am bulding a secure intranet.(php, mysql, apache)
I am using a session and Mysql to handel the user accounts. Everythying
works fine with that.
The client now needs to share word/pdf document with the registered user. I
created a secure directory using .htaccess for this purpose and it works as
well .... the user are promt to enter a username password.
Is there a way to bypass this login box so logged user would be able to
access the file, but the directory would still be protected against
non-logged user who would know the path and the name the file? I can deal
with one .htacces account (username pw) since all the file can be shared
with all the users.
I was expecting this to work ...
http://username:password@www.domain.com/safeDir/Word.doc
but it isn't.
Any idea what I could do?
Thanks