DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

Age Verification on DNN

 2 Replies
 0 Subscribed to this topic
 30 Subscribed to this forum
Sort:
Author
Messages
Yma
New Around Here
Posts: 28
New Around Here

    Hi

    I have a DNN 9.13.4 website. I need to add age verification before seeing any page on the website. The website's inner pages should be open only for 18+ years old users. We have two buttons for age verification. 18+ years or below 18 years. I have this on my home page and the user should click on the 18+ years button to see other pages.

    How can I set this? I made this as the flash page. But still, users can visit inner pages for direct page links.

    Please, advise me on how can we do this on the DNN website.

    Thank you!

    Veteran Member
    Posts: 1157
    Veteran Member

      There is no "out of the box" option for that AFAIK.
      The technical solution would be to add an "I'm 18 plus" button and set a Cookie when clicked.
      Then the other pages should redirect to the splash page unless the cookie is set.
      IMO the most practical option is so add this to your Theme.
      You can do this using custom code or from your Theme by using our StyleHelper.
      (look for Filter on Cookie values).
      But you also need a button that sets the cookie.
      Maybe you could re-use the standard cookie consent for this, I didn't try that TBH.

      Veteran Member
      Posts: 1168
      Veteran Member

        This is not a real verification. Always I find a site where I have to enter my year of birth, I enter something like 1839 or 1725 - and then it's done. Or do you presuppose that everyone is doing correctly? And when a 12 years old clicks "I am 18+" you can't sue him because he's a liar.

        You could let him register (confirmed registration mode) and ask him to send a copy of his passport, driving license or anything else and then confirm the registration. And of course - he can copy his Dad's document.

        In terms of youth protection, this would not be accepted in case of dispute (at least not in Europe). So the only way would be any kind of official electronic ID like "ID Austria" or the Italian "Carta di Identità Elettronica (CIE)" etc. And then you need an identity provider that supports all these possibilities.

        But if you want to do it like this, you could do the following: when someone comes to your site, he will be redirected to a dialog with the two buttons. If he clicks 18+, set a cookie, and then let him enter the site (using the cookie, you can avoid that he has to confirm this every time). If he clicks the other button, send him to www.freekidsgames.com :-)

        Happy DNNing!
        Michael

        Michael Tobisch
        DNN★MVP

        dnnWerk Austria
        DNN Connect

        These Forums are dedicated to the discussion of DNN Platform.

        For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

        1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
        2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
        3. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
        4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
        5. No Flaming or Trolling.
        6. No Profanity, Racism, or Prejudice.
        7. Site Moderators have the final word on approving / removing a thread or post or comment.
        8. English language posting only, please.

        Would you like to help us?

        Awesome! Simply post in the forums using the link below and we'll get you started.

        Get Involved