Title: password protected file &quot;HTTP Basic: Access Denied&quot;
Last modified: August 21, 2016

---

# password protected file "HTTP Basic: Access Denied"

 *  Resolved [bswarnock](https://wordpress.org/support/users/bswarnock/)
 * (@bswarnock)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/password-protected-file-http-basic/)
 * Is it possible to pull in a csv file accessed through a https weblink that is
   password protected. If I type the link in to any browser and do not put it the
   login and password it returns what the error shows: “HTTP Basic: Access Denied”.
   I think basically I need a step to put in the login and password for the file
   for this plugin to work for my purpose.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Shaun Scovil](https://wordpress.org/support/users/sscovil/)
 * (@sscovil)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/password-protected-file-http-basic/#post-3855228)
 * At the moment, this is not a supported feature. It may become a feature in a 
   future release, but that would require a significant investment of time and may
   not be used by many people.
 * This plugin is an open source project, so if you are a developer (or know anyone
   who is) that is interested in contributing, please send a pull request at: [https://github.com/sscovil/csv-to-sorttable](https://github.com/sscovil/csv-to-sorttable)
 * **Developer Notes**
 * Right now, the plugin uses a core WordPress function called [wp_remote_fopen()](http://codex.wordpress.org/Function_Reference/wp_remote_fopen)
   to import the CSV file data. For security and performance reasons, I would like
   to continue using that function in most cases. However, a different method would
   need to be used for password protected files.
 * One possible solution could be [file_get_contents()](http://php.net/manual/en/function.file-get-contents.php),
   using a technique like the one described here: [http://www.electrictoolbox.com/php-file-get-contents-sending-username-password/](http://www.electrictoolbox.com/php-file-get-contents-sending-username-password/)

Viewing 1 replies (of 1 total)

The topic ‘password protected file "HTTP Basic: Access Denied"’ is closed to new
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/csv-to-sorttable_d4e1eb.svg)
 * [CSV to SortTable](https://wordpress.org/plugins/csv-to-sorttable/)
 * [Support Threads](https://wordpress.org/support/plugin/csv-to-sorttable/)
 * [Active Topics](https://wordpress.org/support/plugin/csv-to-sorttable/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/csv-to-sorttable/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/csv-to-sorttable/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Shaun Scovil](https://wordpress.org/support/users/sscovil/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/password-protected-file-http-basic/#post-3855228)
 * Status: resolved