securing page with/without private
-
Hello,
There are 2 ways (or more?) for default WP functionality to prevent accessing a page.
1) use a hook to check, make sure a user is logged in, via $current_user->ID
2) add a Visibility Private password on a pageOverall, I’m assuming option 1 is solid, no way around that? WordPress is secure and very good at keeping hackers or nonmembers from viewing a page.
Your thoughts?
Is there a 3rd way? Is there a better way to handle blocking access?Obviously, there are many plugins that promote this functionality, but I would rather user default WP functionality, instead of installing some random, old, unsafe plugin.
thanks
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘securing page with/without private’ is closed to new replies.