Force deny access to view the iframed forum, if javascript disabled ... whynever?

Developing and fixes
User avatar
axew3
w3all User
w3all User
Posts: 2230
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Force deny access to view the iframed forum, if javascript disabled ... whynever?

Post by axew3 »

So, maybe you come over the fact, installing a payment system in WordPress, for users that need to pay before, to see then WP pages content ... may also to view the phpBB iframed into wordpress forum page, that by the way, could be accessed via direct url, DISABLING JAVASCRIPT on browser. The overall_footer.html will not work, then since no redirect happen, the phpBB forum will display.
Beside the fact, that i can setup groups which the user will belong to, only after a specified payment executed, so phpBB will not display nothing until user do not belong to this group, but how by the way i can easily block the access to the real phpBB forum, if user come with javascript disabled on browser? It seem to me possible, just adding this into the phpBB overall_header.html, as soon inside the <head> tag:

Code: Select all

<noscript><meta http-equiv="refresh" content="0; url=/youhavenojspage.html"></noscript>

User avatar
axew3
w3all User
w3all User
Posts: 2230
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: Force deny access to view the iframed forum, if javascript disabled ... whynever?

Post by axew3 »

well, it is intended as not secure where, i can surf the web with a custom browser, which is instructed to not parse elements or execute instructions, that all effectively can affect (and can be changed), only into client side

Post Reply