Lock down your IOS devices and transform them into Document Viewer


SureFox for iOS is more than just a lockdown application which allows browsing of only allowed websites. SureFox can also turn your iOS devices into a document viewer with access to only allowed documents.

Install SureFox  and along with allowed websites, allow files like PDF files, images, word documents, video, audio, HTML files etc. The allowed files will then reflect on SureFox Home Screen where the user can choose and launch desired files from the listed files. (as shown in the image below)

Here is how you do it:

  1. Upload files using SureFox Upload Server
  2. Once done uploading the files using SureFox Upload Server, launch SureFox
  3. Launch SureFox password prompt by tapping SureFox Home Screen 5 times within 3 seconds
  4. Enter the password to access SureFox Settings (Default Password - 0000)
  5. On SureFox Settings screen, tap on Allowed Websites
  6. On Allowed Websites screen, tap on Add
  7. On Allowed Details screen, under Protocol select file option
  8. Under URL option, tap on browse button to launch File Picker
  9. Select the file from the File Picker prompt and tap on Done
  10. Tap on Allowed Websites to go back to Settings to complete
  11. Once done, you will see all the allowed files listed on SureFox Home Screen.


For more details about SureFox for iOS or any other queries, send an email to info@suregear.eu
Order your SureFox for IOS licenses here

!

How to upload files using Upload Server in SureFox for IOS?

SureFox has an inbuilt server which can be used for uploading files from your computer to Surefox Documents Directory using web browsers like Chorme. This means no constant syncing of device with iTunes to upload files.

Follow below mentioned steps to upload files using SureFox Upload Server:

  1. Tap SureFox Homescreen 5 times within 3 seconds to launch the password prompt
  2. Enter your password and tap on OK
  3. Once on SureFox Settings screen, tap on Browser Preferences
  4. On Browser Preference Screen, turn on Enable Upload Server option
  5. In Run on Port field, enter the configured port on which upload server will work
  6. Once done, tap on Settings on top left to go back and complete
  7. Copy the Network Address of the upload server (visible below the Enable Upload Server option)
  8. Paste it in the address bar of a browser and hit Enter to access the upload server

     9. You can now use the upload server to browse and upload the files directly to Surefox Documents Directory

 

For more details about SureFox for iOS, click here

To learn how to transform your iPad into a video playing kiosk, click here

For more details, you can email us - info@42gears.eu

How to launch SureFox from other apps on iPads and iPhones?

With SureFox App Scheme, it is possible to launch SureFox from another app, and by providing a URL after the scheme, SureFox will launch and open the URL. The URL will load if it’s in the list of allowed website, else an error page will be shown.

SureFox can be launched by three ways:

1.  By using Safari or an app that can open URL’s

2.  By using UIApplication class’s openURL method at the required location in your app

3.  By passing URL’s with scheme as surefox:// for SureFox and surefoxlite:// for SureFox Lite

 

1. Using Safari to launch SureFox:

In the iOS device’s Safari address bar enter : surefox:// for SureFox or surefoxlite:// for SureFox Lite.

To launch SureFox and open a specific website enter URL as: surefox://www.yourwebsite.com for SureFox and surefoxlite://www.yourwebsite.com for SureFox Lite.

Some more examples:

1.1) If “Allow Sub-Domain” option is switched ON in SureFox settings for "www.yourwebsite.com" then using url like below will also work:

surefox://yourwebsite.com
surefoxlite://yourwebsite.com

_______________or
surefox://mail.yourwebsite.com
surefoxlite://mail.yourwebsite.com

1.2)  If “Allow Sub-Domain” is OFF then sub-domain has to be mentioned:

surefox://www.yourwebsite.com
surefoxlite://www.yourwebsite.com

1.3) If “Allow only this URL” is ON for “http://www.yourwebsite.com/abc” then the URL in Safari has to be:

surefox://http://www.yourwebsite.com/abc
surefoxlite://http://www.yourwebsite.com/abc

1.4) If you wish to give the scheme of the url as well then it can be done as below(following convention above):

surefox://http://www.yourwebsite.com
surefoxlite://http://www.yourwebsite.com

 

2. Using “openURL” method in your app:

