This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
libraryaddict's profile picture

[1.4] Add a blacklist/whitelist to http

Started by libraryaddict, 13 March 2012 - 12:40 AM
libraryaddict #1
Posted 13 March 2012 - 01:40 AM
When you use http for some reason or another a admin may not want someone to access this site with http.
Or maybe they want http only used for one purpose?

Which is why I propose a http whitelist/blacklist.

A way to give server owners control while still feeling safe from bla bla site.

For instance. They dont want to be part of some ad.fly but do want to allow users to use http.
Or they only want users to use pastebin not any of the other sites

In short.
Control what sites ComputerCraft can go to.
Cloudy #2
Posted 13 March 2012 - 01:48 AM
This is something that server admins could do lua side by creating their own http API that overrides the in built one. I don't think it would be worth the effort to implement as most server owners won't care.
libraryaddict #3
Posted 13 March 2012 - 06:24 AM
In my opinion though server owners who care about the server would worry about abuse.
http in theory could rack up quite a $$ bill
StrangeWill #4
Posted 19 March 2012 - 07:42 PM
I'd probably just firewall the server if I was going to run a whitelist.


A blacklist would be useless.
Naab007 #5
Posted 29 January 2013 - 09:06 AM
Actually most server owners do care about this, i think it should be an option or just to limit it to pastebin or something.

bump for the need of this!
Orwell #6
Posted 29 January 2013 - 09:09 AM
Just make proper use of your (if you're the server owner) firewall if you care about this…
Cranium #7
Posted 29 January 2013 - 09:48 AM
Umm, don't know why this suggestion has been resurrected… As it's not going to be added, I don't see any further useful discussion on this subject. Locked.