Questions tagged [trusted-vs-untrusted]

19 questions
0
votes
1 answer

Handle trusted and untrusted domains in Freeswitch

I have configured a Freeswitch system with a FusionPBX GUI. One of the requiremenmts i need to fulfill is to tell trusted domains apart from untrusted domains. What I want to do is to make sure the P-Asserted-Identity field on the SIP Header is only…
0
votes
1 answer

Order of args to an HMAC?

If I send the following response more than once to an untrusted party: {c, v, HMAC(c + v)} where c is the same value from response to response. where v varies from response to response. where + is a concatenation. Does having the constant as the…
Dave
  • 637
  • 6
  • 12
0
votes
1 answer

Pure Javascript Sandbox

Is this a possible solution for a pure javascript sandbox ? My willing is to execute an untrusted string of code without giving access to DOM, window, this, and so on but allowing the user to acces Math, JSON and other functionalities. I've tested…
alexroat
  • 1,687
  • 3
  • 23
  • 34
0
votes
1 answer

Pythonic way to compare untrusted simple arguments

I get the basic philosophy of don't ask for permission, just do it and ask for forgiveness. For instance it doesn't need to be a file to have a .read() method, you'll thank yourself later when you find things "just work" when you want to read a…
Neil_UK
  • 1,043
  • 12
  • 25
1
2