Hi,
by default, all services are available via each server components.
some ideas:
- using
OnGetDispatchInfo
event.
you can get some info that can be used for checking. For example IROHTTPTransport.Location. See more about this event at this snippet. - protect your service with Roles.
When administrator is logged, you can assign to him special role in Login method (Session.Roles := l_roles;
)
yoursomeMethod
also should be protected with special role like
[RORole('adminrole')]
[ROServiceMethod]
function someMethod(): string;