ESAPI-C 1.0
The OWASP Enterprise Security API for C
|
00001 00005 #include <stdlib.h> 00006 #include "authorization.h" 00007 00008 int is_authorized_for_action(user *u, const char *action) { 00009 return 1; 00010 } 00011 00012 int is_authorized_for_data(user *u, int data_type) { 00013 return 1; 00014 } 00015 00016 int is_authorized_for_file(user *u, const char *file) { 00017 return 1; 00018 }