4 ms·
> "I did strip out things that connect to other websites though. I'm not sure how I could allow outgoing connections, and still prevent a malicious user from se
by ed 19y ago
> "I did strip out things that connect to other websites though. I'm not sure how I could allow outgoing connections, and still prevent a malicious user from sending spam, or other bad things? But I'll add that down the road perhaps."
That's a shame. I was wondering why openurl didn't work. Why import the module if you don't allow outgoing connections? You will have to address the spam issue eventually but really that's almost a problem of success; focus on it when you need to. Until then, disallowing outgoing connections is overly restrictive and cripples what could potentially be a really cool service.
I also noticed that try...except blocks are blocked as well. Why is that?
- tocomment 19y agoGood points. Maybe I'll put outgoing connections back in then. Until there are 100's of new utilities every day, I could probably keep an eye on things. The security code I found doesn't allow try ..except, I'm not sure why. In any case, what I'm working on right now is a way to remove most or all of the restrictions. I'll let you know when that's up and running.