Difference between revisions of "HowTo:Restrict Access to known Devices (Satellites)"
Line 1: | Line 1: | ||
− | # | + | In order to allow only dedicated mobile devices to connect to the {{UBIK}} system a device has to be registered as [[Satellite]]. |
+ | # Create a new instance of [[SATELLITE]]<br/>[[File:UI_HowTo_RestrictAccessKnownMobileDevices_01.png|220 px|border|alt=Register as Satellite]] | ||
+ | # Enter the device ID of your mobile in the ''NAME'' field of the new object. If you do not know your device ID use the ''[[Information]]'' dialog of the {{UBIK}} application to retrieve the device ID of your mobile device<br/>[[File:UI_HowTo_RestrictAccessKnownMobileDevices_02.png|220 px|border|alt=Enter device ID]] | ||
+ | # Set the [[Satellite_Status|status]] of the satellite to '''Active'''<br/>[[File:UI_HowTo_RestrictAccessKnownMobileDevices_03.png|220 px|border|alt=Activate device]] | ||
+ | |||
+ | It might be also necessary to modify the [[UBIK Web Service Configuration|configuration]] of the {{UBIK}} web service | ||
+ | # Locate the [[UBIK Web Service Configuration|web.config]] file on the used web server | ||
+ | # Find the entries '''UBIK.Service.TokenRestrictive''' and '''UBIK.Service.DeviceRestrictive''' and make sure that these values are set to '''1''' | ||
+ | <source lang="xml"> | ||
+ | <appSettings> | ||
+ | ... | ||
+ | <add key="UBIK.Service.DeviceRestrictive" value="0" /> | ||
+ | <add key="UBIK.Service.TokenRestrictive" value="1" /> | ||
+ | ... | ||
+ | </appSettings> | ||
+ | </source> | ||
+ | |||
+ | [[Category:How-To]] |
Revision as of 10:13, 29 January 2015
In order to allow only dedicated mobile devices to connect to the UBIK® system a device has to be registered as Satellite.
- Create a new instance of SATELLITE
- Enter the device ID of your mobile in the NAME field of the new object. If you do not know your device ID use the Information dialog of the UBIK® application to retrieve the device ID of your mobile device
- Set the status of the satellite to Active
It might be also necessary to modify the configuration of the UBIK® web service
- Locate the web.config file on the used web server
- Find the entries UBIK.Service.TokenRestrictive and UBIK.Service.DeviceRestrictive and make sure that these values are set to 1
<appSettings>
...
<add key="UBIK.Service.DeviceRestrictive" value="0" />
<add key="UBIK.Service.TokenRestrictive" value="1" />
...
</appSettings>
...
<add key="UBIK.Service.DeviceRestrictive" value="0" />
<add key="UBIK.Service.TokenRestrictive" value="1" />
...
</appSettings>