Access Files Over Secured Network

Topics: User Forum
Dec 5, 2014 at 7:50 AM
I know we can access the network file using \\server\share\filename.xlsx. However, I am trying to access a secured network. I.e. I require a username and password to access \\server\share. Could someone please let me know how is it possible to read filename.xlsx in this case.

Dec 5, 2014 at 10:12 AM
PHPExcel doesn't provide any magic "bypass security" mechanism, it assumes that you have direct access to the file, and anything else is outside the scope of the library.
Dec 5, 2014 at 10:31 AM

Thank you for the reply.

I have the required username and password to access the file.
The file is accessible from windows explorer.

Any solution where we can provide same credentials in PHPExcel and make it to work?

Dec 5, 2014 at 10:46 AM
The file needs to be accessible from your webserver, or from wherever you run your script.... but PHPExcel requires a file to be accessible, it can't make it accessible itself, it is a library for parsing files, not for providing security access to those files.... write a script that allows PHP to connect to that drive, then PHPExcel will be able to access the file