To launch SureFox from another app, it is necessary to use UIApplication class’s openURL method at required location as shown below:

 

 Calling this method simply launches SureFox/SureFox Lite

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@“surefox://“]];

or

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"surefoxlite://"]];

 In case of Website http://www.yourwebsite.com added in SureFox Allowed Websites:

Call the method in these formats when “Allow Sub-Domain is ON:

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@“surefox://www.yourwebsite.com”]];

or

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@“surefox://mail.yourwebsite.com“]];

or

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@“surefox://yourwebsite.com”]];

or

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@“surefox://http://yourwebsite.com”]];

or

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@“surefox://http://www.yourwebsite.com”]];

or

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@“surefox://http://mail.yourwebsite.com”]];

 

 Call the method in these formats when “Allow Sub-Domain is OFF:

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@“surefox://www.yourwebsite.com”]];

or

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@“surefox://http://www.yourwebsite.com”]];



3. By Passing the URL in links with prefix as surefox:// or surefoxlite:// :

If it requires that a link be opened in SureFox, the URL must be edited to include prefix as surefox:// or surefoxlite://

Example:
 Link:http://www.yourwebsite.com

To open it in SureFox edit it to:
 Edited link: surefox://http://www.yourwebsite.com

 

For any more details contact us on info@42Gears.eu


 

SureFox iOS Javascrip API

SureFox iOS now comes with built-in set of Javascript APIs. Embed them in your web application to perform variety of actions such as refreshing the page or resetting SureFox Idle Timer.

In order to use these methods, make changes in your web page by making functions as: window.location = “sfcallback:reload

List of methods available:

 Method

 Syntax

 Description

 reload

 sfcallback:reload

 Reloads current page

 home

 sfcallback:home

 Go to Home or Run at startup page

 resetSureFoxIdleTime

 sfcallback:resetSureFoxIdleTimer

 Resets the Idle Timer of SureFox


Examples:

Reload Current WebPage onClick():

 <html>

<head>

<style type="text/css">

 

</<style>

<script type="text/javascript">

function refreshNow()

{

window.location = "sfcallback:reload";

}

</script>

</head>

<body>

<div >

<span style="width:116px;margin-bottom:10px;"

onclick="refreshNow()">Refresh Now</span>

</div>

</body>

</html>

Perform Quick Actions and Troubleshoot with iOS SureFox Log


Information in a log file can be more than just a chronological record of events in a software. The log file can be used to:

  • Identify and analyze problems
  • Pinpoint and fix problems

SureFox for iOS takes the existence of logs further than just a file you refer to when there is a problem in the software. With SureFox’s new Logs feature, you can:

  • View logs in Simpler Form
  • Review and Clear Logs
  • Perform Quick Actions (add/allow/delete websites) using log entries
  • Retain and Share logs

 

Here is how you can view SureFox Logs:

1. Tap on the SureFox Home Page 5 times within 3 seconds to access SureFox Settings

2. On SureFox Settings Screen, tap on View SureFox Logs option

3. Next, on SureFox Log Screen, you will find the log of all activities in SureFox with following three options:

  • Mail - to email the log file in text format
  • Quick View - to sort, filter and view logs
  • Clear - to clear the existing logs
  • Search - to search log entries

4. Once done viewing logs, tap Settings to come back to complete

Here is how you can perform quick actions using SureFox Logs:

Currently you can perform quick actions for three kind of URL Filter logs –

  • Blocked Websites
  • Deleted Websites
  • Allowed Websites

1. Tap on the SureFox Home Page 5 times within 3 seconds to access SureFox Settings

2. On SureFox Settings Screen, tap on View SureFox Logs option

3. Next, on SureFox Log Screen, tap on Quick View button

4. On Quick View prompt, select URL Filter option and tap on Load

5. On SureFox Log Screen, tap on the desired logs to perform following actions.

  • Tapping on Blocked URL log , you get the option to Allow
  • Tapping on Added URL log, you get the option to Delete
  • Tapping on Deleted URL log, you get the option to Allow

6. Once done making changes, tap Settings to complete

 

Read about more features in SureFox for iOS.

Purchase SureFox for iOS click here.

SureFox is also available for Android and Windows

For any more details contact us on info@suregear.eu