Kayako logo
Modifications & Addon Releases Modification guides and addons are posted here to share with the community. Do not post requests in here!

Notices

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  (#1) Old
craigbrass Offline
Senior Member
 
Posts: 5,762
Join Date: Jun 2005
Location: Cumbria, UK
Limit Windows Application Use to Specific Users - 01-02-2008, 02:53 PM

Open /winnapp/index.php and find :-
Code:
	$staffid = $staffauth->authenticate(urldecode($_REQUEST["username"]), strtolower($_REQUEST["password"]), false, false);
Below, add :-
Code:
	$listofauthorizedusers = array('username1','username2');
	if (!in_array($_REQUEST["username"], $listofauthorizedusers)) {
		die('You are not authorized to use the windows application.');
	}
Just list the usernames in that array.


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
Reply

Tags
application, limit, specific, windows

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Free Limit Windows Application Login to Specific IPs craigbrass Modifications & Addon Releases 9 29-07-2008 10:29 AM
Limit staff from connecting using the Desktop Application Thijs LiveResponse Desktop Application 12 01-02-2008 11:32 PM
Alerts to Specific Users bwong@patton.com How do I? 0 19-04-2007 09:09 PM
Limit number of staff users Cipnet SupportSuite, eSupport and LiveResponse 0 24-10-2006 11:10 PM



Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0


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