Protecting remote CFCs from unauthorized access

Ask a Question related to Coldfusion Flash Integration, Design and Development.

  1. #1

    Default Protecting remote CFCs from unauthorized access

    Now that I'm working with Flex I've discovered that I no longer have session
    variables to maintain access to a site. How do I protect my Coldfusion CFC's
    from unauthorized access?

    I'm working on a site that requires user authentication. While the actual
    user authentication in flex is easy, this doesn't protect my Coldfusion CFCs
    from someone that knows how to hook up directly to my site which would bypass
    the interface security.

    I'm also coding an Adobe Air application to go along with the website.

    TIA.


    SEJ-69 Guest

  2. Similar Questions and Discussions

    1. Remote Access
      Ben, I'm also assuming you can connect via VPN to your router. "Ben" <benross7@hotmail.com> wrote in message...
    2. protecting .fla files from unauthorized use
      hi, i do websites for ad agencies as a sub-contractor, servicing clients on their behalf using content they create in house by art...
    3. Accessing remote MS Access DB thru IIS App
      Hi I have a VB 6 IIS Application running as a compiled DLL under IIS 5.0 on Win2K. It uses the ADO 2.5 library to give users OLEDB and ODBC...
    4. How do you protect your Web Service from unauthorized access?
      Also, if you want to market a Web Service but not host it, is there any way to protect your code while sending it to a purchaser to run on their...
    5. How do I protect my PHP-script from unauthorized access?
      Hello everybody. I have a question about how to protect my PHP-script from all unauthorized access. I have a PHP-script on my web server and this...
  3. #2

    Default Re: Protecting remote CFCs from unauthorized access

    That's a good question...

    Anyone has an awnser ?

    Etienne
    Etienne Guest

  4. #3

    Default Re: Protecting remote CFCs from unauthorized access

    Have you investigated the CFC username/password properties?

    Have you investigated session use with flex applications? I understand
    they are still possible, just not as intuitive as with an HTML application.
    Ian Skinner Guest

  5. #4

    Default Re: Protecting remote CFCs from unauthorized access

    One of my task involved publishing a secured web service to be consumed by any
    client/platform. Best and secured way, and you'll agree that this is what
    Amazon and Google use as well, is that you assign every client an
    application-id and security-key.

    And here's how client should make requests:
    1. SoapHeaders or HTTP_Cookie is sent with every request. Information it will
    contain is an encryted text (token) and client id.
    Header or cookie will appear something like this:
    applicationid=3456&token=wJDKD93o34%^&*$2de4390
    2. Encrytion is done by the client using the security-key provided by the
    server. Text which is encrypted must contain datetime. Example normal text
    could be: myMethod\20080612
    3. The security-key itself is never transferred over the network
    4. At the server side, the token header value is decrypted using the key for
    that applicationid (pick it up from the server.)
    5. Server checks If after decryotion of token the datetime is in proper format
    and methodName in same as the method called. And if this is true, client is
    authenticated.


    In simple words, go on encryting any client variable before sending to the
    server. If server can decrypt it and finds expected string, respond or else
    throw security error.

    Why you must also allow access using HTTP_COOKIE is that you dont want to
    write your own WSDL files. ColdFusion can not generate a WSDL which can tell
    consumers what SoapHeaders your service is expecting. Not allowing cookies
    based authentication will eventually lead to a situation where .NET developers
    wont be able to consume your service. Its impossible for most .NET pros to
    write a code to send custom soap headers - there is so much dependency on VS
    Studio web service code stubs.

    Sam
    Adobe Certified Flash and Adv. ColdFusion Developer
    [url]http://www.samunplugged.com[/url]
    mumbai users, join other mumbai cf enthsiasts:
    [url]http://in.groups.yahoo.com/group/cfexpress/[/url]

    samunplugged Guest

Posting Permissions

  • You may not post new threads
  • You may 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