|
![]() |
| | LinkBack (1) | Thread Tools | Search this Thread | Rate Thread | Display Modes |
(#1)
|
| New Member Posts: 14 Join Date: May 2006 | There has been a lot of talk on the forums about how to have links in auto respond ticket emails to automatically login AND show the ticket. This can't be accomplished via direct URLs. There's even a ticket bugged for it: http://bugs.kayako.net/?do=details&id=345 But I will show you how to do it today! Overview: modify login form (in navbar template) to populate email address and password based on parameters in the get URL (using the undocumented $_TPL template variable). Then, have some javascript that automatically submits the form if username and password are not blank. Finally, modify email templates to add email / password to URL for ticket. How to do it:
IMPORTANT: Remember to clear all files in your cache directory after you modify your template files or you won't see the changes. |
| | |
(#2)
|
(#3)
|
| Member Posts: 393 Join Date: Sep 2003 Location: My wife calls it the doghouse... SupportSuite Owned License |
14-05-2006, 06:00 AM
Quote:
As far as security goes, how secure an autoresponder is really is not a big concern to me. I figure, the client created the ticket from his or her original email. If it is my system sending the ticket to that user, then it's ok for them to click on the link to come back directly to their ticket. If the user account and ticket were created by a spam ticket or a bogus user, I really don't care if the spam sender receives a direct link to the ticket in the message or not since I'm just going to delete the ticket anyway. If someone has hacked a client's email account and is intercepting the client's messages which originate from my system, I really don't care again. They could see the email from my SupportSuite, then go to my support login page and use the feature to email themselves the forgotten password anyway, since they are already intercepting the email from the client's email server. Agreed that the client will definitely care that his or her emails are being intercepted. But not having the link embeded in the email does not make my system any more secure... It just makes it a couple more steps the offender has to perform if they really want to see me telling my client how to fix their problem. My two and a half cents worth... ![]() Web Site: http://www.netFusionKC.com Web Store: https://www.netfusionkc.com/store/ Anything I say or do is my own opinion and may make absolutely no sense to anyone but me... | |
| | |
(#4)
|
(#5)
|
(#6)
|
(#7)
|
(#8)
|
(#9)
|
| Member Posts: 393 Join Date: Sep 2003 Location: My wife calls it the doghouse... SupportSuite Owned License |
22-05-2006, 04:59 AM
Quote:
The only way I can think of for you to never have to send your client an email with their login name and password would be for you to manually pre-register all of your clients and provide them with the information offline. Then disable the autoresponders and go in and take out the code that allows them to send themselves their login info when they forget it. Web Site: http://www.netFusionKC.com Web Store: https://www.netfusionkc.com/store/ Anything I say or do is my own opinion and may make absolutely no sense to anyone but me... | |
| | |
(#10)
|
(#12)
|
(#13)
|
| New Member Posts: 14 Join Date: May 2006 |
17-06-2006, 02:46 PM
Some email clients do not automatically make URLs clickable. Just wrap in an <a> tag instead. In my actual implementation I changed my language string arsubfooter to be "You can check the status of this ticket online by " (without the quotes) and then changed the above code to: Code: <BR>
<{$language[arsubfooter]}><a href="<{$swiftpath}>index.php?group=<{$ticket[tgroup]}>&_m=tickets&_a=viewticket&ticketid=<{$ticket[ticketid]}>&u_email=<{urlencode value=$ticket[email]}>&u_passwd=<{urlencode value=$user[userpasswordtxt] }>&u_login=1">
[clicking here]</a> (<{$swiftpath}>)<BR> |
| | |
(#14)
|
| New Member Posts: 14 Join Date: May 2006 |
17-06-2006, 02:55 PM
Quote:
Instead, I chose to do the following: * Allow unregistered users to create tickets * Unregistered users who create tickets are automatically registered * Unregistered users can create a new ticket via email, and when they do it automatically registers them Thus, their username/password is completely different than the one they care about. Because the information they would submit to our helpdesk via the ticketing system is not extremely sensitive sending their helpdesk username/password via email for every new ticket was acceptable. Using the method described in this thread allowed the separate username/password to be as transparent as possible. Some users may not even realize they have a separate login (or even a helpdesk login at all) because they can always click to login. I think that using LoginShare to tie into any system with sensitive usernames/passwords is a bad idea, because AFAIK LoginShare caches the username/password they enter in the MySQL database, and the password is in plain text! So if some hacker (or insider turned bad) got read-only access to the SupportSuite DB they would see all of the sensitive passwords that LoginShare cached. (This allows SupportSuite to send user their actual password if they forget it. Personally I think there should be an option to store the password in MD5/SHA1/SHA256 + salt in DB and if the user forgets their password to randomly generate a new one -- this is much more secure. Hence my decision to not use LoginShare.) | |
| | |
(#15)
|
| Member Posts: 147 Join Date: Feb 2006 Location: Lakeland, Florida - USA | not in plain text -
17-06-2006, 05:25 PM
we searched the tables as a security measure when using ldap configuration to authenticate and the passwords are encrypted in some form of base coding. I could tell when someone had a similar password because the encryption would be the same, but thats rare you find it. Second, i like that kayako shortens the length of the password if you do the "remember me" option so people cannot just guess the password based on length. (reduced by 12 letter password to about 4). The main reason i want authentication is because our staff (its internal only) doesn't have time to remember one more pasword. So we are moving most of our programs and anything that we can configure or get custom coded, to just use their windows authentication and set up permissions in AD if we have any security concerns. It would be nice though if it took the encrypted value in the sql server and passed it through and translated it on the backend, since we could use the html wrap for links it wouldn't matter if it was 5 lines long. |
| | |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
| |
LinkBacks (?)
LinkBack to this Thread: http://forums.kayako.com/f52/create-links-ticket-emails-auto-login-go-ticket-7615/ | ||||
| Posted By | For | Type | Date | |
| Kayako v3 login share - Ubersmith Forums | This thread | Refback | 22-12-2007 06:33 AM | |
Kayako provides online help desk software and support solutions; enabling companies to improve their support and reduce costs.
Our three main products include: SupportSuite, eSupport and LiveResponse