<div dir="ltr"><div><div>I'm just taking a shot in the dark, not knowing the code base well, but what about this. You keep the actual number, but add things before and after it. For instance:<br></div>1207b6988c77<br></div>where the ID is 988. Your filter is a letter followed by a number, then your ID, then a letter. You can add random numbers before and after this to as much length as you want. The random digit after the first letter will make it far less obvious where the actual ID is, since the ID would change for a new ticket, as would the random digit. You might even be able to avoid reuse by tracking the letters and digit used, giving you 26*26*3 patterns before you'd have to start over. Not true random, but maybe it's enough for your purposes and would be less of a process to implement? Again, this is just a thought from someone who doesn't know the code well at all.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 25, 2016 at 2:43 PM, Jeffrey Pilant <span dir="ltr"><<a href="mailto:jeffrey.pilant@bayer.com" target="_blank">jeffrey.pilant@bayer.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Reza writes:<br>
>The use case for random IDs is quite simple. Ascending / serial number<br>
>of IDs compromises confidentiality. End users would be able to guess<br>
>how busy I could be with the amount of tickets answered. Its something<br>
>I don't want to disclose. Almost ALL ticketing systems I have seen,<br>
>have a random arbitrary numeric or alpha-numeric ID. Any other<br>
>suggestions on how to approach not displaying an obvious number to end<br>
>users?<br>
<br>
I don't think I have ever seen a random number for ticket ID.<br>
I have seen many systems that show reports of number of tickets processed per unit of time and he average answer time.<br>
I guess I have never encountered your need before.<br>
<br>
Seeing a series of ticket IDs may tell them how fast tickets come in, but it will not tell them how fast they are answered.<br>
<br>
What might be easier is to create a custom field that holds a random number (maybe a GUID?). This number could then be placed in the email subject line in place of the ticket ID. Likiewise, the email reader could read the number from the subject and look up the ID. This would touch a lot fewer places in the code, and if the recipient only ever sees the email, they don't know the real number. Meanwhile, users of the web interface see both real number and random number.<br>
<br>
If you allow them to see the web interface, the above will not work.<br>
<br>
A simple possible solution is to add a random amount to the ticket sequence in the code that generates ticket numbers. You will need a much larger max ticket ID since there is so much wasted space, but the random nature will obscure the number of real tickets between two given ticket IDs.<br>
<br>
/jeff<br>
<br>
______________________________<wbr>______________________________<wbr>____________<br>
The information contained in this e-mail is for the exclusive use of the<br>
intended recipient(s) and may be confidential, proprietary, and/or<br>
legally privileged. Inadvertent disclosure of this message does not<br>
constitute a waiver of any privilege. If you receive this message in<br>
error, please do not directly or indirectly use, print, copy, forward,<br>
or disclose any part of this message. Please also delete this e-mail<br>
and all copies and notify the sender. Thank you.<br>
______________________________<wbr>______________________________<wbr>____________<br>
---------<br>
RT 4.4 and RTIR training sessions, and a new workshop day! <a href="https://bestpractical.com/training" rel="noreferrer" target="_blank">https://bestpractical.com/<wbr>training</a><br>
* Boston - October 24-26<br>
* Los Angeles - Q1 2017<br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div>Alex Hall<br></div>Automatic Distributors, IT department<br></div><a href="mailto:ahall@autodist.com" target="_blank">ahall@autodist.com</a><br></div></div>
</div>