SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Enthusiast
    Join Date
    Mar 2012
    Posts
    49
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to create black & white list for registration

    Have several questions in order to launch my Dreamweaver site - here's one:

    I want to allow only ".edu" visitors to register/login. And be able to prevent any problem visitors from logging in. How to create the white & black lists to do this? Thanks.

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,109
    Mentioned
    448 Post(s)
    Tagged
    8 Thread(s)
    What is a .edu visitor?

    How will your allowed people be logging in? Will you give them log in details, or will they set up their own account?
    Facebook | Google+ | Twitter | Web Design Tips | Free Contact Form

    Forum Usage: Tips on posting code samples, images and more

    Forrest Gump: "IE is like a box of chocolates: you never know what you're gonna get."

  3. #3
    SitePoint Enthusiast
    Join Date
    Mar 2012
    Posts
    49
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Black & White List for Registration

    That's an email address - like .com - and they will login like any site, on the front page. Basically they'll register & receive an automatic email to activiate their account. So this initial registration must have a black & white list in place to automatically allow only ".edu" email addresses (not ".com" or any others) to be allowed to register. Do you know how to do this? Thanks.


    Quote Originally Posted by ralph.m View Post
    What is a .edu visitor?

    How will your allowed people be logging in? Will you give them log in details, or will they set up their own account?

  4. #4
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,109
    Mentioned
    448 Post(s)
    Tagged
    8 Thread(s)
    Quote Originally Posted by hiya View Post
    automatically allow only ".edu" email addresses (not ".com" or any others) to be allowed to register
    O, right. Well, on your sign up form, you can easily set up a script filter so that it checks the email address and looks for a .edu extension. You should be filtering the email address anyway.

    That's one approach, anyhow. This is really now a PHP issue, so may be better in the PHP forum. First, though, how have you set up the registration form. Did you write the form code yourself?
    Facebook | Google+ | Twitter | Web Design Tips | Free Contact Form

    Forum Usage: Tips on posting code samples, images and more

    Forrest Gump: "IE is like a box of chocolates: you never know what you're gonna get."

  5. #5
    SitePoint Enthusiast
    Join Date
    Mar 2012
    Posts
    49
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Script Filter

    I have not set up the registration form yet. Dreamweaver has a template for one, and Facebook has a plugin for one, but I haven't decided which to use (or maybe another option). So I wanted to first figure out the black & white list (script filter) and see if it's compatible with either of those registration options. Any thoughts?


    Quote Originally Posted by ralph.m View Post
    O, right. Well, on your sign up form, you can easily set up a script filter so that it checks the email address and looks for a .edu extension. You should be filtering the email address anyway.

    That's one approach, anyhow. This is really now a PHP issue, so may be better in the PHP forum. First, though, how have you set up the registration form. Did you write the form code yourself?


Tags for this Thread

Bookmarks

Posting Permissions

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