Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Aug 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question webpage protection

    Can I restrict viewing to 1 page of a website and allow selected people access via a QR?

  • #2
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,592
    Thanks
    0
    Thanked 645 Times in 635 Posts
    Quote Originally Posted by janealewis View Post
    Can I restrict viewing to 1 page of a website and allow selected people access via a QR?
    Not with JavaScript.
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.

  • #3
    Senior Coder rnd me's Avatar
    Join Date
    Jun 2007
    Location
    Urbana
    Posts
    4,277
    Thanks
    10
    Thanked 581 Times in 562 Posts
    Quote Originally Posted by janealewis View Post
    Can I restrict viewing to 1 page of a website and allow selected people access via a QR?
    within a single browser, sure, but i can always open the site in firefox and chrome to get 2 copies.
    my site (updated 13/9/26)
    BROWSER STATS [% share] (2014/5/28) IE7:0.1, IE8:5.3, IE11:8.4, IE9:3.2, IE10:3.2, FF:18.2, CH:46, SF:7.9, NON-MOUSE:32%

  • #4
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    25,028
    Thanks
    75
    Thanked 4,325 Times in 4,291 Posts
    Quote Originally Posted by rnd me View Post
    within a single browser, sure, but i can always open the site in firefox and chrome to get 2 copies.
    ??? I don't think that's at all what she meant.

    I think she meant she wants all users to be able to see a front "public" page but then only want those users who have her secret QR code able to access other pages. (And I think Felgall read it that same way.)

    Since the number of browsers in use wouldn't have anything to do with whether or not the QR code is valid (or even usable, for anybody without a mobile device?)...
    An optimist sees the glass as half full.
    A pessimist sees the glass as half empty.
    A realist drinks it no matter how much there is.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •