admin管理员组文章数量:1130349
We need a public section to our site and a private section. For the private section we would like to assign a username and password for each user that is NOT their Wordpress username/password. Is this possible?
We need a public section to our site and a private section. For the private section we would like to assign a username and password for each user that is NOT their Wordpress username/password. Is this possible?
Share Improve this question asked Nov 22, 2018 at 20:04 DeckardDeckard 1 1- 1 Your question is pretty broad. I would recommend you edit to clarify a number of things. Is the "private section" part of WordPress or something else? Are the users WP users (sounds like they are)? Are they coming to the private section from WordPress (if it's not part of WordPress)? These are just some suggestions in terms of clarification - but really, you just need to be a little more descriptive of (1) what you're looking to do and (2) what you may have already looked into. – butlerblog Commented Nov 22, 2018 at 20:34
1 Answer
Reset to default 0Yes, there are several possible ways to do this. The easiest method is probably to use Basic HTTP Authentication using a .htaccess and .htpasswd file. Here's a site that will generate these for you. You can create separate usernames/passwords and then drop these files in the private folder. There are several guides and tutorials for this including here, here, and here.
We need a public section to our site and a private section. For the private section we would like to assign a username and password for each user that is NOT their Wordpress username/password. Is this possible?
We need a public section to our site and a private section. For the private section we would like to assign a username and password for each user that is NOT their Wordpress username/password. Is this possible?
Share Improve this question asked Nov 22, 2018 at 20:04 DeckardDeckard 1 1- 1 Your question is pretty broad. I would recommend you edit to clarify a number of things. Is the "private section" part of WordPress or something else? Are the users WP users (sounds like they are)? Are they coming to the private section from WordPress (if it's not part of WordPress)? These are just some suggestions in terms of clarification - but really, you just need to be a little more descriptive of (1) what you're looking to do and (2) what you may have already looked into. – butlerblog Commented Nov 22, 2018 at 20:34
1 Answer
Reset to default 0Yes, there are several possible ways to do this. The easiest method is probably to use Basic HTTP Authentication using a .htaccess and .htpasswd file. Here's a site that will generate these for you. You can create separate usernames/passwords and then drop these files in the private folder. There are several guides and tutorials for this including here, here, and here.
本文标签: privateAssign a username and password to specific users
版权声明:本文标题:private - Assign a username and password to specific users 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://it.en369.cn/questions/1749158296a2324967.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。


发表评论