#!c:/python33/python.exe
# -*- coding: utf-8 -*-


import cgi
import time

print('Content-type: text/html\n\n')


fs = cgi.FieldStorage()
src = fs['src'].value
t0 = time.perf_counter()
exec(src)
print('CPython: %6.2f ms' % ((time.perf_counter() - t0) * 1000.0))
@@ -43,17 +43,26 @@
 -8 -*-%0A%0A
+import os
 %0A
-
 import c
@@ -115,17 +115,99 @@
 %5Cn%5Cn')%0A%0A
-%0A
+if os.environ%5B'REMOTE_ADDR'%5D!='127.0.0.1':%0A    print('forbidden access')%0Aelse:%0A    
 fs = cgi
@@ -222,16 +222,20 @@
 orage()%0A
+    
 src = fs
@@ -248,16 +248,20 @@
 %5D.value%0A
+    
 t0 = tim
@@ -277,16 +277,20 @@
 unter()%0A
+    
 exec(src
@@ -291,16 +291,20 @@
 ec(src)%0A
+    
 print('C

Add test on REMOTE_ADDR in speed.py