最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

plugins - How can I upload and password protect Javadocs in Wordpress?

programmeradmin1浏览0评论

I'm trying to host our software's Javadocs online behind a paywall. We tried to render the docs in Wordpress, which failed (obviously). My theory is that we could upload a folder directly to our root in WordPress (which works fine when we don't have a login, i.e., on our main site), but I don't know if that would be possible using our login plugin. Ultimately, I need a solution that would allow me to bulk upload (without altering in any way) 300+ HTML Javadocs behind a paywall. Is this possible in WordPress or do I need to create a custom solution?

Our site currently uses WPForo (for our forum) and Restrict Content Pro to manage access.

I'm trying to host our software's Javadocs online behind a paywall. We tried to render the docs in Wordpress, which failed (obviously). My theory is that we could upload a folder directly to our root in WordPress (which works fine when we don't have a login, i.e., on our main site), but I don't know if that would be possible using our login plugin. Ultimately, I need a solution that would allow me to bulk upload (without altering in any way) 300+ HTML Javadocs behind a paywall. Is this possible in WordPress or do I need to create a custom solution?

Our site currently uses WPForo (for our forum) and Restrict Content Pro to manage access.

Share Improve this question asked Jun 17, 2019 at 16:02 ThelmaThelma 1
Add a comment  | 

1 Answer 1

Reset to default 0

You can set up your server to protect a directory of your choice and allow access only to the user running apache/nginx/etc. You would have to write something to verify the user's credentials and then deliver the file or redirect to the proper url.

It's not difficult, but I don't know of a solution that would support this.

发布评论

评论列表(0)

  1. 暂无评论