Professional Web Applications Themes

IP Restriction - Macromedia Flash Flashcom

Hey guys We are looking to implement client IP restriction for certain applications running from FCS. I have the "programming flash communication server" book and it does have an IP check section but i cant figure out where to put this code... Has anyone done this before? Hope someone can help g...

  1. #1

    Default IP Restriction

    Hey guys

    We are looking to implement client IP restriction for certain applications
    running from FCS.

    I have the "programming flash communication server" book and it does have an
    IP check section but i cant figure out where to put this code...

    Has anyone done this before?

    Hope someone can help

    g

    Graham Carroll Guest

  2. #2

    Default Re: IP Restriction

    Well... here's the quick and dirty way to do it

    application.onConnect = function(newClient, name){
    if (newClient.ip == "127.0.0.1"){
    // do this if it's a match
    } else {
    // do this if it's not a match
    }
    };

    As I said, that's a quick and dirty. It's good if you want to allow only
    certain IP's, but it's difficult to manage if you just want to block certain
    IP's.

    The better way to do things is to employ a ticket based system that can be
    authenticated by FCS. I think there's a little info on that somewhere in the
    PFCS book.

    JayCharles Guest

  3. #3

    Default Re: IP Restriction

    Thanks Jay

    Ill try that today...

    One question though, what if I want to only allow whole ranges of IP's?

    We need to have certain applications only available on campus, and others that
    are available to all.

    Thanks again for the speedy reply.

    g


    Graham Carroll Guest

Similar Threads

  1. IP Restriction Administration
    By wendigo in forum Coldfusion Server Administration
    Replies: 2
    Last Post: September 16th, 03:57 PM
  2. URL Referral Restriction
    By bp32051 in forum Macromedia Flash Flashcom
    Replies: 2
    Last Post: August 6th, 07:35 AM
  3. String Restriction
    By Dino Chiesa [Microsoft] in forum ASP.NET Web Services
    Replies: 1
    Last Post: June 2nd, 12:45 AM
  4. No. of dirs restriction in JFS?
    By Ray Banana in forum AIX
    Replies: 2
    Last Post: August 8th, 01:46 PM
  5. system restriction message where no restriction implemented
    By Zack in forum Windows Setup, Administration & Security
    Replies: 0
    Last Post: July 12th, 10:48 PM

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
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139