RTC Forums
November 25, 2024, 01:35:13 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Login
Register
RTC Forums
>
Subscription
>
Support
>
authentication
Pages: [
1
]
« previous
next »
Print
Author
Topic: authentication (Read 4566 times)
GeorgeK
Newbie
Posts: 7
authentication
«
on:
September 21, 2010, 01:01:52 AM »
Is there any way to authenticate client? I mean i want to make sure that only MY client will connect to server.
I had one idea to write a custom function Authenticate and provide a hash that will be decoded only by a server known key.
Any other idea?
Logged
D.Tkalcec (RTC)
Administrator
Posts: 1881
Re: authentication
«
Reply #1 on:
September 21, 2010, 01:09:39 AM »
You will usually want to have a "login" remote function which your clients will have to call before they can do anything else. In that function, you will check what rights the user should have ton the Server and prepare a Session object on the Server which you will use from all your other remote functions to see what the user is allowed to do.
If you want to limit access to the Server ONLY to specific clients, you can filter them by IP address ("PeerAddr" property), you can use SSL encryption with a private key (for which you need 3rd-party encryption components on the Server, like StreamSec Tools for example) and you can use RTC encryption with a "Secure Key" if you use RTC remote functions on the Client and Server.
Best Regards,
Danijel Tkalcec
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Dashboard
-----------------------------
=> General
=> 3rd-Party
=> Quick Start
-----------------------------
Subscription
-----------------------------
=> Support
Loading...