¡@

Home 

python Programming Glossary: untrusted

Sandboxing in Linux

http://stackoverflow.com/questions/1019707/sandboxing-in-linux

the code would be compiled on the server . The users are untrusted which obviously has some huge security implications. So I need..

Converting a string representation of a list into an actual list object

http://stackoverflow.com/questions/10775894/converting-a-string-representation-of-a-list-into-an-actual-list-object

evaluating strings containing Python expressions from untrusted sources without the need to parse the values oneself. share..

Using ast and whitelists to make python's eval() safe?

http://stackoverflow.com/questions/12523516/using-ast-and-whitelists-to-make-pythons-eval-safe

have spoken and you should not ever use python's eval on untrusted data ever. I'm not smarter than the rest of the world and shouldn't.. write a little calculator evaluator program that'll take untrusted input using a subset of python's syntax. I know use ply or pyparsing..

Custom JSON encoder in Python 2.7 to insert plain JavaScript code

http://stackoverflow.com/questions/13188719/custom-json-encoder-in-python-2-7-to-insert-plain-javascript-code

careful about this kind of technique if your JSON includes untrusted data you don't want to be in a position where an outsider can..

Python - Zelle book uses eval(), is it wrong?

http://stackoverflow.com/questions/15995787/python-zelle-book-uses-eval-is-it-wrong

using eval in production code where input may come from an untrusted source but the book is not about production code for a web based..

How do I un-escape a backslash-escaped string in python?

http://stackoverflow.com/questions/1885181/how-do-i-un-escape-a-backslash-escaped-string-in-python

Hello world However that involves passing a possibly untrusted string to eval which is a security risk. Is there a function..

How do I parse a string representing a nested list into an actual list? [duplicate]

http://stackoverflow.com/questions/1926741/how-do-i-parse-a-string-representing-a-nested-list-into-an-actual-list

evaluating strings containing Python expressions from untrusted sources without the need to parse the values oneself. share..

Escaping chars in Python and sqlite

http://stackoverflow.com/questions/3220005/escaping-chars-in-python-and-sqlite

quoting at all and if those values are coming from anyone untrusted you'll be 100 safe here from SQL injection attacks too. share..

Why is marshal so much faster than pickle? [closed]

http://stackoverflow.com/questions/329249/why-is-marshal-so-much-faster-than-pickle

constructed data. Never unmarshal data received from an untrusted or unauthenticated source. and Warning Some unsupported types..

Python, safe, sandbox [duplicate]

http://stackoverflow.com/questions/3688708/python-safe-sandbox

improve this question Can't be done. Running arbitrary untrusted scripts and staying safe is a contradiction. You should go as..

sandbox to execute possibly unfriendly python code [duplicate]

http://stackoverflow.com/questions/3910223/sandbox-to-execute-possibly-unfriendly-python-code

of things. Is there a way to coop with such unfriendly untrusted code In particular I'm interested in a solution for python... for any other language please share. python trusted vs untrusted share improve this question You can check pysandbox which..

Security of Python's eval() on untrusted strings?

http://stackoverflow.com/questions/661084/security-of-pythons-eval-on-untrusted-strings

of Python's eval on untrusted strings If I am evaluating a Python string using eval and have..

Is there a “safe” subset of Python for use as an embedded scripting language?

http://stackoverflow.com/questions/861864/is-there-a-safe-subset-of-python-for-use-as-an-embedded-scripting-language

you an idea on what you're up against How can I run an untrusted Python script safely i.e. Sandbox Capabilities for Python by..

Python: How do I write a list to file and then pull it back into memory (dict represented as a string convert to dict) later?

http://stackoverflow.com/questions/890485/python-how-do-i-write-a-list-to-file-and-then-pull-it-back-into-memory-dict-re

constructed data. Never unpickle data received from an untrusted or unauthenticated source. The format is not human readable...

python eval vs ast.literal_eval vs JSON decode

http://stackoverflow.com/questions/9949533/python-eval-vs-ast-literal-eval-vs-json-decode

definitely a reason eval is evil. Your code might read untrusted data one day an this would allow an attacker to run arbitrary..