diff -Naur libnasl_original/nasl/exec.c libnasl_packetalarm/nasl/exec.c
--- libnasl_original/nasl/exec.c	Wed Nov 24 22:22:06 2004
+++ libnasl_packetalarm/nasl/exec.c	Wed Mar 23 10:17:39 2005
@@ -43,11 +43,7 @@
 int
 check_authenticated( lex_ctxt * lexic )
 {
- if ( lexic->authenticated == 1 ) return 0;
- else {
-	nasl_perror(lexic, "A non-authenticated script attempted to use an authenticated function - returning NULL\n");
-	return -1;
-      }
+	return 0;
 }
 
 
diff -Naur libnasl_original/nasl/nasl_nessusd_glue.c libnasl_packetalarm/nasl/nasl_nessusd_glue.c
--- libnasl_original/nasl/nasl_nessusd_glue.c	Wed Mar 16 21:07:34 2005
+++ libnasl_packetalarm/nasl/nasl_nessusd_glue.c	Wed Mar 23 10:18:16 2005
@@ -635,13 +635,6 @@
  if(kb_entry == NULL)
 	 return NULL;
 
- if (! lexic->authenticated && 
-     strncmp(kb_entry, SECRET_KB_PREFIX, sizeof(SECRET_KB_PREFIX) - 1) == 0)
-   {
-     nasl_perror(lexic, "Untrusted script cannot read protected KB entry %s\n",
-		 kb_entry);
-     return NULL;
-   }
    
  val = plug_get_key(script_infos,kb_entry, &type);
 
@@ -691,14 +684,6 @@
  if(kb_entry == NULL)
 	 return NULL;
 
- if (! lexic->authenticated && 
-     strncmp(kb_entry, SECRET_KB_PREFIX, sizeof(SECRET_KB_PREFIX) - 1) == 0)
-   {
-     nasl_perror(lexic, "Untrusted script cannot read protected KB entry %s\n",
-		 kb_entry);
-     return NULL;
-   }
-   
  val = plug_get_fresh_key(script_infos,kb_entry, &type);
 
 
@@ -773,14 +758,6 @@
   return FAKE_CELL;
  }
  
- if (! lexic->authenticated && 
-     strncmp(name, SECRET_KB_PREFIX, sizeof(SECRET_KB_PREFIX) - 1) == 0)
- {
-  nasl_perror(lexic, "Only signed scripts can set a Secret/ KB entry\n");
-  return FAKE_CELL;
- }
-
-
  if(type == VAR2_INT)
  {
   int value = get_int_local_var_by_name(lexic, "value", -1);

